added some button icons (TODO: ok and cancel buttons)

This commit is contained in:
Mathias Panzenböck
2014-02-21 05:22:12 +01:00
parent 5db43041a1
commit c93aa1df37
3 changed files with 17 additions and 12 deletions

View File

@ -35,7 +35,7 @@ JoyPadWidget::JoyPadWidget( JoyPad* jp, int i, QWidget* parent )
insertCounter ++;
}
insertCounter += 2;
btnClear = new QPushButton("Clear", this);
btnClear = new QPushButton(QIcon::fromTheme("edit-clear"), "Clear", this);
connect(btnClear, SIGNAL(clicked()), this, SLOT(clear()));
layoutMain->addWidget(btnClear, insertCounter / 2, insertCounter % 2);
insertCounter++;