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
GraphicalString Class Reference

#include <GraphicalString.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalString (const QString &value=QString(), QWidget *parent=0)
 
 ~GraphicalString ()
 
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
 

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 24 of file GraphicalString.hpp.

Constructor & Destructor Documentation

GraphicalString ( const QString &  value = QString(),
QWidget *  parent = 0 
)

Definition at line 20 of file GraphicalString.cpp.

Definition at line 33 of file GraphicalString.cpp.

Member Function Documentation

bool set_value ( const QVariant &  value)
virtual

Implements GraphicalValue.

Definition at line 40 of file GraphicalString.cpp.

void text_updated ( const QString &  text)
privateslot

Definition at line 56 of file GraphicalString.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 49 of file GraphicalString.cpp.

Member Data Documentation

QLineEdit* m_line_edit
private

Definition at line 44 of file GraphicalString.hpp.


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