PushButton Class Reference
The PushButton class is a QPushButton with a read-only option. QPushButton with read-only option. More...
#include <pushbutton.h>
Inherits QPushButton.
Inherited by FontColourButton.
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)
- 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
Detailed Description
The PushButton class is a QPushButton with a read-only option. QPushButton with 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>
Constructor & Destructor Documentation
|
Constructor.
|
|
Constructor for a push button which displays a text.
|
|
Constructor for a push button which displays an icon and a text.
|
Member Function Documentation
|
Sets whether the push button is read-only for the user.
|
|
Returns true if the widget is read only.
|
The documentation for this class was generated from the following files:
- pushbutton.h
- pushbutton.cpp