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

#include <GraphicalRestrictedList.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalRestrictedList (const boost::shared_ptr< cf3::common::Option > &opt=boost::shared_ptr< cf3::common::Option >(), QWidget *parent=0)
 
 ~GraphicalRestrictedList ()
 
void set_restricted_list (const QStringList &list)
 
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 current_index_changed (int)
 

Private Member Functions

template<typename TYPE >
void vect_to_stringlist (const std::vector< boost::any > &vect, QStringList &list) const
 

Private Attributes

QComboBox * m_comboChoices
 

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

Constructor & Destructor Documentation

GraphicalRestrictedList ( const boost::shared_ptr< cf3::common::Option > &  opt = boost::shared_ptr<cf3::common::Option>(),
QWidget *  parent = 0 
)

Definition at line 26 of file GraphicalRestrictedList.cpp.

Definition at line 64 of file GraphicalRestrictedList.cpp.

Member Function Documentation

void current_index_changed ( int  )
privateslot

Definition at line 114 of file GraphicalRestrictedList.cpp.

void set_restricted_list ( const QStringList &  list)

Definition at line 71 of file GraphicalRestrictedList.cpp.

bool set_value ( const QVariant &  value)
virtual

Implements GraphicalValue.

Definition at line 86 of file GraphicalRestrictedList.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 107 of file GraphicalRestrictedList.cpp.

void vect_to_stringlist ( const std::vector< boost::any > &  vect,
QStringList &  list 
) const
private

Definition at line 122 of file GraphicalRestrictedList.cpp.

Member Data Documentation

QComboBox* m_comboChoices
private

Definition at line 47 of file GraphicalRestrictedList.hpp.


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