BCESolve
|
QPushButton that emits the player when clicked. More...
#include <bcepushbutton.hpp>
Public Slots | |
void | bceClick () |
Emits the clickedForPlayer(_) signal. | |
Signals | |
void | clickedForPlayer (int player) |
Signals the player associated with a BCEPushButton. | |
Public Member Functions | |
BCEPushButton (int _player, QString _label, QWidget *parent) | |
Constructor. | |
Private Attributes | |
int | player |
Associated player. | |
QPushButton that emits the player when clicked.
This class is a QPushButton that emits the index of the player associated with it when it is clicked.