From 2e5acedf2f7b310e0ca7eae8e3b40f96e747a9bc Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Fri, 8 Dec 2023 18:54:53 +0300 Subject: [PATCH] UI: Update icons --- src/ui/form/prog/programswindow.cpp | 2 +- src/ui/form/stat/pages/connectionspage.cpp | 4 ++-- src/ui/form/stat/pages/trafficpage.cpp | 2 +- src/ui/form/svc/serviceswindow.cpp | 4 ++-- src/ui/fort_icons.qrc | 4 +++- src/ui/icons/bin_closed.png | Bin 1208 -> 0 bytes src/ui/icons/cross.png | Bin 0 -> 617 bytes src/ui/icons/recycle.png | Bin 0 -> 1866 bytes src/ui/icons/tick.png | Bin 0 -> 653 bytes 9 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 src/ui/icons/bin_closed.png create mode 100644 src/ui/icons/cross.png create mode 100644 src/ui/icons/recycle.png create mode 100644 src/ui/icons/tick.png diff --git a/src/ui/form/prog/programswindow.cpp b/src/ui/form/prog/programswindow.cpp index 1abcbe48..5c2c407f 100644 --- a/src/ui/form/prog/programswindow.cpp +++ b/src/ui/form/prog/programswindow.cpp @@ -270,7 +270,7 @@ void ProgramsWindow::setupEditMenu() editMenu->addSeparator(); - m_actPurgeApps = editMenu->addAction(IconCache::icon(":/icons/bin_closed.png"), QString()); + m_actPurgeApps = editMenu->addAction(IconCache::icon(":/icons/recycle.png"), QString()); m_actFindApps = editMenu->addAction(IconCache::icon(":/icons/magnifier.png"), QString()); m_actFindApps->setShortcut(QKeySequence::Find); diff --git a/src/ui/form/stat/pages/connectionspage.cpp b/src/ui/form/stat/pages/connectionspage.cpp index 5b11439f..955cae5e 100644 --- a/src/ui/form/stat/pages/connectionspage.cpp +++ b/src/ui/form/stat/pages/connectionspage.cpp @@ -116,7 +116,7 @@ QLayout *ConnectionsPage::setupHeader() m_actRemoveConn = editMenu->addAction(IconCache::icon(":/icons/delete.png"), QString()); m_actRemoveConn->setShortcut(Qt::Key_Delete); - m_actClearAll = editMenu->addAction(IconCache::icon(":/icons/bin_closed.png"), QString()); + m_actClearAll = editMenu->addAction(IconCache::icon(":/icons/recycle.png"), QString()); connect(m_actCopy, &QAction::triggered, this, [&] { GuiUtil::setClipboardData(m_connListView->selectedText()); }); @@ -142,7 +142,7 @@ QLayout *ConnectionsPage::setupHeader() m_btEdit->setMenu(editMenu); // Toolbar buttons - m_btClearAll = ControlUtil::createLinkButton(":/icons/bin_closed.png"); + m_btClearAll = ControlUtil::createLinkButton(":/icons/recycle.png"); connect(m_btClearAll, &QAbstractButton::clicked, m_actClearAll, &QAction::trigger); diff --git a/src/ui/form/stat/pages/trafficpage.cpp b/src/ui/form/stat/pages/trafficpage.cpp index 23b0d7ce..ccf53526 100644 --- a/src/ui/form/stat/pages/trafficpage.cpp +++ b/src/ui/form/stat/pages/trafficpage.cpp @@ -179,7 +179,7 @@ void TrafficPage::setupClearMenu() tr("Are you sure to clear all statistics?")); }); - m_btClear = ControlUtil::createButton(":/icons/bin_closed.png"); + m_btClear = ControlUtil::createButton(":/icons/recycle.png"); m_btClear->setMenu(menu); } diff --git a/src/ui/form/svc/serviceswindow.cpp b/src/ui/form/svc/serviceswindow.cpp index 73d3e7be..8e64e64f 100644 --- a/src/ui/form/svc/serviceswindow.cpp +++ b/src/ui/form/svc/serviceswindow.cpp @@ -154,7 +154,7 @@ QLayout *ServicesWindow::setupHeader() auto editMenu = ControlUtil::createMenu(this); m_actTrack = editMenu->addAction(IconCache::icon(":/icons/widgets.png"), QString()); - m_actRevert = editMenu->addAction(IconCache::icon(":/icons/bin_closed.png"), QString()); + m_actRevert = editMenu->addAction(IconCache::icon(":/icons/delete.png"), QString()); m_actAddProgram = editMenu->addAction(IconCache::icon(":/icons/application.png"), QString()); m_actAddProgram->setShortcut(Qt::Key_Insert); @@ -198,7 +198,7 @@ QLayout *ServicesWindow::setupHeader() // Toolbar buttons m_btTrack = ControlUtil::createLinkButton(":/icons/widgets.png"); - m_btRevert = ControlUtil::createLinkButton(":/icons/bin_closed.png"); + m_btRevert = ControlUtil::createLinkButton(":/icons/delete.png"); m_btRefresh = ControlUtil::createButton(":/icons/arrow_refresh_small.png"); connect(m_btTrack, &QAbstractButton::clicked, m_actTrack, &QAction::trigger); diff --git a/src/ui/fort_icons.qrc b/src/ui/fort_icons.qrc index b65895da..a5303d7c 100644 --- a/src/ui/fort_icons.qrc +++ b/src/ui/fort_icons.qrc @@ -8,7 +8,6 @@ icons/application_double.png icons/arrow_refresh_small.png icons/asterisk_orange.png - icons/bin_closed.png icons/cancel.png icons/chart_bar.png icons/clock.png @@ -20,6 +19,7 @@ icons/control_repeat.png icons/control_rewind.png icons/control_start.png + icons/cross.png icons/delete.png icons/deny.png icons/download_for_windows.png @@ -46,10 +46,12 @@ icons/page_copy.png icons/pencil.png icons/play.png + icons/recycle.png icons/road_sign.png icons/save_as.png icons/scull.png icons/server_components.png + icons/tick.png icons/time.png icons/traffic_lights.png icons/widgets.png diff --git a/src/ui/icons/bin_closed.png b/src/ui/icons/bin_closed.png deleted file mode 100644 index 22440e53e1ea862facd3791cda30cc924a8b4049..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1208 zcmV;p1V{UcP)8DYchKB=l0Lgv+aIR2wa{Iz99TBXs*ibY38J+Uc)J9OIeC zeAZ#T-!u<~LZOpNxhw_yn9f(2%oZSyr*pWT565+3+YT&2a_XM%Ge+W%WsGMU6mGX)JS*E$v}4diRxL_C=xfAk3&pq@x&advUdYdreyYlttG%i*^D zvf6GUh{O1Ab|V{_E$;5_B*py>cqR_-&w`k>LB0NvG4;c9x-`ApnFBT3wx;*tU)1I2eYhB$Nyc(`4er2?zll9bKwCktm7) zNLv9zA_ZS6A0Z1Jh?rXU43V2!0%DZe>HAXRHk4$B)DJeE{=! z3E+;5aPjgrwrE+S}>r@5l2zd?jKk-z=C&U>XV1=_Hv<20sXR{PdY_2l!nB z8fo7^KZRnM8PlgRO=BR;I2N@b3roFwB?ygQcy1Lckod_Un+hnW8P?gQ9yb9Z{ zR;oe>7#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Q$EzVGbHC zK?$se?Xf=&UIsg1MdV?#BOf#Q*e(K&z{1b&iS?1P48>85Rj}GJSP@A?u+j?aIv}$M z!RAYNHid})B_*)l;Scx%tN4FXG1f$p|0l(eLQE(0AK}jU20)m>kpKVy07*qoM6N<$ Eg3Z#9z5oCK literal 0 HcmV?d00001 diff --git a/src/ui/icons/tick.png b/src/ui/icons/tick.png new file mode 100644 index 0000000000000000000000000000000000000000..167922b58e08d50d1486b2d89f6174dde5d367ed GIT binary patch literal 653 zcmV;80&@L{P)c zn!{^9WWG7LQP;V=-yHLgzm^K>It|gjKf>2PmiVeI=AgQN2vPg;=Ran7f_T+dL9Je` zhmicy_lcftH<8^5knAu|w-e&mWFNMmc0x#g@9PAYa2Mj;fpm{~{$BIxtIdZmQh-d2 z$_F67^>w^t39{_oK+Zn%f&<9cnGankd9N}9j9Fr>sv^JkWt=C-Rv}CF2U5iOhs|ef z_%H7b9iV-w$A->l5Ht`ezxZjaCy2zsKza!IQRExBxgbJ5kYi^*j~3JlQIY)gr!k%& z5{Con5#+~_Z;F@ui4TK4%Oa=_A=4W!4ApG3YnQa*@dhu`=1EQyn2f?B;& zLLe_be>{+$KzXfg&5x5S0Q6$Pr|mG$yJ()}&?*E0 z1hDBvS3zC;pB?RTBUTG>jPFsX@=Pdd6h!!LvRz(HH63l>hY(U2zhlv>_>DP;SIz{ zfm%KOBIMN$G0%J|qTGAt$t?hC_4tdGS3ktGgXVb;1$BhHHbTreDk9{y6k_B;bBK`F nUWi^ILS9=TGD3CBYa;JAw2+i71~mTZ00000NkvXXu0mjflVdqF literal 0 HcmV?d00001