- // create 'Apply view properties to:' group
- QGroupBox* buttonBox = new QGroupBox(i18n("Apply view properties to:"), main);
- m_applyToCurrentFolder = new QRadioButton(i18n("Current folder"), buttonBox);
- m_applyToSubFolders = new QRadioButton(i18n("Current folder including all sub folders"), buttonBox);
- m_applyToAllFolders = new QRadioButton(i18n("All folders"), buttonBox);
-
- QVBoxLayout* buttonBoxLayout = new QVBoxLayout();
- buttonBoxLayout->addWidget(m_applyToCurrentFolder);
- buttonBoxLayout->addWidget(m_applyToSubFolders);
- buttonBoxLayout->addWidget(m_applyToAllFolders);
- buttonBox->setLayout(buttonBoxLayout);
-
- m_applyToCurrentFolder->setChecked(true);
-