UI: Update main icon

This commit is contained in:
Nodir Temirkhodjaev 2023-05-08 14:45:48 +03:00
parent 943f30bff5
commit 1d8a91d83a
17 changed files with 15 additions and 15 deletions

View File

@ -62,7 +62,7 @@ void PasswordDialog::setupUi()
this->setFont(WindowManager::defaultFont());
// Icon
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort-96.png", ":/icons/key.png"));
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort.png", ":/icons/key.png"));
}
QLayout *PasswordDialog::setupPasswordLayout()

View File

@ -110,7 +110,7 @@ void OptionsWindow::setupUi()
this->setFont(WindowManager::defaultFont());
// Icon
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort-96.png", ":/icons/cog.png"));
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort.png", ":/icons/cog.png"));
// Size
this->setMinimumSize(800, 500);

View File

@ -142,7 +142,7 @@ void PoliciesWindow::setupUi()
// Icon
this->setWindowIcon(
GuiUtil::overlayIcon(":/icons/fort-96.png", ":/icons/traffic_lights.png"));
GuiUtil::overlayIcon(":/icons/fort.png", ":/icons/traffic_lights.png"));
// Size
this->setMinimumSize(500, 400);

View File

@ -170,7 +170,7 @@ void ProgramsWindow::setupUi()
this->setFont(WindowManager::defaultFont());
// Icon
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort-96.png", ":/icons/application.png"));
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort.png", ":/icons/application.png"));
// Size
this->setMinimumSize(500, 400);

View File

@ -82,7 +82,7 @@ void StatisticsWindow::setupUi()
this->setFont(WindowManager::defaultFont());
// Icon
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort-96.png", ":/icons/chart_bar.png"));
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort.png", ":/icons/chart_bar.png"));
// Size
this->setMinimumSize(500, 400);

View File

@ -140,7 +140,7 @@ void ServicesWindow::setupUi()
this->setFont(WindowManager::defaultFont());
// Icon
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort-96.png", ":/icons/windows-48.png"));
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort.png", ":/icons/windows-48.png"));
// Size
this->setMinimumSize(500, 400);

View File

@ -342,7 +342,7 @@ void TrayIcon::setupTrayMenu()
{
m_menu = ControlUtil::createMenu(windowManager()->mainWindow());
m_homeAction = addAction(m_menu, IconCache::icon(":/icons/fort-96.png"), QString(),
m_homeAction = addAction(m_menu, IconCache::icon(":/icons/fort.png"), QString(),
windowManager(), SLOT(showHomeWindow()));
addHotKey(m_homeAction, iniUser()->hotKeyHome());
@ -542,11 +542,11 @@ void TrayIcon::updateTrayIconShape()
QString mainIconPath;
if (!conf()->filterEnabled() || !driverManager()->isDeviceOpened()) {
mainIconPath = ":/icons/fort-96_gray.png";
mainIconPath = ":/icons/fort_gray.png";
} else if (conf()->stopTraffic() || conf()->stopInetTraffic()) {
mainIconPath = ":/icons/fort-96_red.png";
mainIconPath = ":/icons/fort_red.png";
} else {
mainIconPath = ":/icons/fort-96.png";
mainIconPath = ":/icons/fort.png";
}
const auto icon = m_alerted

View File

@ -167,7 +167,7 @@ void ZonesWindow::setupUi()
this->setFont(WindowManager::defaultFont());
// Icon
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort-96.png", ":/icons/ip_class.png"));
this->setWindowIcon(GuiUtil::overlayIcon(":/icons/fort.png", ":/icons/ip_class.png"));
// Size
this->setMinimumSize(500, 400);

View File

@ -25,9 +25,9 @@
<file>icons/error.png</file>
<file>icons/filter.png</file>
<file>icons/folder.png</file>
<file>icons/fort-96.png</file>
<file>icons/fort-96_gray.png</file>
<file>icons/fort-96_red.png</file>
<file>icons/fort.png</file>
<file>icons/fort_gray.png</file>
<file>icons/fort_red.png</file>
<file>icons/github.png</file>
<file>icons/global_telecom.png</file>
<file>icons/help.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -26,7 +26,7 @@
1 11 "../driver/evt/FORTEVT_MSG00001.bin"
IDI_ICON1 ICON DISCARDABLE FortFirewall.ico
IDI_ICON1 ICON DISCARDABLE "FortFirewall.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION