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

#include <GraphicalUriArray.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalUriArray (const QString &sep=QString(), QWidget *parent=nullptr)
 
 ~GraphicalUriArray ()
 
void set_protocols (const std::vector< std::string > &protocols)
 
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
 

Private Slots

void bt_add_clicked ()
 
void bt_remove_clicked ()
 
void scheme_changed (const QString &type)
 
void move_up ()
 
void move_down ()
 
void selection_changed (const QItemSelection &selected, const QItemSelection &delected)
 

Private Member Functions

void move_items (int step)
 

Private Attributes

QLineEdit * m_edit_add
 
QStringListModel * m_model
 
QListView * m_list_view
 
QPushButton * m_bt_add
 
QPushButton * m_bt_remove
 
QPushButton * m_bt_up
 
QPushButton * m_bt_down
 
QVBoxLayout * m_buttons_layout
 
QComboBox * m_combo_type
 
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 35 of file GraphicalUriArray.hpp.

Constructor & Destructor Documentation

GraphicalUriArray ( const QString &  sep = QString(),
QWidget *  parent = nullptr 
)

Definition at line 38 of file GraphicalUriArray.cpp.

Definition at line 85 of file GraphicalUriArray.cpp.

Member Function Documentation

void bt_add_clicked ( )
privateslot

Definition at line 164 of file GraphicalUriArray.cpp.

void bt_remove_clicked ( )
privateslot

Definition at line 214 of file GraphicalUriArray.cpp.

void move_down ( )
privateslot

Definition at line 247 of file GraphicalUriArray.cpp.

void move_items ( int  step)
private

Definition at line 254 of file GraphicalUriArray.cpp.

void move_up ( )
privateslot

Definition at line 240 of file GraphicalUriArray.cpp.

void scheme_changed ( const QString &  type)
privateslot

Definition at line 232 of file GraphicalUriArray.cpp.

void selection_changed ( const QItemSelection &  selected,
const QItemSelection &  delected 
)
privateslot

Definition at line 285 of file GraphicalUriArray.cpp.

void set_protocols ( const std::vector< std::string > &  protocols)

Definition at line 98 of file GraphicalUriArray.cpp.

bool set_value ( const QVariant &  path)
virtual

Implements GraphicalValue.

Definition at line 120 of file GraphicalUriArray.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 157 of file GraphicalUriArray.cpp.

Member Data Documentation

QGridLayout* m_box_layout
private

Definition at line 89 of file GraphicalUriArray.hpp.

QPushButton* m_bt_add
private

Definition at line 77 of file GraphicalUriArray.hpp.

QPushButton* m_bt_down
private

Definition at line 83 of file GraphicalUriArray.hpp.

QPushButton* m_bt_remove
private

Definition at line 79 of file GraphicalUriArray.hpp.

QPushButton* m_bt_up
private

Definition at line 81 of file GraphicalUriArray.hpp.

QVBoxLayout* m_buttons_layout
private

Definition at line 85 of file GraphicalUriArray.hpp.

QComboBox* m_combo_type
private

Definition at line 87 of file GraphicalUriArray.hpp.

QLineEdit* m_edit_add
private

Definition at line 71 of file GraphicalUriArray.hpp.

QGroupBox* m_group_box
private

Definition at line 91 of file GraphicalUriArray.hpp.

QListView* m_list_view
private

Definition at line 75 of file GraphicalUriArray.hpp.

QStringListModel* m_model
private

Definition at line 73 of file GraphicalUriArray.hpp.


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