mirror of
https://github.com/tnodir/fort
synced 2024-11-15 10:15:07 +00:00
UI: Remove icons from OK/Apply/Cancel buttons.
This commit is contained in:
parent
dbd92f17b1
commit
a4c2e9576d
@ -90,9 +90,9 @@ QLayout *MainPage::setupDialogButtons()
|
||||
|
||||
buttonsLayout->addStretch();
|
||||
|
||||
m_btOk = new QPushButton(QIcon(":/images/tick.png"), QString());
|
||||
m_btApply = new QPushButton(QIcon(":/images/accept.png"), QString());
|
||||
m_btCancel = new QPushButton(QIcon(":/images/cancel.png"), QString());
|
||||
m_btOk = new QPushButton();
|
||||
m_btApply = new QPushButton();
|
||||
m_btCancel = new QPushButton();
|
||||
|
||||
connect(m_btOk, &QAbstractButton::clicked, ctrl(), &OptionsController::saveChanges);
|
||||
connect(m_btApply, &QAbstractButton::clicked, ctrl(), &OptionsController::applyChanges);
|
||||
|
@ -238,10 +238,10 @@ void ProgramsWindow::setupAppEditForm()
|
||||
// OK/Cancel
|
||||
auto buttonsLayout = new QHBoxLayout();
|
||||
|
||||
m_btEditOk = new QPushButton(QIcon(":/images/tick.png"), QString());
|
||||
m_btEditOk = new QPushButton();
|
||||
m_btEditOk->setDefault(true);
|
||||
|
||||
m_btEditCancel = new QPushButton(QIcon(":/images/cancel.png"), QString());
|
||||
m_btEditCancel = new QPushButton();
|
||||
|
||||
buttonsLayout->addWidget(m_btEditOk, 1, Qt::AlignRight);
|
||||
buttonsLayout->addWidget(m_btEditCancel);
|
||||
|
@ -173,10 +173,10 @@ void ZonesWindow::setupZoneEditForm()
|
||||
// OK/Cancel
|
||||
auto buttonsLayout = new QHBoxLayout();
|
||||
|
||||
m_btEditOk = new QPushButton(QIcon(":/images/tick.png"), QString());
|
||||
m_btEditOk = new QPushButton();
|
||||
m_btEditOk->setDefault(true);
|
||||
|
||||
m_btEditCancel = new QPushButton(QIcon(":/images/cancel.png"), QString());
|
||||
m_btEditCancel = new QPushButton();
|
||||
|
||||
buttonsLayout->addWidget(m_btEditOk, 1, Qt::AlignRight);
|
||||
buttonsLayout->addWidget(m_btEditCancel);
|
||||
|
@ -1,6 +1,5 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>images/accept.png</file>
|
||||
<file>images/application.png</file>
|
||||
<file>images/application-window-96.png</file>
|
||||
<file>images/application_add.png</file>
|
||||
@ -50,7 +49,6 @@
|
||||
<file>images/shield.png</file>
|
||||
<file>images/sheild-96.png</file>
|
||||
<file>images/stop.png</file>
|
||||
<file>images/tick.png</file>
|
||||
<file>images/windows-48.png</file>
|
||||
<file>images/world.png</file>
|
||||
<file>images/world_link.png</file>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 781 B |
Binary file not shown.
Before Width: | Height: | Size: 537 B |
Loading…
Reference in New Issue
Block a user