dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages

The Config GCS plugin. More...

Classes

class  TextBubbleSlider
 

Functions

unsigned int numIntegerDigits (int number)
 numIntegerDigits Counts the number of digits in an integer More...
 
 TextBubbleSlider::TextBubbleSlider (QWidget *parent=nullptr)
 TextBubbleSlider::TextBubbleSlider Constructs a regular text-bubble slider. More...
 
 TextBubbleSlider::TextBubbleSlider (QSlider *, QWidget *parent=nullptr)
 TextBubbleSlider::TextBubbleSlider Constructs a text-bubble slider that copys all relevant data from the previous slider. More...
 
void TextBubbleSlider::construct ()
 TextBubbleSlider::construct This function needs to be called from all constructors. It provides a single point where settings can be changed. More...
 
 TextBubbleSlider::~TextBubbleSlider ()
 
void TextBubbleSlider::setMinimum (int)
 TextBubbleSlider::setMinimum Reimplements setMinimum. Ensures that the slider handle is the correct size for the text field. More...
 
void TextBubbleSlider::setMaximum (int)
 TextBubbleSlider::setMaximum Reimplements setMaximum. Ensures that the slider handle is the correct size for the text field. More...
 
void TextBubbleSlider::setHidden (bool)
 Hide the slider by not painting it. More...
 
void TextBubbleSlider::paintEvent (QPaintEvent *event)
 TextBubbleSlider::paintEvent Reimplements QSlider::paintEvent. More...
 
qreal TextBubbleSlider::sliderPosFromValue (const int val)
 

Public Slots

void TextBubbleSlider::setIndicatorValue (int us)
 

Detailed Description

The Config GCS plugin.

Function Documentation

void TextBubbleSlider::construct ( )

TextBubbleSlider::construct This function needs to be called from all constructors. It provides a single point where settings can be changed.

Definition at line 74 of file textbubbleslider.cpp.

unsigned int numIntegerDigits ( int  number)

numIntegerDigits Counts the number of digits in an integer

Parameters
numberInput integer
Returns
Number of digits in input integer

Definition at line 90 of file textbubbleslider.cpp.

void TextBubbleSlider::paintEvent ( QPaintEvent *  paintEvent)
protected

TextBubbleSlider::paintEvent Reimplements QSlider::paintEvent.

Parameters
bob

Definition at line 175 of file textbubbleslider.cpp.

void TextBubbleSlider::setHidden ( bool  h)

Hide the slider by not painting it.

Parameters
hidden

Definition at line 166 of file textbubbleslider.cpp.

void TextBubbleSlider::setMaximum ( int  max)

TextBubbleSlider::setMaximum Reimplements setMaximum. Ensures that the slider handle is the correct size for the text field.

Parameters
maxmaximum

Definition at line 153 of file textbubbleslider.cpp.

void TextBubbleSlider::setMinimum ( int  max)

TextBubbleSlider::setMinimum Reimplements setMinimum. Ensures that the slider handle is the correct size for the text field.

Parameters
maxmaximum

Definition at line 139 of file textbubbleslider.cpp.

qreal TextBubbleSlider::sliderPosFromValue ( const int  val)
protected

Definition at line 237 of file textbubbleslider.cpp.

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

TextBubbleSlider::TextBubbleSlider Constructs a regular text-bubble slider.

Parameters
parent

Definition at line 38 of file textbubbleslider.cpp.

TextBubbleSlider::TextBubbleSlider ( QSlider *  copySlider,
QWidget *  parent = nullptr 
)
explicit

TextBubbleSlider::TextBubbleSlider Constructs a text-bubble slider that copys all relevant data from the previous slider.

Parameters
copySlider
parent

Definition at line 52 of file textbubbleslider.cpp.

TextBubbleSlider::~TextBubbleSlider ( )

Definition at line 81 of file textbubbleslider.cpp.

Public Slots

void TextBubbleSlider::setIndicatorValue ( int  us)
slot

Definition at line 229 of file textbubbleslider.cpp.