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

#include <GraphicalUri.hpp>

Inherits GraphicalValue.

Public Member Functions

 GraphicalUri (const boost::shared_ptr< cf3::common::OptionURI > &opt=boost::shared_ptr< cf3::common::OptionURI >(), QWidget *parent=0)
 
 ~GraphicalUri ()
 
virtual bool set_value (const QVariant &path)
 
virtual QVariant value () const
 
void set_schemes (const std::vector< common::URI::Scheme::Type > &list)
 
- 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_browse_clicked ()
 
void update_model (const QString &path)
 
void scheme_changed (const QString &type)
 

Private Attributes

QLineEdit * m_edit_path
 
QPushButton * m_bt_browse
 
QComboBox * m_combo_schemes
 
QCompleter * m_completer
 
QStringListModel * m_completer_model
 
QString m_current_type
 

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 31 of file GraphicalUri.hpp.

Constructor & Destructor Documentation

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

Definition at line 32 of file GraphicalUri.cpp.

Definition at line 66 of file GraphicalUri.cpp.

Member Function Documentation

void bt_browse_clicked ( )
privateslot

Definition at line 136 of file GraphicalUri.cpp.

void scheme_changed ( const QString &  type)
privateslot

Definition at line 168 of file GraphicalUri.cpp.

void set_schemes ( const std::vector< common::URI::Scheme::Type > &  list)

Definition at line 92 of file GraphicalUri.cpp.

bool set_value ( const QVariant &  path)
virtual

Implements GraphicalValue.

Definition at line 120 of file GraphicalUri.cpp.

void update_model ( const QString &  path)
privateslot

Definition at line 161 of file GraphicalUri.cpp.

QVariant value ( ) const
virtual

Implements GraphicalValue.

Definition at line 76 of file GraphicalUri.cpp.

Member Data Documentation

QPushButton* m_bt_browse
private

Definition at line 60 of file GraphicalUri.hpp.

QComboBox* m_combo_schemes
private

Definition at line 62 of file GraphicalUri.hpp.

QCompleter* m_completer
private

Definition at line 64 of file GraphicalUri.hpp.

QStringListModel* m_completer_model
private

Definition at line 66 of file GraphicalUri.hpp.

QString m_current_type
private

Definition at line 68 of file GraphicalUri.hpp.

QLineEdit* m_edit_path
private

Definition at line 58 of file GraphicalUri.hpp.


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