VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrf::DtRangeRingEntry Class Reference

This class is a widget representing a single range ring entry. More...

Inheritance diagram for makVrf::DtRangeRingEntry:
Inheritance graph
[legend]

Public Slots

virtual void chooseColor ()
 
virtual void slotColorChanged ()
 
virtual void visibilityChanged ()
 

Signals

void signalColorChanged ()
 
void signalVisibilityChanged (bool)
 

Public Member Functions

 DtRangeRingEntry (QString label, const std::string &ringType, const DtRangeRingsSettingsRecord::ColorOption &rangeRingInfo, QWidget *parent)
 default constructor More...
 
virtual ~DtRangeRingEntry ()
 destructor More...
 
virtual QColor ringColor () const
 
virtual bool useForceColor () const
 
virtual double ringAlphaF () const
 
virtual const std::string & rangeRingType () const
 
virtual QString ringLabel () const
 
virtual void setVisible (bool)
 

Public Attributes

QCheckBoxmyVisible
 
QHBoxLayout * myColorLayout
 
QComboBoxuseForceColorBox
 
QPushButtoncolorButton
 
QSpinBoxalphaSpinBox
 
QFrame * colorButtonBackground
 
QString myEntryLabel
 

Protected Member Functions

void setupGui (QColor colorFromRecord, bool visible)
 
void setButtonColor ()
 

Protected Attributes

std::string myRangeRingType
 
QColor myUserDefinedRgb
 

Detailed Description

This class is a widget representing a single range ring entry.

It's inserted into a QListWidgetItem as an ItemWidget

Constructor & Destructor Documentation

makVrf::DtRangeRingEntry::DtRangeRingEntry ( QString  label,
const std::string &  ringType,
const DtRangeRingsSettingsRecord::ColorOption rangeRingInfo,
QWidget *  parent 
)

default constructor

virtual makVrf::DtRangeRingEntry::~DtRangeRingEntry ( )
virtual

destructor

Member Function Documentation

virtual QColor makVrf::DtRangeRingEntry::ringColor ( ) const
virtual
virtual bool makVrf::DtRangeRingEntry::useForceColor ( ) const
virtual
virtual double makVrf::DtRangeRingEntry::ringAlphaF ( ) const
virtual
virtual const std::string& makVrf::DtRangeRingEntry::rangeRingType ( ) const
virtual
virtual QString makVrf::DtRangeRingEntry::ringLabel ( ) const
virtual
virtual void makVrf::DtRangeRingEntry::setVisible ( bool  )
virtual
void makVrf::DtRangeRingEntry::signalColorChanged ( )
signal
void makVrf::DtRangeRingEntry::signalVisibilityChanged ( bool  )
signal
void makVrf::DtRangeRingEntry::setupGui ( QColor  colorFromRecord,
bool  visible 
)
protected
void makVrf::DtRangeRingEntry::setButtonColor ( )
protected
virtual void makVrf::DtRangeRingEntry::chooseColor ( )
virtualslot
virtual void makVrf::DtRangeRingEntry::slotColorChanged ( )
virtualslot
virtual void makVrf::DtRangeRingEntry::visibilityChanged ( )
virtualslot

Member Data Documentation

std::string makVrf::DtRangeRingEntry::myRangeRingType
protected
QColor makVrf::DtRangeRingEntry::myUserDefinedRgb
protected
QCheckBox* makVrf::DtRangeRingEntry::myVisible
QHBoxLayout* makVrf::DtRangeRingEntry::myColorLayout
QComboBox* makVrf::DtRangeRingEntry::useForceColorBox
QPushButton* makVrf::DtRangeRingEntry::colorButton
QSpinBox* makVrf::DtRangeRingEntry::alphaSpinBox
QFrame* makVrf::DtRangeRingEntry::colorButtonBackground
QString makVrf::DtRangeRingEntry::myEntryLabel

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)