Commit fe64881f authored by Nate Graham's avatar Nate Graham
Browse files

Make use of new colorful preferences icons in settings windows

CCBUG: 414214
CCBUG: 414215
CCBUG: 414213
parent 3cb75fd7
Pipeline #111558 passed with stage
in 2 minutes and 2 seconds
......@@ -773,13 +773,13 @@ void MainWindow::showSettingsDialog(const bool showProfilePage)
auto *profileSettings = new ProfileSettings(confDialog);
auto *profilePage = new KPageWidgetItem(profileSettings, profilePageName);
profilePage->setIcon(QIcon::fromTheme(QStringLiteral("preferences-system-profiles")));
profilePage->setIcon(QIcon::fromTheme(QStringLiteral("preferences-desktop-theme")));
confDialog->addPage(profilePage, true);
connect(confDialog, &QDialog::accepted, profileSettings, &ProfileSettings::slotAccepted);
const QString tabBarPageName = i18nc("@title Preferences page name", "Tab Bar / Splitters");
auto tabBarPage = new KPageWidgetItem(new TabBarSettings(confDialog), tabBarPageName);
tabBarPage->setIcon(QIcon::fromTheme(QStringLiteral("system-run")));
tabBarPage->setIcon(QIcon::fromTheme(QStringLiteral("preferences-tabs")));
confDialog->addPage(tabBarPage, true);
const QString temporaryFilesPageName = i18nc("@title Preferences page name", "Temporary Files");
......
......@@ -118,7 +118,7 @@ EditProfileDialog::EditProfileDialog(QWidget *parent)
_tabsUi->setupUi(tabsPageWidget);
auto *tabsPageItem = addPage(tabsPageWidget, tabsPageName);
tabsPageItem->setHeader(tabsPageName);
tabsPageItem->setIcon(QIcon::fromTheme(QStringLiteral("tab-duplicate"), defaultIcon));
tabsPageItem->setIcon(QIcon::fromTheme(QStringLiteral("preferences-tabs"), defaultIcon));
_pages[tabsPageItem] = Page(&EditProfileDialog::setupTabsPage);
LabelsAligner tabsAligner(tabsPageWidget);
......@@ -151,7 +151,7 @@ EditProfileDialog::EditProfileDialog(QWidget *parent)
_scrollingUi->setupUi(scrollingPageWidget);
auto *scrollingPageItem = addPage(scrollingPageWidget, scrollingPageName);
scrollingPageItem->setHeader(scrollingPageName);
scrollingPageItem->setIcon(QIcon::fromTheme(QStringLiteral("transform-move-vertical"), defaultIcon));
scrollingPageItem->setIcon(QIcon::fromTheme(QStringLiteral("preferences-scroll"), defaultIcon));
_pages[scrollingPageItem] = Page(&EditProfileDialog::setupScrollingPage);
// adjust "history size" label height to match history size widget's first radio button
......@@ -193,7 +193,7 @@ EditProfileDialog::EditProfileDialog(QWidget *parent)
_advancedUi->setupUi(advancedPageWidget);
auto *advancedPageItem = addPage(advancedPageWidget, advancedPageName);
advancedPageItem->setHeader(advancedPageName);
advancedPageItem->setIcon(QIcon::fromTheme(QStringLiteral("configure"), defaultIcon));
advancedPageItem->setIcon(QIcon::fromTheme(QStringLiteral("preferences-other"), defaultIcon));
_pages[advancedPageItem] = Page(&EditProfileDialog::setupAdvancedPage);
// there are various setupXYZPage() methods to load the items
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment