Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
A wrapper that handles a registry tree model and its associated viewer object. More...
#include <bayeux/datatools/configuration/ui/variant_repository_viewer.h>
Public Member Functions | |
registry_model_wrapper (QWidget *parent_=0) | |
Default constructor. More... | |
~registry_model_wrapper () | |
Destructor. More... | |
void | reset () |
Reset. More... | |
bool | has_model () const |
Check model. More... | |
const variant_registry_tree_model & | get_model () const |
Return a non mutable reference to the model. More... | |
variant_registry_tree_model & | grab_model () |
Return a mutable reference to the model. More... | |
bool | has_viewer () const |
Check viewer. More... | |
const variant_registry_viewer & | get_viewer () const |
Return a non mutable reference to the viewer. More... | |
variant_registry_viewer & | grab_viewer () |
Return a mutable reference to the viewer. More... | |
variant_registry_viewer * | construct_registry_viewer (variant_registry ®istry_) |
Construct. More... | |
A wrapper that handles a registry tree model and its associated viewer object.
datatools::configuration::ui::registry_model_wrapper::registry_model_wrapper | ( | QWidget * | parent_ = 0 | ) |
Default constructor.
datatools::configuration::ui::registry_model_wrapper::~registry_model_wrapper | ( | ) |
Destructor.
variant_registry_viewer* datatools::configuration::ui::registry_model_wrapper::construct_registry_viewer | ( | variant_registry & | registry_ | ) |
Construct.
const variant_registry_tree_model& datatools::configuration::ui::registry_model_wrapper::get_model | ( | ) | const |
Return a non mutable reference to the model.
const variant_registry_viewer& datatools::configuration::ui::registry_model_wrapper::get_viewer | ( | ) | const |
Return a non mutable reference to the viewer.
variant_registry_tree_model& datatools::configuration::ui::registry_model_wrapper::grab_model | ( | ) |
Return a mutable reference to the model.
variant_registry_viewer& datatools::configuration::ui::registry_model_wrapper::grab_viewer | ( | ) |
Return a mutable reference to the viewer.
bool datatools::configuration::ui::registry_model_wrapper::has_model | ( | ) | const |
Check model.
bool datatools::configuration::ui::registry_model_wrapper::has_viewer | ( | ) | const |
Check viewer.
void datatools::configuration::ui::registry_model_wrapper::reset | ( | ) |
Reset.