VariantWidget Class Reference

#include <ArmarXGui/gui-plugins/ObserverPropertiesPlugin/widgets/VariantWidget.h>

+ Inheritance diagram for VariantWidget:

Public Slots

void lineEdit_editFinished ()
 
void setValue (const VariantPtr &variant)
 
void update (const std::map< std::string, VariantBasePtr > &map)
 
void update (const std::vector< VariantBasePtr > &vec)
 
void update (const VariantBasePtr &v)
 

Public Member Functions

bool getEnableEdit ()
 
bool getShowType ()
 
QString getValueText ()
 
VariantgetVariant ()
 
void setEnableEdit (bool enableEdit)
 
void setShowType (bool showType)
 
 VariantWidget (QWidget *parent=nullptr)
 
 VariantWidget (VariantPtr variant, QWidget *parent=0, Qt::WindowFlags f=0)
 

Detailed Description

Definition at line 38 of file VariantWidget.h.

Constructor & Destructor Documentation

◆ VariantWidget() [1/2]

VariantWidget ( VariantPtr  variant,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Definition at line 31 of file VariantWidget.cpp.

◆ VariantWidget() [2/2]

VariantWidget ( QWidget *  parent = nullptr)

Definition at line 387 of file VariantWidget.cpp.

Member Function Documentation

◆ getEnableEdit()

bool getEnableEdit ( )

Definition at line 117 of file VariantWidget.cpp.

+ Here is the caller graph for this function:

◆ getShowType()

bool getShowType ( )

Definition at line 122 of file VariantWidget.cpp.

◆ getValueText()

QString getValueText ( )

Definition at line 127 of file VariantWidget.cpp.

+ Here is the caller graph for this function:

◆ getVariant()

Variant& getVariant ( )

◆ lineEdit_editFinished

void lineEdit_editFinished ( )
slot

Definition at line 174 of file VariantWidget.cpp.

◆ setEnableEdit()

void setEnableEdit ( bool  enableEdit)

Definition at line 105 of file VariantWidget.cpp.

+ Here is the caller graph for this function:

◆ setShowType()

void setShowType ( bool  showType)

Definition at line 111 of file VariantWidget.cpp.

◆ setValue

void setValue ( const VariantPtr variant)
slot

Definition at line 43 of file VariantWidget.cpp.

+ Here is the call graph for this function:

◆ update [1/3]

void update ( const std::map< std::string, VariantBasePtr > &  map)
slot

Definition at line 446 of file VariantWidget.cpp.

◆ update [2/3]

void update ( const std::vector< VariantBasePtr > &  vec)
slot

Definition at line 433 of file VariantWidget.cpp.

+ Here is the call graph for this function:

◆ update [3/3]

void update ( const VariantBasePtr v)
slot

Definition at line 423 of file VariantWidget.cpp.

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

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