// Create icons used for navigating the page
public void createIcons() {
String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
QListWidgetItem formatsButton = new QListWidgetItem(contentsWidget);
formatsButton.setText(tr("Appearance"));
formatsButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
formatsButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
formatsButton.setIcon(new QIcon(iconPath+"appearance.jpg"));
QListWidgetItem fontButton = new QListWidgetItem(contentsWidget);
fontButton.setText(tr("Fonts"));
fontButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
fontButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
fontButton.setIcon(new QIcon(iconPath+"fontConfig.png"));
QListWidgetItem indexButton = new QListWidgetItem(contentsWidget);
indexButton.setText(tr("Indexing"));
indexButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
indexButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
indexButton.setIcon(new QIcon(iconPath+"search_config.jpg"));
QListWidgetItem spellButton = new QListWidgetItem(contentsWidget);
spellButton.setText(tr("Spell Check"));
spellButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
spellButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
spellButton.setIcon(new QIcon(iconPath+"dictionary.png"));
QListWidgetItem configButton = new QListWidgetItem(contentsWidget);
configButton.setText(tr("Connection"));
configButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
configButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
configButton.setIcon(new QIcon(iconPath+"synchronize.png"));
QListWidgetItem debugButton = new QListWidgetItem(contentsWidget);
debugButton.setText(tr("Debugging"));
debugButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
debugButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
debugButton.setIcon(new QIcon(iconPath+"debug.jpg"));
contentsWidget.currentItemChanged.connect(this, "changePage(QListWidgetItem, QListWidgetItem)");
}