VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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
virtual ~DtRangeRingEntry ()
 destructor
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)