kdualcolorbutton.h
54 TQ_PROPERTY( TQColor currentColor READ currentColor WRITE setCurrentColor STORED false DESIGNABLE false )
void setCurrent(DualColor s)
Sets the current selected color item.
Definition kdualcolorbutton.cpp:137
void currentChanged(KDualColorButton::DualColor s)
Emitted when the user changes the current color selection.
void setCurrentColor(const TQColor &c)
Sets the color of the selected item.
Definition kdualcolorbutton.cpp:128
virtual TQSize sizeHint() const
Returns the minimum size needed to display the widget and all its controls.
Definition kdualcolorbutton.cpp:107
void fgChanged(const TQColor &c)
Emitted when the foreground color is changed.
DualColor current() const
Returns the current color item selected by the user.
Definition kdualcolorbutton.cpp:97
KDualColorButton(TQWidget *parent=0, const char *name=0, TQWidget *dialogParent=0)
Constructs a new KDualColorButton using the default black and white colors.
Definition kdualcolorbutton.cpp:35
virtual void metrics(TQRect &fgRect, TQRect &bgRect)
Sets the supplied rectangles to the proper size and position for the current widget size.
Definition kdualcolorbutton.cpp:143
TQColor currentColor() const
Returns the color of the selected item.
Definition kdualcolorbutton.cpp:102
void bgChanged(const TQColor &c)
Emitted when the background color is changed.
Trinity API Reference