- QLabel* additionalInfoLabel = new QLabel(i18n("Additional information:"), propsBox);
- m_additionalInfo = new QComboBox(propsBox);
- m_additionalInfo->addItem(i18n("No Information"), KFileItemDelegate::NoInformation);
- m_additionalInfo->addItem(i18n("Type"), KFileItemDelegate::FriendlyMimeType);
- m_additionalInfo->addItem(i18n("Size"), KFileItemDelegate::Size);
- m_additionalInfo->addItem(i18n("Date"), KFileItemDelegate::ModificationTime);
- const int addInfoIndex = m_additionalInfo->findData(m_viewProps->additionalInfo());
- m_additionalInfo->setCurrentIndex(addInfoIndex);
- m_additionalInfo->setEnabled(iconsViewEnabled);
-
- m_showPreview = new QCheckBox(i18n("Show preview"), propsBox);
- m_showPreview->setChecked(m_viewProps->showPreview());
-
- m_showInGroups = new QCheckBox(i18n("Show in Groups"), propsBox);
- m_showInGroups->setChecked(m_viewProps->categorizedSorting());
+ m_showPreview = new QCheckBox(i18nc("@option:check", "Show preview"), propsBox);
+ m_showInGroups = new QCheckBox(i18nc("@option:check", "Show in Groups"), propsBox);
+ m_showHiddenFiles = new QCheckBox(i18nc("@option:check", "Show hidden files"), propsBox);