COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#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 GraphicalValue * | create_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 |
Definition at line 29 of file GraphicalValue.hpp.
GraphicalValue | ( | QWidget * | parent = 0 | ) |
Definition at line 44 of file GraphicalValue.cpp.
~GraphicalValue | ( | ) |
Definition at line 55 of file GraphicalValue.cpp.
void commit | ( | ) |
Definition at line 175 of file GraphicalValue.cpp.
|
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.
|
inline |
Definition at line 55 of file GraphicalValue.hpp.
|
pure virtual |
|
pure virtual |
|
signal |
QString value_string | ( | ) | const |
Definition at line 139 of file GraphicalValue.cpp.
|
protected |
Definition at line 67 of file GraphicalValue.hpp.
|
protected |
Definition at line 65 of file GraphicalValue.hpp.
|
protected |
Definition at line 63 of file GraphicalValue.hpp.
|
protected |
Definition at line 69 of file GraphicalValue.hpp.
Send comments to: COOLFluiD Web Admin |