mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:17:28 +00:00
UI: Improve Zones icons.
This commit is contained in:
parent
364de6500f
commit
30dc524a9e
@ -55,7 +55,7 @@ QLayout *AddressesColumn::setupZonesRow()
|
||||
auto layout = new QHBoxLayout();
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
m_btSelectZones = new QPushButton(QIcon(":/images/map_magnify.png"), QString());
|
||||
m_btSelectZones = new QPushButton(QIcon(":/icons/map-map-marker.png"), QString());
|
||||
layout->addWidget(m_btSelectZones);
|
||||
|
||||
m_labelZones = ControlUtil::createLabel();
|
||||
|
@ -123,7 +123,8 @@ void ZonesWindow::setupUi()
|
||||
this->setFont(QFont("Tahoma", 9));
|
||||
|
||||
// Icon
|
||||
this->setWindowIcon(GuiUtil::overlayIcon(":/images/sheild-96.png", ":/images/map.png"));
|
||||
this->setWindowIcon(
|
||||
GuiUtil::overlayIcon(":/images/sheild-96.png", ":/icons/map-map-marker.png"));
|
||||
|
||||
// Size
|
||||
this->resize(1024, 768);
|
||||
@ -232,13 +233,13 @@ QLayout *ZonesWindow::setupHeader()
|
||||
// Edit Menu
|
||||
auto editMenu = new QMenu(this);
|
||||
|
||||
m_actAddZone = editMenu->addAction(QIcon(":/images/map_add.png"), QString());
|
||||
m_actAddZone = editMenu->addAction(QIcon(":/icons/sign-add.png"), QString());
|
||||
m_actAddZone->setShortcut(Qt::Key_Plus);
|
||||
|
||||
m_actEditZone = editMenu->addAction(QIcon(":/images/map_edit.png"), QString());
|
||||
m_actEditZone = editMenu->addAction(QIcon(":/icons/pencil.png"), QString());
|
||||
m_actEditZone->setShortcut(Qt::Key_Enter);
|
||||
|
||||
m_actRemoveZone = editMenu->addAction(QIcon(":/images/map_delete.png"), QString());
|
||||
m_actRemoveZone = editMenu->addAction(QIcon(":/icons/sign-delete.png"), QString());
|
||||
m_actRemoveZone->setShortcut(Qt::Key_Delete);
|
||||
|
||||
connect(m_actAddZone, &QAction::triggered, this, [&] { updateZoneEditForm(false); });
|
||||
@ -249,7 +250,7 @@ QLayout *ZonesWindow::setupHeader()
|
||||
}
|
||||
});
|
||||
|
||||
m_btEdit = new QPushButton(QIcon(":/images/map_edit.png"), QString());
|
||||
m_btEdit = new QPushButton(QIcon(":/icons/pencil.png"), QString());
|
||||
m_btEdit->setMenu(editMenu);
|
||||
|
||||
// Save As Text
|
||||
|
@ -7,6 +7,7 @@
|
||||
<file>icons/folder.png</file>
|
||||
<file>icons/funnel.png</file>
|
||||
<file>icons/globe.png</file>
|
||||
<file>icons/map-map-marker.png</file>
|
||||
<file>icons/map-marker.png</file>
|
||||
<file>icons/pencil.png</file>
|
||||
<file>icons/puzzle.png</file>
|
||||
|
@ -14,11 +14,6 @@
|
||||
<file>images/folder_error.png</file>
|
||||
<file>images/folder_explore.png</file>
|
||||
<file>images/folder_user.png</file>
|
||||
<file>images/map.png</file>
|
||||
<file>images/map_add.png</file>
|
||||
<file>images/map_delete.png</file>
|
||||
<file>images/map_edit.png</file>
|
||||
<file>images/map_magnify.png</file>
|
||||
<file>images/server_compressed.png</file>
|
||||
<file>images/server_go.png</file>
|
||||
<file>images/shield.png</file>
|
||||
|
@ -760,8 +760,8 @@ void FortManager::createTrayMenu()
|
||||
addAction(menu, QIcon(":/icons/cog.png"), QString(), this, SLOT(showOptionsWindow()));
|
||||
addHotKey(m_optionsAction, settings()->hotKeyOptions(), hotKeyEnabled);
|
||||
|
||||
m_zonesAction =
|
||||
addAction(menu, QIcon(":/images/map.png"), QString(), this, SLOT(showZonesWindow()));
|
||||
m_zonesAction = addAction(
|
||||
menu, QIcon(":/icons/map-map-marker.png"), QString(), this, SLOT(showZonesWindow()));
|
||||
addHotKey(m_zonesAction, settings()->hotKeyZones(), hotKeyEnabled);
|
||||
|
||||
m_graphWindowAction = addAction(menu, QIcon(":/images/chart_bar.png"), QString(), this,
|
||||
|
BIN
src/ui/icons/map-map-marker.png
Normal file
BIN
src/ui/icons/map-map-marker.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 999 B |
Binary file not shown.
Before Width: | Height: | Size: 804 B |
Binary file not shown.
Before Width: | Height: | Size: 836 B |
Binary file not shown.
Before Width: | Height: | Size: 835 B |
Binary file not shown.
Before Width: | Height: | Size: 876 B |
Binary file not shown.
Before Width: | Height: | Size: 797 B |
Loading…
Reference in New Issue
Block a user