|
tilde~
Puredata Qt-based GUI
|
A slider for selecting a hue value. More...
#include <hue_slider.hpp>
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) |
A slider for selecting a hue value.
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/>.
|
explicit |
|
explicit |
| Hue_Slider::~Hue_Slider | ( | ) |
| qreal Hue_Slider::colorSaturation | ( | ) | const |
| qreal Hue_Slider::colorValue | ( | ) | const |
| void Hue_Slider::setColorSaturation | ( | qreal | value | ) |
| void Hue_Slider::setColorValue | ( | qreal | value | ) |
|
readwrite |
|
readwrite |
1.8.6