BCESolve
BCELineEdit Class Reference

Read-only QLineEdits displaying slider values. More...

#include <bcelineedit.hpp>

Inheritance diagram for BCELineEdit:
Collaboration diagram for BCELineEdit:

Public Slots

void changeDisplayValue (int newValEmitted, BCESliderType typeEmitted, int playerEmitted)
 Ensures slider is set to the changed value. More...
 

Public Member Functions

 BCELineEdit (BCESliderType _type, int _player)
 Constructor.
 

Public Attributes

BCESliderType sliderType
 Type of BCELineEdit (Action, Type, State)
 
int player
 Player associated with the BCELineEdit.
 

Detailed Description

Read-only QLineEdits displaying slider values.

This class is a QLineEdit containing additional information about whether the line edit is associated with the action, type, or state of a given player.

Member Function Documentation

◆ changeDisplayValue

void BCELineEdit::changeDisplayValue ( int  newValEmitted,
BCESliderType  typeEmitted,
int  playerEmitted 
)
inlineslot

Ensures slider is set to the changed value.

For common state games, ensures both state sliders move upon interaction with just one.


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