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

#include <GraphicalInt.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalInt (bool isUint, QVariant value=0, QWidget *parent=0)
 
 ~GraphicalInt ()
 
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 integer_changed (double value)
 

Private Attributes

QDoubleSpinBox * m_spin_box
 
bool m_isUint
 

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

Constructor & Destructor Documentation

GraphicalInt ( bool  isUint,
QVariant  value = 0,
QWidget *  parent = 0 
)

Definition at line 25 of file GraphicalInt.cpp.

Definition at line 50 of file GraphicalInt.cpp.

Member Function Documentation

void integer_changed ( double  value)
privateslot

Definition at line 81 of file GraphicalInt.cpp.

bool set_value ( const QVariant &  value)
virtual

Implements GraphicalValue.

Definition at line 57 of file GraphicalInt.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 71 of file GraphicalInt.cpp.

Member Data Documentation

bool m_isUint
private

Definition at line 46 of file GraphicalInt.hpp.

QDoubleSpinBox* m_spin_box
private

Definition at line 44 of file GraphicalInt.hpp.


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