Gui::LabelButton Class Reference

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

QPushButtongetButton () const
 
QLabelgetLabel () 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
 

Detailed Description

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

Author
Werner Mayer

Constructor & Destructor Documentation

◆ LabelButton()

LabelButton::LabelButton ( QWidget parent = nullptr)

Constructs a file chooser called name with the parent parent.

References browse(), buttonClicked(), and draftgeoutils.intersections::connect().

◆ ~LabelButton()

LabelButton::~LabelButton ( )
virtual

Member Function Documentation

◆ browse

void LabelButton::browse ( )
protectedvirtualslot

Referenced by LabelButton().

◆ buttonClicked

void Gui::LabelButton::buttonClicked ( )
signal

Referenced by LabelButton().

◆ getButton()

QPushButton * LabelButton::getButton ( ) const

◆ getLabel()

QLabel * LabelButton::getLabel ( ) const

◆ resizeEvent()

void LabelButton::resizeEvent ( QResizeEvent *  e)
protected

◆ setValue

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

◆ showValue()

void LabelButton::showValue ( const QVariant &  data)
protectedvirtual

Referenced by setValue().

◆ value()

◆ valueChanged

void Gui::LabelButton::valueChanged ( const QVariant &  )
signal

Referenced by setValue().

Property Documentation

◆ value


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