org.kde.koala
public class KGradientSelector extends KSelector
UNKNOWN: The KGradientSelector widget allows the user to choose from a one-dimensional range of colors which is given as a gradient between two colors provided by the programmer.
| Constructor Summary | |
|---|---|
| protected | KGradientSelector(Class dummy) |
| KGradientSelector(QWidget parent, String name)
Constructs a horizontal color selector which
contains a gradient between white and black. | |
| KGradientSelector(QWidget parent) | |
| KGradientSelector() | |
| KGradientSelector(int o, QWidget parent, String name)
Constructs a colors selector with orientation o which
contains a gradient between white and black. | |
| KGradientSelector(int o, QWidget parent) | |
| KGradientSelector(int o) | |
| Method Summary | |
|---|---|
| String | className() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | drawContents(QPainter arg1) |
| protected void | finalize() Deletes the wrapped C++ instance |
| QColor | firstColor() |
| String | firstText() |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| QMetaObject | metaObject() |
| QSize | minimumSize() |
| QColor | secondColor() |
| String | secondText() |
| void | setColors(QColor col1, QColor col2)
Sets the two colors which span the gradient. |
| void | setFirstColor(QColor col)
Set each color on its own. |
| void | setFirstText(String t)
Set each description on its own |
| void | setSecondColor(QColor col) |
| void | setSecondText(String t) |
| void | setText(String t1, String t2) |
UNKNOWN: Constructs a horizontal color selector which contains a gradient between white and black.
UNKNOWN: Constructs a colors selector with orientation o which contains a gradient between white and black.
UNKNOWN: Sets the two colors which span the gradient.
UNKNOWN: Set each color on its own.
UNKNOWN: Set each description on its own