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

Set of color scale elements (widgets) More...

#include <ccColorScaleEditorWidget.h>

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

Public Member Functions

void addSlider (ColorScaleElementSlider *slider)
 Adds a slider element and sort the whole set. More...
 
void sort ()
 Sorts the set.
 
void clear ()
 Remove all sliders.
 
void removeAt (int i)
 Remove a given slider.
 
int selected () const
 Returns the currently selected slider index (or -1 if none)
 
int indexOf (ColorScaleElementSlider *slider)
 Returns the index of a given slider.
 

Detailed Description

Set of color scale elements (widgets)

Member Function Documentation

void ColorScaleElementSliders::addSlider ( ColorScaleElementSlider slider)

Adds a slider element and sort the whole set.

Should be used instead of push_back/push_front!


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