#include <Widgets.h>

Public Types

enum  InputType { String, Float, Integer }
 

Public Slots

virtual void setButtonText (const QString &)
 Sets the browse button's text to txt. More...
 
virtual void setText (const QString &)
 
virtual void validateText (const QString &)
 Validates if the input of the lineedit is a valid list. More...
 

Signals

void textChanged (const QString &)
 

Public Member Functions

QString buttonText () const
 Returns the button's text. More...
 
 LabelEditor (QWidget *parent=0)
 
void setInputType (InputType)
 Set the input type. More...
 
QString text () const
 Returns the text. More...
 
virtual ~LabelEditor ()
 

Protected Member Functions

void resizeEvent (QResizeEvent *)
 

Properties

QString buttonText
 Returns the browse button's text. More...
 
QString text
 

Member Enumeration Documentation

◆ InputType

Enumerator
String 
Float 
Integer 

Constructor & Destructor Documentation

◆ LabelEditor()

LabelEditor::LabelEditor ( QWidget parent = 0)

References String, textChanged(), and validateText().

◆ ~LabelEditor()

LabelEditor::~LabelEditor ( )
virtual

Member Function Documentation

◆ buttonText()

QString Gui::LabelEditor::buttonText ( ) const

Returns the button's text.

◆ resizeEvent()

void LabelEditor::resizeEvent ( QResizeEvent *  e)
protected

◆ setButtonText

void LabelEditor::setButtonText ( const QString &  txt)
virtualslot

Sets the browse button's text to txt.

◆ setInputType()

void LabelEditor::setInputType ( InputType  t)

Set the input type.

◆ setText

void LabelEditor::setText ( const QString &  s)
virtualslot

◆ text()

QString Gui::LabelEditor::text ( ) const

Returns the text.

◆ textChanged

void Gui::LabelEditor::textChanged ( const QString &  )
signal

Referenced by LabelEditor(), and validateText().

◆ validateText

void LabelEditor::validateText ( const QString &  text)
virtualslot

Validates if the input of the lineedit is a valid list.

References textChanged().

Referenced by LabelEditor().

Property Documentation

◆ buttonText

QString LabelEditor::buttonText
readwrite

Returns the browse button's text.

◆ text


The documentation for this class was generated from the following files:
  • src/Gui/Widgets.h
  • src/Gui/Widgets.cpp