kalarm/lib
PushButton Class Reference
#include <pushbutton.h>
Detailed Description
A QPushButton with read-only option.The PushButton class is a QPushButton 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.
- Author:
- David Jarvie <software@astrojar.org.uk>
Definition at line 37 of file pushbutton.h.
Public Member Functions | |
PushButton (QWidget *parent, const char *name=0) | |
PushButton (const QString &text, QWidget *parent, const char *name=0) | |
PushButton (const QIconSet &icon, const QString &text, QWidget *parent, const char *name=0) | |
virtual void | setReadOnly (bool readOnly) |
virtual bool | isReadOnly () const |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | mouseReleaseEvent (QMouseEvent *) |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | keyReleaseEvent (QKeyEvent *) |
Properties | |
bool | readOnly |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 24 of file pushbutton.cpp. |
|
Constructor for a push button which displays a text.
Definition at line 30 of file pushbutton.cpp. |
|
Constructor for a push button which displays an icon and a text.
Definition at line 36 of file pushbutton.cpp. |
Member Function Documentation
|
Returns true if the widget is read only.
Definition at line 65 of file pushbutton.h. |
|
Sets whether the push button is read-only for the user.
Definition at line 42 of file pushbutton.cpp. |
The documentation for this class was generated from the following files: