2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2008, Christian Schoenebeck |
Copyright (C) 2008, Christian Schoenebeck |
5 |
|
Copyright (C) 2010, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
137 |
QAbstractButton* pApplyButton = |
QAbstractButton* pApplyButton = |
138 |
m_ui.buttonBox->button(QDialogButtonBox::Apply); |
m_ui.buttonBox->button(QDialogButtonBox::Apply); |
139 |
pApplyButton->setEnabled(false); |
pApplyButton->setEnabled(false); |
140 |
pApplyButton->setIcon(QIcon(":/icons/formEdit.png")); |
pApplyButton->setIcon(QIcon(":/images/formEdit.png")); |
141 |
|
|
142 |
QAbstractButton* pCancelButton = |
QAbstractButton* pCancelButton = |
143 |
m_ui.buttonBox->button(QDialogButtonBox::Cancel); |
m_ui.buttonBox->button(QDialogButtonBox::Cancel); |
144 |
pCancelButton->setIcon(QIcon(":/icons/formRemove.png")); |
pCancelButton->setIcon(QIcon(":/images/formRemove.png")); |
145 |
|
|
146 |
QAbstractButton* pOkButton = |
QAbstractButton* pOkButton = |
147 |
m_ui.buttonBox->button(QDialogButtonBox::Ok); |
m_ui.buttonBox->button(QDialogButtonBox::Ok); |
148 |
pOkButton->setIcon(QIcon(":/icons/formAccept.png")); |
pOkButton->setIcon(QIcon(":/images/formAccept.png")); |
149 |
|
|
150 |
QAbstractButton* pResetButton = |
QAbstractButton* pResetButton = |
151 |
m_ui.buttonBox->button(QDialogButtonBox::Reset); |
m_ui.buttonBox->button(QDialogButtonBox::Reset); |