COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Signals | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
GraphicalValue Class Referenceabstract

#include <GraphicalValue.hpp>

Inherits QWidget.

Inherited by GraphicalArray, GraphicalArrayRestrictedList, GraphicalBool, GraphicalDouble, GraphicalInt, GraphicalRestrictedList, GraphicalString, GraphicalUri, and GraphicalUriArray.

Signals

void value_changed ()
 

Public Member Functions

 GraphicalValue (QWidget *parent=0)
 
 ~GraphicalValue ()
 
virtual bool set_value (const QVariant &value)=0
 
virtual QVariant value () const =0
 
QString value_string () const
 
QVariant original_value () const
 
QString original_value_string () const
 
bool is_modified () const
 
void commit ()
 
QString separator () const
 

Static Public Member Functions

static GraphicalValuecreate_from_option (boost::shared_ptr< common::Option > option, QWidget *parent=nullptr)
 

Protected Attributes

QVariant m_original_value
 
QHBoxLayout * m_layout
 
bool m_committing
 
QString m_separator
 

Detailed Description

Definition at line 29 of file GraphicalValue.hpp.

Constructor & Destructor Documentation

GraphicalValue ( QWidget *  parent = 0)

Definition at line 44 of file GraphicalValue.cpp.

Definition at line 55 of file GraphicalValue.cpp.

Member Function Documentation

void commit ( )

Definition at line 175 of file GraphicalValue.cpp.

GraphicalValue * create_from_option ( boost::shared_ptr< common::Option option,
QWidget *  parent = nullptr 
)
static

Definition at line 62 of file GraphicalValue.cpp.

bool is_modified ( ) const

Definition at line 168 of file GraphicalValue.cpp.

QVariant original_value ( ) const

Definition at line 151 of file GraphicalValue.cpp.

QString original_value_string ( ) const

Definition at line 158 of file GraphicalValue.cpp.

QString separator ( ) const
inline

Definition at line 55 of file GraphicalValue.hpp.

virtual bool set_value ( const QVariant &  value)
pure virtual
virtual QVariant value ( ) const
pure virtual
void value_changed ( )
signal
QString value_string ( ) const

Definition at line 139 of file GraphicalValue.cpp.

Member Data Documentation

bool m_committing
protected

Definition at line 67 of file GraphicalValue.hpp.

QHBoxLayout* m_layout
protected

Definition at line 65 of file GraphicalValue.hpp.

QVariant m_original_value
protected

Definition at line 63 of file GraphicalValue.hpp.

QString m_separator
protected

Definition at line 69 of file GraphicalValue.hpp.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin