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

#include <dlg_roll_dice.h>

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

Public Member Functions

 DlgRollDice (QWidget *parent=nullptr)
uint getDieSideCount () const
uint getDiceToRollCount () const

Private Attributes

QLabel * numberOfSidesLabel
QLabel * numberOfDiceLabel
QSpinBox * numberOfSidesEdit
QSpinBox * numberOfDiceEdit
QDialogButtonBox * buttonBox

Static Private Attributes

static constexpr uint DEFAULT_NUMBER_SIDES_DIE = 20
static constexpr uint DEFAULT_NUMBER_DICE_TO_ROLL = 1

Constructor & Destructor Documentation

◆ DlgRollDice()

DlgRollDice::DlgRollDice ( QWidget * parent = nullptr)
explicit

Member Function Documentation

◆ getDiceToRollCount()

uint DlgRollDice::getDiceToRollCount ( ) const
nodiscard
Here is the caller graph for this function:

◆ getDieSideCount()

uint DlgRollDice::getDieSideCount ( ) const
nodiscard
Here is the caller graph for this function:

Member Data Documentation

◆ buttonBox

QDialogButtonBox* DlgRollDice::buttonBox
private

◆ DEFAULT_NUMBER_DICE_TO_ROLL

uint DlgRollDice::DEFAULT_NUMBER_DICE_TO_ROLL = 1
staticconstexprprivate

◆ DEFAULT_NUMBER_SIDES_DIE

uint DlgRollDice::DEFAULT_NUMBER_SIDES_DIE = 20
staticconstexprprivate

◆ numberOfDiceEdit

QSpinBox * DlgRollDice::numberOfDiceEdit
private

◆ numberOfDiceLabel

QLabel * DlgRollDice::numberOfDiceLabel
private

◆ numberOfSidesEdit

QSpinBox* DlgRollDice::numberOfSidesEdit
private

◆ numberOfSidesLabel

QLabel* DlgRollDice::numberOfSidesLabel
private

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