Mercurial > minori
comparison src/gui/dialog/settings.cc @ 231:69f4768a820c
chore: merge divergent branches
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sat, 13 Jan 2024 09:43:41 -0500 |
parents | f784b5b1914c |
children | 4d461ef7d424 |
comparison
equal
deleted
inserted
replaced
230:2f5a9247e501 | 231:69f4768a820c |
---|---|
86 | 86 |
87 { | 87 { |
88 sidebar = new SideBar(widget); | 88 sidebar = new SideBar(widget); |
89 | 89 |
90 sidebar->setCurrentItem(sidebar->AddItem(tr("Services"), SideBar::CreateIcon(":/icons/24x24/globe.png"))); | 90 sidebar->setCurrentItem(sidebar->AddItem(tr("Services"), SideBar::CreateIcon(":/icons/24x24/globe.png"))); |
91 // sidebar->AddItem(tr("Library"), SideBar::CreateIcon(":/icons/24x24/inbox-film.png")); | 91 sidebar->AddItem(tr("Library"), SideBar::CreateIcon(":/icons/24x24/inbox-film.png")); |
92 sidebar->AddItem(tr("Application"), SideBar::CreateIcon(":/icons/24x24/application-sidebar-list.png")); | 92 sidebar->AddItem(tr("Application"), SideBar::CreateIcon(":/icons/24x24/application-sidebar-list.png")); |
93 sidebar->AddItem(tr("Recognition"), SideBar::CreateIcon(":/icons/24x24/question.png")); | 93 sidebar->AddItem(tr("Recognition"), SideBar::CreateIcon(":/icons/24x24/question.png")); |
94 // sidebar->AddItem(tr("Sharing"), SideBar::CreateIcon(":/icons/24x24/megaphone.png")); | 94 // sidebar->AddItem(tr("Sharing"), SideBar::CreateIcon(":/icons/24x24/megaphone.png")); |
95 sidebar->AddItem(tr("Torrents"), SideBar::CreateIcon(":/icons/24x24/feed.png")); | 95 sidebar->AddItem(tr("Torrents"), SideBar::CreateIcon(":/icons/24x24/feed.png")); |
96 // sidebar->AddItem(tr("Advanced"), SideBar::CreateIcon(":/icons/24x24/gear.png")); | 96 // sidebar->AddItem(tr("Advanced"), SideBar::CreateIcon(":/icons/24x24/gear.png")); |
107 } | 107 } |
108 | 108 |
109 { | 109 { |
110 stacked = new QStackedWidget(widget); | 110 stacked = new QStackedWidget(widget); |
111 stacked->addWidget(new SettingsPageServices(stacked)); | 111 stacked->addWidget(new SettingsPageServices(stacked)); |
112 stacked->addWidget(new SettingsPageLibrary(stacked)); | |
112 stacked->addWidget(new SettingsPageApplication(stacked)); | 113 stacked->addWidget(new SettingsPageApplication(stacked)); |
113 stacked->addWidget(new SettingsPageRecognition(stacked)); | 114 stacked->addWidget(new SettingsPageRecognition(stacked)); |
114 stacked->addWidget(new SettingsPageTorrents(stacked)); | 115 stacked->addWidget(new SettingsPageTorrents(stacked)); |
115 stacked->setCurrentIndex(0); | 116 stacked->setCurrentIndex(0); |
116 | 117 |