![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <labeled_input.h>
Signals | |
| void | spinBoxValueChanged (int newValue) |
| void | comboBoxValueChanged (int newValue) |
| void | directionComboBoxChanged (QString newDirection) |
Public Member Functions | |
| LabeledInput (QWidget *parent, const QString &labelText) | |
| QSpinBox * | addSpinBox (int minValue, int maxValue, int defaultValue=0) |
| QComboBox * | addComboBox (const QStringList &items, const QString &defaultItem=QString()) |
| QComboBox * | addDirectionComboBox () |
Private Attributes | |
| QLabel * | label |
| QHBoxLayout * | layout |
|
explicit |
| QComboBox * LabeledInput::addComboBox | ( | const QStringList & | items, |
| const QString & | defaultItem = QString() ) |
| QComboBox * LabeledInput::addDirectionComboBox | ( | ) |
| QSpinBox * LabeledInput::addSpinBox | ( | int | minValue, |
| int | maxValue, | ||
| int | defaultValue = 0 ) |
|
signal |
|
signal |
|
signal |
|
private |
|
private |