tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Member Functions | Properties | List of all members
Hue_Slider Class Reference

A slider for selecting a hue value. More...

#include <hue_slider.hpp>

Inheritance diagram for Hue_Slider:
Gradient_Slider

Classes

class  Private
 

Public Member Functions

 Hue_Slider (QWidget *parent=0)
 
 Hue_Slider (Qt::Orientation orientation, QWidget *parent=0)
 
 ~Hue_Slider ()
 
qreal colorSaturation () const
 
void setColorSaturation (qreal value)
 
qreal colorValue () const
 
void setColorValue (qreal value)
 
- Public Member Functions inherited from Gradient_Slider
 Gradient_Slider (QWidget *parent=0)
 
 Gradient_Slider (Qt::Orientation orientation, QWidget *parent=0)
 
 ~Gradient_Slider ()
 
QBrush background () const
 Get the background, it's visible for transparent gradient stops. More...
 
void setBackground (const QBrush &bg)
 Set the background, it's visible for transparent gradient stops. More...
 
QGradientStops colors () const
 Get the colors that make up the gradient. More...
 
void setColors (const QGradientStops &colors)
 Set the colors that make up the gradient. More...
 
QLinearGradient gradient () const
 Get the gradient. More...
 
void setGradient (const QLinearGradient &gradient)
 Set the gradient. More...
 
void setColors (const QVector< QColor > &colors)
 
void setFirstColor (const QColor &c)
 
void setLastColor (const QColor &c)
 
QColor firstColor () const
 
QColor lastColor () const
 

Properties

qreal colorSaturation
 
qreal colorValue
 
- Properties inherited from Gradient_Slider
QBrush background
 
QGradientStops colors
 
QColor firstColor
 
QColor lastColor
 
QLinearGradient gradient
 

Additional Inherited Members

- Protected Member Functions inherited from Gradient_Slider
void paintEvent (QPaintEvent *ev)
 

Detailed Description

A slider for selecting a hue value.

Author
Calle Laakkonen

License

Copyright (C) 2014 Calle Laakkonen

This software is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Color Widgets.  If not, see <http://www.gnu.org/licenses/>.

Constructor & Destructor Documentation

Hue_Slider::Hue_Slider ( QWidget *  parent = 0)
explicit
Hue_Slider::Hue_Slider ( Qt::Orientation  orientation,
QWidget *  parent = 0 
)
explicit
Hue_Slider::~Hue_Slider ( )

Member Function Documentation

qreal Hue_Slider::colorSaturation ( ) const
qreal Hue_Slider::colorValue ( ) const
void Hue_Slider::setColorSaturation ( qreal  value)
void Hue_Slider::setColorValue ( qreal  value)

Property Documentation

qreal Hue_Slider::colorSaturation
readwrite
qreal Hue_Slider::colorValue
readwrite

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