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=nullptr) | |
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 |
The LabelButton class provides a label with a button on the right side.
LabelButton::LabelButton | ( | QWidget * | parent = nullptr | ) |
Constructs a file chooser called name with the parent parent.
References browse(), buttonClicked(), and draftgeoutils.intersections::connect().
|
virtual |
|
protectedvirtualslot |
Referenced by LabelButton().
|
signal |
Referenced by LabelButton().
QPushButton * LabelButton::getButton | ( | ) | const |
QLabel * LabelButton::getLabel | ( | ) | const |
|
protected |
|
slot |
References showValue(), and valueChanged().
Referenced by PartGui::PropertyEnumAttacherItem::setEditorData().
|
protectedvirtual |
Referenced by setValue().
QVariant LabelButton::value | ( | ) | const |
Referenced by PathScripts.PathProperty.Property::displayString(), PathScripts.PathProperty.PropertyQuantity::displayString(), PathScripts.PathSetupSheetOpPrototype.Property::displayString(), PathScripts.PathSetupSheetOpPrototype.PropertyQuantity::displayString(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::evaluate(), PathScripts.PathProperty.Property::getValue(), PathScripts.PathSetupSheetOpPrototype.Property::getValue(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::lowervalue(), PathScripts.PathProperty.Property::setValue(), and PathScripts.PathSetupSheetOpPrototype.Property::setValue().
|
signal |
Referenced by setValue().
|
readwrite |
Referenced by PathScripts.PathProperty.Property::displayString(), PathScripts.PathProperty.PropertyQuantity::displayString(), PathScripts.PathSetupSheetOpPrototype.Property::displayString(), PathScripts.PathSetupSheetOpPrototype.PropertyQuantity::displayString(), PartGui::PropertyEnumAttacherItem::editorData(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::evaluate(), PathScripts.PathProperty.Property::getValue(), PathScripts.PathSetupSheetOpPrototype.Property::getValue(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::lowervalue(), PathScripts.PathProperty.Property::setValue(), and PathScripts.PathSetupSheetOpPrototype.Property::setValue().