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

#include <GraphicalBool.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalBool (bool value=false, QWidget *parent=0)
 
 ~GraphicalBool ()
 
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 state_changed (int state)
 

Private Attributes

QCheckBox * m_check_box
 

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 GraphicalBool.hpp.

Constructor & Destructor Documentation

GraphicalBool ( bool  value = false,
QWidget *  parent = 0 
)

Definition at line 24 of file GraphicalBool.cpp.

Definition at line 38 of file GraphicalBool.cpp.

Member Function Documentation

bool set_value ( const QVariant &  value)
virtual

Implements GraphicalValue.

Definition at line 45 of file GraphicalBool.cpp.

void state_changed ( int  state)
privateslot

Definition at line 71 of file GraphicalBool.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 64 of file GraphicalBool.cpp.

Member Data Documentation

QCheckBox* m_check_box
private

Definition at line 43 of file GraphicalBool.hpp.


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