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

#include <GraphicalArray.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalArray (QValidator *validator=nullptr, const QString &sep=QString(), QWidget *parent=nullptr)
 
 ~GraphicalArray ()
 
void set_validator (QValidator *validator)
 
virtual bool set_value (const QVariant &path)
 
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
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 

Private Slots

void bt_remove_clicked ()
 

Private Attributes

QLineEdit * m_edit_add
 
QStringListModel * m_model
 
QListView * m_list_view
 
QPushButton * m_bt_remove
 
QGridLayout * m_box_layout
 
QGroupBox * m_group_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 33 of file GraphicalArray.hpp.

Constructor & Destructor Documentation

GraphicalArray ( QValidator *  validator = nullptr,
const QString &  sep = QString(),
QWidget *  parent = nullptr 
)

Definition at line 30 of file GraphicalArray.cpp.

Definition at line 58 of file GraphicalArray.cpp.

Member Function Documentation

void bt_remove_clicked ( )
privateslot

Definition at line 146 of file GraphicalArray.cpp.

void keyPressEvent ( QKeyEvent *  event)
protected

Definition at line 164 of file GraphicalArray.cpp.

void set_validator ( QValidator *  validator)

Definition at line 68 of file GraphicalArray.cpp.

bool set_value ( const QVariant &  path)
virtual

Implements GraphicalValue.

Definition at line 75 of file GraphicalArray.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 139 of file GraphicalArray.cpp.

Member Data Documentation

QGridLayout* m_box_layout
private

Definition at line 68 of file GraphicalArray.hpp.

QPushButton* m_bt_remove
private

Definition at line 66 of file GraphicalArray.hpp.

QLineEdit* m_edit_add
private

Definition at line 60 of file GraphicalArray.hpp.

QGroupBox* m_group_box
private

Definition at line 70 of file GraphicalArray.hpp.

QListView* m_list_view
private

Definition at line 64 of file GraphicalArray.hpp.

QStringListModel* m_model
private

Definition at line 62 of file GraphicalArray.hpp.


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