UI: Improve App-Groups/Programs icons.

This commit is contained in:
Nodir Temirkhodjaev 2021-01-28 19:44:43 +03:00
parent 0b23ec55a3
commit 8e65a74fde
10 changed files with 7 additions and 10 deletions

View File

@ -282,7 +282,6 @@ void ApplicationsPage::setupTabBar()
int ApplicationsPage::addTab(const QString &text)
{
const int tabIndex = m_tabBar->addTab(text);
m_tabBar->setTabIcon(tabIndex, QIcon(":/images/application_double.png"));
return tabIndex;
}

View File

@ -55,7 +55,7 @@ void MainPage::setupUi()
m_tabBar->addTab(m_optionsPage, QIcon(":/icons/cog.png"), QString());
m_tabBar->addTab(m_addressesPage, QIcon(":/icons/map-marker.png"), QString());
m_tabBar->addTab(m_applicationsPage, QIcon(":/images/application_double.png"), QString());
m_tabBar->addTab(m_applicationsPage, QIcon(":/icons/window-system.png"), QString());
m_tabBar->addTab(m_statisticsPage, QIcon(":/images/chart_line.png"), QString());
m_tabBar->addTab(m_schedulePage, QIcon(":/images/clock.png"), QString());

View File

@ -161,7 +161,7 @@ void ProgramsWindow::setupUi()
// Icon
this->setWindowIcon(
GuiUtil::overlayIcon(":/images/sheild-96.png", ":/images/application_cascade.png"));
GuiUtil::overlayIcon(":/images/sheild-96.png", ":/icons/window-system.png"));
// Size
this->resize(1024, 768);

View File

@ -17,6 +17,7 @@
<file>icons/sign-sync.png</file>
<file>icons/sign-warning.png</file>
<file>icons/trashcan-full.png</file>
<file>icons/window-system.png</file>
<file>icons/wrench.png</file>
</qresource>
</RCC>

View File

@ -1,9 +1,6 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>images/application-window-96.png</file>
<file>images/application_cascade.png</file>
<file>images/application_double.png</file>
<file>images/application_error.png</file>
<file>images/chart_bar.png</file>
<file>images/chart_line.png</file>
<file>images/clock.png</file>

View File

@ -752,8 +752,8 @@ void FortManager::createTrayMenu()
QMenu *menu = new QMenu(&m_window);
m_programsAction = addAction(menu, QIcon(":/images/application_cascade.png"), QString(), this,
SLOT(showProgramsWindow()));
m_programsAction = addAction(
menu, QIcon(":/icons/window-system.png"), QString(), this, SLOT(showProgramsWindow()));
addHotKey(m_programsAction, settings()->hotKeyPrograms(), hotKeyEnabled);
m_optionsAction =
@ -788,8 +788,8 @@ void FortManager::createTrayMenu()
m_appGroupActions.clear();
int appGroupIndex = 0;
for (const AppGroup *appGroup : conf()->appGroups()) {
QAction *a = addAction(menu, QIcon(":/images/application_double.png"),
appGroup->menuLabel(), this, SLOT(saveTrayFlags()), true);
QAction *a =
addAction(menu, QIcon(), appGroup->menuLabel(), this, SLOT(saveTrayFlags()), true);
const QString shortcutText =
settings()->hotKeyAppGroupModifiers() + "+F" + QString::number(++appGroupIndex);

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 533 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 B