Changeset View
Changeset View
Standalone View
Standalone View
src/settings/general/behaviorsettingspage.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 34 | BehaviorSettingsPage::BehaviorSettingsPage(const QUrl& url, QWidget* parent) : | |||
---|---|---|---|---|---|
45 | m_useTabForSplitViewSwitch(nullptr) | 45 | m_useTabForSplitViewSwitch(nullptr) | ||
46 | { | 46 | { | ||
47 | QFormLayout* topLayout = new QFormLayout(this); | 47 | QFormLayout* topLayout = new QFormLayout(this); | ||
48 | 48 | | |||
49 | 49 | | |||
50 | // View properties | 50 | // View properties | ||
51 | m_globalViewProps = new QRadioButton(i18nc("@option:radio", "Use common properties for all folders")); | 51 | m_globalViewProps = new QRadioButton(i18nc("@option:radio", "Use common properties for all folders")); | ||
52 | m_localViewProps = new QRadioButton(i18nc("@option:radio", "Remember properties for each folder")); | 52 | m_localViewProps = new QRadioButton(i18nc("@option:radio", "Remember properties for each folder")); | ||
53 | m_localViewProps->setToolTip(i18nc("@info", "Dolphin will create an hidden .directory file in each folder you change view properties for.")); | 53 | m_localViewProps->setToolTip(i18nc("@info", "Dolphin will create a hidden .directory file in each folder you change view properties for.")); | ||
54 | 54 | | |||
55 | QButtonGroup* viewGroup = new QButtonGroup(this); | 55 | QButtonGroup* viewGroup = new QButtonGroup(this); | ||
56 | viewGroup->addButton(m_globalViewProps); | 56 | viewGroup->addButton(m_globalViewProps); | ||
57 | viewGroup->addButton(m_localViewProps); | 57 | viewGroup->addButton(m_localViewProps); | ||
58 | topLayout->addRow(i18nc("@title:group", "View: "), m_globalViewProps); | 58 | topLayout->addRow(i18nc("@title:group", "View: "), m_globalViewProps); | ||
59 | topLayout->addRow(QString(), m_localViewProps); | 59 | topLayout->addRow(QString(), m_localViewProps); | ||
60 | 60 | | |||
61 | 61 | | |||
▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines |