Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
LabeledInput Class Referencefinal

#include <labeled_input.h>

Inheritance diagram for LabeledInput:
[legend]
Collaboration diagram for LabeledInput:
[legend]

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

Constructor & Destructor Documentation

◆ LabeledInput()

LabeledInput::LabeledInput ( QWidget * parent,
const QString & labelText )
explicit

Member Function Documentation

◆ addComboBox()

QComboBox * LabeledInput::addComboBox ( const QStringList & items,
const QString & defaultItem = QString() )
Here is the caller graph for this function:

◆ addDirectionComboBox()

QComboBox * LabeledInput::addDirectionComboBox ( )
Here is the call graph for this function:

◆ addSpinBox()

QSpinBox * LabeledInput::addSpinBox ( int minValue,
int maxValue,
int defaultValue = 0 )
Here is the call graph for this function:

◆ comboBoxValueChanged

void LabeledInput::comboBoxValueChanged ( int newValue)
signal

◆ directionComboBoxChanged

void LabeledInput::directionComboBoxChanged ( QString newDirection)
signal
Here is the caller graph for this function:

◆ spinBoxValueChanged

void LabeledInput::spinBoxValueChanged ( int newValue)
signal
Here is the caller graph for this function:

Member Data Documentation

◆ label

QLabel* LabeledInput::label
private

◆ layout

QHBoxLayout* LabeledInput::layout
private

The documentation for this class was generated from the following files: