kalarm/lib
#include <colourbutton.h>

| Public Member Functions | |
| ColourButton (QWidget *parent=0) | |
| QColor | colour () const | 
| bool | isReadOnly () const | 
| void | setColour (const QColor &c) | 
| virtual void | setReadOnly (bool readOnly) | 
| Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *) | 
| virtual void | keyReleaseEvent (QKeyEvent *) | 
| virtual void | mouseMoveEvent (QMouseEvent *) | 
| virtual void | mousePressEvent (QMouseEvent *) | 
| virtual void | mouseReleaseEvent (QMouseEvent *) | 
Detailed Description
A colour selection button with read-only option.
The ColourButton class is a KColorButton with a read-only option.
The widget may be set as read-only. This has the same effect as disabling it, except that its appearance is unchanged.
Definition at line 37 of file colourbutton.h.
Constructor & Destructor Documentation
| 
 | explicit | 
Constructor.
- Parameters
- 
  parent The parent object of this widget. 
Definition at line 28 of file colourbutton.cpp.
Member Function Documentation
| 
 | inline | 
Returns the selected colour.
Definition at line 46 of file colourbutton.h.
| 
 | inline | 
Returns true if the widget is read only.
Definition at line 50 of file colourbutton.h.
| 
 | protectedvirtual | 
Definition at line 62 of file colourbutton.cpp.
| 
 | protectedvirtual | 
Definition at line 68 of file colourbutton.cpp.
| 
 | protectedvirtual | 
Definition at line 56 of file colourbutton.cpp.
| 
 | protectedvirtual | 
Definition at line 39 of file colourbutton.cpp.
| 
 | protectedvirtual | 
Definition at line 50 of file colourbutton.cpp.
| 
 | inline | 
Sets the selected colour to c. 
Definition at line 48 of file colourbutton.h.
| 
 | virtual | 
Sets whether the button can be changed by the user.
- Parameters
- 
  readOnly True to set the widget read-only, false to set it read-write. 
Definition at line 34 of file colourbutton.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:35:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference