UI: Add "broom.png" icon for clear actions

This commit is contained in:
Nodir Temirkhodjaev 2024-10-20 12:27:26 +05:00
parent 7b37de8a18
commit d93a54bb60
5 changed files with 5 additions and 4 deletions

View File

@ -383,7 +383,7 @@ void ProgramsWindow::setupFilterCheckBoxes()
void ProgramsWindow::setupFilterClear()
{
m_btClearFilter = ControlUtil::createFlatToolButton(":/icons/recycle.png", [&] {
m_btClearFilter = ControlUtil::createFlatToolButton(":/icons/broom.png", [&] {
appListModel()->clearFilters();
m_cbFilterAlerted->setCheckState(Qt::PartiallyChecked);

View File

@ -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/recycle.png"), QString());
m_actClearAll = editMenu->addAction(IconCache::icon(":/icons/broom.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::createFlatToolButton(":/icons/recycle.png");
m_btClearAll = ControlUtil::createFlatToolButton(":/icons/broom.png");
connect(m_btClearAll, &QAbstractButton::clicked, m_actClearAll, &QAction::trigger);

View File

@ -171,7 +171,7 @@ void TrafficPage::setupClearMenu()
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);
}

View File

@ -8,6 +8,7 @@
<file>icons/application_double.png</file>
<file>icons/arrow_refresh_small.png</file>
<file>icons/blue_up.png</file>
<file>icons/broom.png</file>
<file>icons/bullet_arrow_down.png</file>
<file>icons/bullet_arrow_up.png</file>
<file>icons/cancel.png</file>

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB