mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Change Dolphin Preferences Sidebar Icons
This commit is contained in:
parent
23bbec8ad9
commit
51f75371c4
|
@ -74,28 +74,28 @@ DolphinSettingsDialog::DolphinSettingsDialog(const QUrl& url, QWidget* parent) :
|
||||||
NavigationSettingsPage* navigationSettingsPage = new NavigationSettingsPage(this);
|
NavigationSettingsPage* navigationSettingsPage = new NavigationSettingsPage(this);
|
||||||
KPageWidgetItem* navigationSettingsFrame = addPage(navigationSettingsPage,
|
KPageWidgetItem* navigationSettingsFrame = addPage(navigationSettingsPage,
|
||||||
i18nc("@title:group", "Navigation"));
|
i18nc("@title:group", "Navigation"));
|
||||||
navigationSettingsFrame->setIcon(QIcon::fromTheme("input-mouse"));
|
navigationSettingsFrame->setIcon(QIcon::fromTheme("edit-select"));
|
||||||
connect(navigationSettingsPage, &NavigationSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
connect(navigationSettingsPage, &NavigationSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
||||||
|
|
||||||
// Services
|
// Services
|
||||||
ServicesSettingsPage* servicesSettingsPage = new ServicesSettingsPage(this);
|
ServicesSettingsPage* servicesSettingsPage = new ServicesSettingsPage(this);
|
||||||
KPageWidgetItem* servicesSettingsFrame = addPage(servicesSettingsPage,
|
KPageWidgetItem* servicesSettingsFrame = addPage(servicesSettingsPage,
|
||||||
i18nc("@title:group", "Services"));
|
i18nc("@title:group", "Services"));
|
||||||
servicesSettingsFrame->setIcon(QIcon::fromTheme("services"));
|
servicesSettingsFrame->setIcon(QIcon::fromTheme("flag"));
|
||||||
connect(servicesSettingsPage, &ServicesSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
connect(servicesSettingsPage, &ServicesSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
||||||
|
|
||||||
// Trash
|
// Trash
|
||||||
TrashSettingsPage* trashSettingsPage = new TrashSettingsPage(this);
|
TrashSettingsPage* trashSettingsPage = new TrashSettingsPage(this);
|
||||||
KPageWidgetItem* trashSettingsFrame = addPage(trashSettingsPage,
|
KPageWidgetItem* trashSettingsFrame = addPage(trashSettingsPage,
|
||||||
i18nc("@title:group", "Trash"));
|
i18nc("@title:group", "Trash"));
|
||||||
trashSettingsFrame->setIcon(QIcon::fromTheme("user-trash"));
|
trashSettingsFrame->setIcon(QIcon::fromTheme("trash-empty"));
|
||||||
connect(trashSettingsPage, &TrashSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
connect(trashSettingsPage, &TrashSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
||||||
|
|
||||||
// General
|
// General
|
||||||
GeneralSettingsPage* generalSettingsPage = new GeneralSettingsPage(url, this);
|
GeneralSettingsPage* generalSettingsPage = new GeneralSettingsPage(url, this);
|
||||||
KPageWidgetItem* generalSettingsFrame = addPage(generalSettingsPage,
|
KPageWidgetItem* generalSettingsFrame = addPage(generalSettingsPage,
|
||||||
i18nc("@title:group General settings", "General"));
|
i18nc("@title:group General settings", "General"));
|
||||||
generalSettingsFrame->setIcon(QIcon::fromTheme("system-run"));
|
generalSettingsFrame->setIcon(QIcon::fromTheme("view-preview"));
|
||||||
connect(generalSettingsPage, &GeneralSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
connect(generalSettingsPage, &GeneralSettingsPage::changed, this, &DolphinSettingsDialog::enableApply);
|
||||||
|
|
||||||
m_pages.append(startupSettingsPage);
|
m_pages.append(startupSettingsPage);
|
||||||
|
|
Loading…
Reference in a new issue