class KColorButton
|
A pushbutton to display or allow user selection of a colour.
More... |
|
|
Public Members
Protected Members
Protected Slots
Signals
- void changed ( const QColor &newColor )
Detailed Description
This widget can be used to display or allow user selection of a colour.
See also: KColorDialog
KColorButton ( QWidget *parent, const char *name = 0L )
|
Constructor. Create a KColorButton.
KColorButton ( const QColor &c, QWidget *parent, const char *name = 0L )
|
Constructor. Create a KColorButton.
Parameters:
c | The initial colour of the button.
|
[virtual]
Destructor.
[const]
The current colour.
Returns: The current colour.
void setColor ( const QColor &c )
|
Set the current colour.
Parameters:
void changed ( const QColor &newColor )
|
[signal]
This signal will be emitted when the colour of the widget
is changed, either with #setColor or via user selection.
[protected slot]
[protected virtual]
- Version: $Id: kcolorbtn.h,v 1.5 1998/09/01 20:21:40 kulow Exp $
- Generated: root@porky.devel.redhat.com on Tue Mar 14 00:20:58 200.