The LabelButton class provides a label with a button on the right side. More...
#include <Widgets.h>
Public Slots | |
| void | setValue (const QVariant &) |
Signals | |
| void | buttonClicked () |
| 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. More... | |
| QVariant | value () const |
| virtual | ~LabelButton () |
Protected Slots | |
| virtual void | browse () |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *) |
| virtual void | showValue (const QVariant &data) |
Properties | |
| QVariant | value |
Detailed Description
The LabelButton class provides a label with a button on the right side.
Constructor & Destructor Documentation
◆ LabelButton()
| LabelButton::LabelButton | ( | QWidget * | parent = 0 | ) |
Constructs a file chooser called name with the parent parent.
References browse(), and buttonClicked().
◆ ~LabelButton()
|
virtual |
Member Function Documentation
◆ browse
|
protectedvirtualslot |
Referenced by LabelButton().
◆ buttonClicked
|
signal |
Referenced by LabelButton().
◆ getButton()
| QPushButton * LabelButton::getButton | ( | ) | const |
◆ getLabel()
| QLabel * LabelButton::getLabel | ( | ) | const |
◆ resizeEvent()
|
protected |
◆ setValue
|
slot |
References showValue(), and valueChanged().
Referenced by PartGui::PropertyEnumAttacherItem::setEditorData().
◆ showValue()
|
protectedvirtual |
Referenced by setValue().
◆ value()
| QVariant Gui::LabelButton::value | ( | ) | const |
◆ valueChanged
|
signal |
Referenced by setValue().
Property Documentation
◆ value
|
readwrite |
Referenced by PathScripts.PathSetupSheetOpPrototype.Property::displayString(), PathScripts.PathSetupSheetOpPrototype.PropertyQuantity::displayString(), PartGui::PropertyEnumAttacherItem::editorData(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::evaluate(), PathScripts.PathSetupSheetOpPrototype.Property::getValue(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::lowervalue(), and PathScripts.PathSetupSheetOpPrototype.Property::setValue().
The documentation for this class was generated from the following files:
- src/Gui/Widgets.h
- src/Gui/Widgets.cpp
1.8.17