mirror of
https://github.com/tnodir/fort
synced 2024-11-15 04:55:48 +00:00
UI: Add "broom.png" icon for clear actions
This commit is contained in:
parent
7b37de8a18
commit
d93a54bb60
@ -383,7 +383,7 @@ void ProgramsWindow::setupFilterCheckBoxes()
|
|||||||
|
|
||||||
void ProgramsWindow::setupFilterClear()
|
void ProgramsWindow::setupFilterClear()
|
||||||
{
|
{
|
||||||
m_btClearFilter = ControlUtil::createFlatToolButton(":/icons/recycle.png", [&] {
|
m_btClearFilter = ControlUtil::createFlatToolButton(":/icons/broom.png", [&] {
|
||||||
appListModel()->clearFilters();
|
appListModel()->clearFilters();
|
||||||
|
|
||||||
m_cbFilterAlerted->setCheckState(Qt::PartiallyChecked);
|
m_cbFilterAlerted->setCheckState(Qt::PartiallyChecked);
|
||||||
|
@ -116,7 +116,7 @@ QLayout *ConnectionsPage::setupHeader()
|
|||||||
m_actRemoveConn = editMenu->addAction(IconCache::icon(":/icons/delete.png"), QString());
|
m_actRemoveConn = editMenu->addAction(IconCache::icon(":/icons/delete.png"), QString());
|
||||||
m_actRemoveConn->setShortcut(Qt::Key_Delete);
|
m_actRemoveConn->setShortcut(Qt::Key_Delete);
|
||||||
|
|
||||||
m_actClearAll = editMenu->addAction(IconCache::icon(":/icons/recycle.png"), QString());
|
m_actClearAll = editMenu->addAction(IconCache::icon(":/icons/broom.png"), QString());
|
||||||
|
|
||||||
connect(m_actCopy, &QAction::triggered, this,
|
connect(m_actCopy, &QAction::triggered, this,
|
||||||
[&] { GuiUtil::setClipboardData(m_connListView->selectedText()); });
|
[&] { GuiUtil::setClipboardData(m_connListView->selectedText()); });
|
||||||
@ -142,7 +142,7 @@ QLayout *ConnectionsPage::setupHeader()
|
|||||||
m_btEdit->setMenu(editMenu);
|
m_btEdit->setMenu(editMenu);
|
||||||
|
|
||||||
// Toolbar buttons
|
// Toolbar buttons
|
||||||
m_btClearAll = ControlUtil::createFlatToolButton(":/icons/recycle.png");
|
m_btClearAll = ControlUtil::createFlatToolButton(":/icons/broom.png");
|
||||||
|
|
||||||
connect(m_btClearAll, &QAbstractButton::clicked, m_actClearAll, &QAction::trigger);
|
connect(m_btClearAll, &QAbstractButton::clicked, m_actClearAll, &QAction::trigger);
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ void TrafficPage::setupClearMenu()
|
|||||||
tr("Are you sure to clear all statistics?"));
|
tr("Are you sure to clear all statistics?"));
|
||||||
});
|
});
|
||||||
|
|
||||||
m_btClear = ControlUtil::createButton(":/icons/recycle.png");
|
m_btClear = ControlUtil::createButton(":/icons/broom.png");
|
||||||
m_btClear->setMenu(menu);
|
m_btClear->setMenu(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
<file>icons/application_double.png</file>
|
<file>icons/application_double.png</file>
|
||||||
<file>icons/arrow_refresh_small.png</file>
|
<file>icons/arrow_refresh_small.png</file>
|
||||||
<file>icons/blue_up.png</file>
|
<file>icons/blue_up.png</file>
|
||||||
|
<file>icons/broom.png</file>
|
||||||
<file>icons/bullet_arrow_down.png</file>
|
<file>icons/bullet_arrow_down.png</file>
|
||||||
<file>icons/bullet_arrow_up.png</file>
|
<file>icons/bullet_arrow_up.png</file>
|
||||||
<file>icons/cancel.png</file>
|
<file>icons/cancel.png</file>
|
||||||
|
BIN
src/ui/icons/broom.png
Normal file
BIN
src/ui/icons/broom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Loading…
Reference in New Issue
Block a user