UI: Improve Clock icons.

This commit is contained in:
Nodir Temirkhodjaev 2021-01-28 19:48:01 +03:00
parent 8e65a74fde
commit 364de6500f
7 changed files with 3 additions and 4 deletions

View File

@ -57,7 +57,7 @@ void MainPage::setupUi()
m_tabBar->addTab(m_addressesPage, QIcon(":/icons/map-marker.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());
m_tabBar->addTab(m_schedulePage, QIcon(":/icons/clock.png"), QString());
// Dialog butons
auto buttonsLayout = setupDialogButtons();

View File

@ -1,5 +1,6 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>icons/clock.png</file>
<file>icons/cog.png</file>
<file>icons/file-link.png</file>
<file>icons/floppy.png</file>

View File

@ -3,8 +3,6 @@
<file>images/application-window-96.png</file>
<file>images/chart_bar.png</file>
<file>images/chart_line.png</file>
<file>images/clock.png</file>
<file>images/clock_stop.png</file>
<file>images/computer-96.png</file>
<file>images/control_fastforward.png</file>
<file>images/control_play.png</file>

BIN
src/ui/icons/clock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 922 B

View File

@ -171,7 +171,7 @@ QVariant AppListModel::data(const QModelIndex &index, int role) const
return appRow.blocked ? QIcon(":/icons/sign-ban.png")
: QIcon(":/icons/sign-check.png");
case 3:
return appRow.endTime.isNull() ? QVariant() : QIcon(":/images/clock_stop.png");
return appRow.endTime.isNull() ? QVariant() : QIcon(":/icons/clock.png");
}
}