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

Base color scale editor (sub)Widget. More...

#include <ccColorScaleEditorWidget.h>

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

Public Member Functions

 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 Attributes

SharedColorScaleElementSliders m_sliders
 Associated sliders.
 
Qt::Orientation m_orientation
 Orientation.
 
int m_margin
 Margin.
 

Detailed Description

Base color scale editor (sub)Widget.

A widget with a margin (along a prefered orientation)


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