mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
cleanup
This commit is contained in:
parent
7bf3ff1ff4
commit
cb74c734f2
4 changed files with 3 additions and 22 deletions
|
|
@ -8,6 +8,7 @@
|
|||
PhaseButton::PhaseButton(const QIcon &icon, QAction *_doubleClickAction)
|
||||
: QPushButton(icon, QString()), active(false), doubleClickAction(_doubleClickAction), activePixmap(50, 50), inactivePixmap(50, 50)
|
||||
{
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setFixedSize(50, 50);
|
||||
|
||||
updatePixmap(activePixmap, true);
|
||||
|
|
@ -79,6 +80,7 @@ PhasesToolbar::PhasesToolbar(QWidget *parent)
|
|||
connect(buttonList[i], SIGNAL(clicked()), this, SLOT(phaseButtonClicked()));
|
||||
|
||||
QPushButton *nextTurnButton = new QPushButton(QIcon(":/resources/icon_nextturn.svg"), QString());
|
||||
nextTurnButton->setFocusPolicy(Qt::NoFocus);
|
||||
nextTurnButton->setIconSize(QSize(40, 40));
|
||||
nextTurnButton->setFixedSize(50, 50);
|
||||
connect(nextTurnButton, SIGNAL(clicked()), this, SLOT(actNextTurn()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue