qCC  version 2.5.4 (Qt) - 19 Apr. 2014
 All Classes Functions Variables Typedefs Enumerations
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SliderLabelWidget Class Reference

All sliders labels widget. More...

#include <ccColorScaleEditorWidget.h>

Inheritance diagram for SliderLabelWidget:
Inheritance graph
[legend]
Collaboration diagram for SliderLabelWidget:
Collaboration graph
[legend]

Public Member Functions

 SliderLabelWidget (SharedColorScaleElementSliders sliders, QWidget *parent=0, Qt::Orientation orientation=Qt::Horizontal)
 Default constructor.
 
void setTextColor (QColor color)
 Sets text color.
 
void setPrecision (int precision)
 Sets displayed numbers precision.
 
- Public Member Functions inherited from ColorScaleEditorBaseWidget
 ColorScaleEditorBaseWidget (SharedColorScaleElementSliders sliders, Qt::Orientation orientation, int margin, QWidget *parent=0)
 Defautl constructor.
 
int length () const
 Returns useful length.
 
virtual void setSliders (SharedColorScaleElementSliders sliders)
 Sets associated sliders set.
 
Qt::Orientation getOrientation () const
 Returns orientation.
 
int getMargin () const
 Returns margin.
 

Protected Member Functions

void paintEvent (QPaintEvent *e)
 

Protected Attributes

QColor m_textColor
 Text color.
 
int m_precision
 Precision.
 
- Protected Attributes inherited from ColorScaleEditorBaseWidget
SharedColorScaleElementSliders m_sliders
 Associated sliders.
 
Qt::Orientation m_orientation
 Orientation.
 
int m_margin
 Margin.
 

Detailed Description

All sliders labels widget.


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