COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Private Slots | Private Attributes | List of all members
GraphicalDouble Class Reference

#include <GraphicalDouble.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalDouble (Real value=0.0, QWidget *parent=0)
 
 ~GraphicalDouble ()
 
virtual bool set_value (const QVariant &value)
 
virtual QVariant value () const
 
- Public Member Functions inherited from GraphicalValue
 GraphicalValue (QWidget *parent=0)
 
 ~GraphicalValue ()
 
QString value_string () const
 
QVariant original_value () const
 
QString original_value_string () const
 
bool is_modified () const
 
void commit ()
 
QString separator () const
 

Private Slots

void text_updated (const QString &text)
 

Private Attributes

QLineEdit * m_line_edit
 
QDoubleValidator * m_validator
 

Additional Inherited Members

- Signals inherited from GraphicalValue
void value_changed ()
 
- Static Public Member Functions inherited from GraphicalValue
static GraphicalValuecreate_from_option (boost::shared_ptr< common::Option > option, QWidget *parent=nullptr)
 
- Protected Attributes inherited from GraphicalValue
QVariant m_original_value
 
QHBoxLayout * m_layout
 
bool m_committing
 
QString m_separator
 

Detailed Description

Definition at line 25 of file GraphicalDouble.hpp.

Constructor & Destructor Documentation

GraphicalDouble ( Real  value = 0.0,
QWidget *  parent = 0 
)

Definition at line 24 of file GraphicalDouble.cpp.

Definition at line 42 of file GraphicalDouble.cpp.

Member Function Documentation

bool set_value ( const QVariant &  value)
virtual

Implements GraphicalValue.

Definition at line 50 of file GraphicalDouble.cpp.

void text_updated ( const QString &  text)
privateslot

Definition at line 76 of file GraphicalDouble.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 69 of file GraphicalDouble.cpp.

Member Data Documentation

QLineEdit* m_line_edit
private

Definition at line 45 of file GraphicalDouble.hpp.

QDoubleValidator* m_validator
private

Definition at line 47 of file GraphicalDouble.hpp.


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