mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:17:28 +00:00
UI: Improve App-Groups/Programs icons.
This commit is contained in:
parent
0b23ec55a3
commit
8e65a74fde
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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());
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
BIN
src/ui/icons/window-system.png
Normal file
BIN
src/ui/icons/window-system.png
Normal file
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 |
Loading…
Reference in New Issue
Block a user