Gui::LabelButton Class Reference

The LabelButton class provides a label with a button on the right side. More...

#include <Widgets.h>

Inheritance diagram for Gui::LabelButton:
Gui::PropertyEditor::PlacementEditor

List of all members.

Public Slots

void setValue (const QVariant &)

Signals

void valueChanged (const QVariant &)

Public Member Functions

QPushButton * getButton () const
QLabel * getLabel () const
 LabelButton (QWidget *parent=0)
 Constructs a file chooser called name with the parent parent.
QVariant value () const
virtual ~LabelButton ()

Protected Slots

virtual void browse ()=0

Protected Member Functions

void resizeEvent (QResizeEvent *)
virtual void showValue (const QVariant &)=0

Properties

QVariant value

Detailed Description

The LabelButton class provides a label with a button on the right side.

Author:
Werner Mayer

Definition at line 197 of file Widgets.h.


Constructor & Destructor Documentation

LabelButton::LabelButton ( QWidget *  parent = 0  ) 

Constructs a file chooser called name with the parent parent.

Definition at line 485 of file Widgets.cpp.

References browse(), and draftlibs::fcgeo::connect().

LabelButton::~LabelButton (  )  [virtual]

Definition at line 502 of file Widgets.cpp.


Member Function Documentation

virtual void Gui::LabelButton::browse (  )  [protected, pure virtual, slot]

Referenced by LabelButton().

QPushButton * LabelButton::getButton (  )  const

Definition at line 516 of file Widgets.cpp.

QLabel * LabelButton::getLabel (  )  const

Definition at line 511 of file Widgets.cpp.

void LabelButton::resizeEvent ( QResizeEvent *  e  )  [protected]

Definition at line 506 of file Widgets.cpp.

void LabelButton::setValue ( const QVariant &  val  )  [slot]

Definition at line 526 of file Widgets.cpp.

References showValue(), and valueChanged().

virtual void Gui::LabelButton::showValue ( const QVariant &   )  [protected, pure virtual]

Referenced by setValue().

QVariant Gui::LabelButton::value (  )  const
void Gui::LabelButton::valueChanged ( const QVariant &   )  [signal]

Referenced by setValue().


Property Documentation

QVariant LabelButton::value [read, write]

Definition at line 201 of file Widgets.h.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:00 2011 for FreeCAD by  doxygen 1.6.1