Label Class Reference
The Label class provides a text display, with special behaviour when a radio button is set as a buddy. QLabel with option for a buddy radio button. More...
#include <label.h>
Inherits QLabel.
Public Member Functions
- Label (QWidget *parent, const char *name=0, WFlags f=0)
- Label (const QString &text, QWidget *parent, const char *name=0, WFlags=0)
- Label (QWidget *buddy, const QString &text, QWidget *parent, const char *name=0, WFlags=0)
- virtual void setBuddy (QWidget *buddy)
Protected Member Functions
Friends
Detailed Description
The Label class provides a text display, with special behaviour when a radio button is set as a buddy. QLabel with option for a buddy radio button.The Label object in effect acts as if it were part of the buddy radio button, in that when the label's accelerator key is pressed, the radio button receives focus and is switched on. When a non-radio button is specified as a buddy, the behaviour is the same as for QLabel.
- Author:
- David Jarvie <software@astrojar.org.uk>
Constructor & Destructor Documentation
|
Constructs an empty label.
|
|
Constructs a label that displays
|
|
Constructs a label, with a buddy widget, that displays
|
Member Function Documentation
|
Sets the label's buddy widget which receives the keyboard focus when the label's accelerator key is pressed.
If |
The documentation for this class was generated from the following files:
- label.h
- label.cpp