26 class LabelFocusWidget;
45 friend class LabelFocusWidget;
52 explicit Label(TQWidget* parent, const char* name = 0, WFlags f = 0);
59 Label( const TQString& text, TQWidget* parent, const char* name = 0, WFlags f = 0);
70 Label(TQWidget* buddy, const TQString& text, TQWidget* parent, const char* name = 0, WFlags f = 0);
75 virtual void setBuddy(TQWidget* buddy);
77 virtual void drawContents(TQPainter* p) { TQLabel::drawContents(p); }
82 TQRadioButton* mRadioButton;
83 LabelFocusWidget* mFocusWidget;
88 class LabelFocusWidget : public TQWidget
93 LabelFocusWidget(TQWidget* parent, const char* name = 0);
95 virtual void focusInEvent(TQFocusEvent*);
A TQLabel with option for a buddy radio button.
Label(TQWidget *parent, const char *name=0, WFlags f=0) Constructs an empty label.
virtual void setBuddy(TQWidget *buddy) Sets the label's buddy widget which receives the keyboard focus when the label's accelerator key is p...
|