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

Color scale element as a widget. More...

#include <ccColorScaleEditorWidget.h>

Inheritance diagram for ColorScaleElementSlider:
Inheritance graph
Collaboration diagram for ColorScaleElementSlider:
Collaboration graph

Public Member Functions

 ColorScaleElementSlider (double relativePos=0.0, QColor color=Qt::black, QWidget *parent=0, Qt::Orientation orientation=Qt::Horizontal)
 Default constructor.
void setSelected (bool state)
 Sets selection state.
bool isSelected () const
 Returns selection state.

Static Public Member Functions

static bool IsSmaller (const ColorScaleElementSlider *e1, const ColorScaleElementSlider *e2)
 Comparison operator between two (pointers on) color scale elements.

Protected Member Functions

virtual void paintEvent (QPaintEvent *e)

Protected Attributes

bool m_selected
 Selection state.
Qt::Orientation m_orientation
 Widget orientation.

Detailed Description

Color scale element as a widget.

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