OptionalEdit Class Reference

#include <ArmarXGui/gui-plugins/ScenarioManager/gui/OptionalEdit.h>

+ Inheritance diagram for OptionalEdit:

Public Slots

void setPropertyEnabled (const bool &enabled=true)
 
void setReadOnly (bool readOnly)
 
void setValue (const QString &value)
 
void updateHistory (const QString &value)
 

Signals

void enabledChanged (const bool &enabled)
 
void valueChanged (const QString &value)
 

Public Member Functions

 OptionalEdit (const QString &elementName, const QString &propertyName, QWidget *parent=0)
 
void setPossibleValues (const QStringList &values)
 

Protected Member Functions

void focusInEvent (QFocusEvent *e) override
 
void focusOutEvent (QFocusEvent *e) override
 
void keyPressEvent (QKeyEvent *e) override
 
void keyReleaseEvent (QKeyEvent *e) override
 

Detailed Description

Definition at line 59 of file OptionalEdit.h.

Constructor & Destructor Documentation

◆ OptionalEdit()

OptionalEdit ( const QString & elementName,
const QString & propertyName,
QWidget * parent = 0 )
explicit

Definition at line 38 of file OptionalEdit.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ enabledChanged

void enabledChanged ( const bool & enabled)
signal
+ Here is the caller graph for this function:

◆ focusInEvent()

void focusInEvent ( QFocusEvent * e)
overrideprotected

Definition at line 163 of file OptionalEdit.cpp.

◆ focusOutEvent()

void focusOutEvent ( QFocusEvent * e)
overrideprotected

Definition at line 169 of file OptionalEdit.cpp.

◆ keyPressEvent()

void keyPressEvent ( QKeyEvent * e)
overrideprotected

Definition at line 175 of file OptionalEdit.cpp.

◆ keyReleaseEvent()

void keyReleaseEvent ( QKeyEvent * e)
overrideprotected

Definition at line 180 of file OptionalEdit.cpp.

◆ setPossibleValues()

void setPossibleValues ( const QStringList & values)

Definition at line 86 of file OptionalEdit.cpp.

+ Here is the caller graph for this function:

◆ setPropertyEnabled

void setPropertyEnabled ( const bool & enabled = true)
slot

Definition at line 98 of file OptionalEdit.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setReadOnly

void setReadOnly ( bool readOnly)
slot

Definition at line 110 of file OptionalEdit.cpp.

+ Here is the caller graph for this function:

◆ setValue

void setValue ( const QString & value)
slot

Definition at line 119 of file OptionalEdit.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateHistory

void updateHistory ( const QString & value)
slot

Definition at line 138 of file OptionalEdit.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ valueChanged

void valueChanged ( const QString & value)
signal
+ Here is the caller graph for this function:

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