Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Item delegate for parameter value. More...
#include <bayeux/datatools/configuration/ui/parameter_item_delegate.h>
Public Member Functions | |
parameter_item_delegate (QObject *parent_=0) | |
Default constructor. More... | |
virtual | ~parameter_item_delegate () |
Desstructor. More... | |
bool | has_parent_repository () const |
Check if the parent repository is set. More... | |
void | set_parent_repository (const datatools::configuration::variant_repository &) |
Set the parent repository. More... | |
const datatools::configuration::variant_repository & | get_parent_repository () const |
Return the parent repository. More... | |
bool | allowed_dynamically_enabled_values () const |
Check if dynamically enabled values is allowed. More... | |
virtual QWidget * | createEditor (QWidget *parent_, const QStyleOptionViewItem &option_, const QModelIndex &index_) const |
Create editor widget. More... | |
virtual void | setEditorData (QWidget *editor_, const QModelIndex &index_) const |
Set the initial value in the editor at given index. More... | |
void | setEditorData2 (QWidget *editor_, const QModelIndex &index_) const |
Set the initial value in the editor at given index. More... | |
virtual void | setModelData (QWidget *editor_, QAbstractItemModel *model_, const QModelIndex &index_) const |
virtual void | updateEditorGeometry (QWidget *editor_, const QStyleOptionViewItem &option_, const QModelIndex &index_) const |
void | set_logging (datatools::logger::priority p_) |
Set the logging priority. More... | |
datatools::logger::priority | get_logging () const |
Return the logging priority. More... | |
Item delegate for parameter value.
datatools::configuration::ui::parameter_item_delegate::parameter_item_delegate | ( | QObject * | parent_ = 0 | ) |
Default constructor.
|
virtual |
Desstructor.
bool datatools::configuration::ui::parameter_item_delegate::allowed_dynamically_enabled_values | ( | ) | const |
Check if dynamically enabled values is allowed.
|
virtual |
Create editor widget.
datatools::logger::priority datatools::configuration::ui::parameter_item_delegate::get_logging | ( | ) | const |
Return the logging priority.
const datatools::configuration::variant_repository& datatools::configuration::ui::parameter_item_delegate::get_parent_repository | ( | ) | const |
Return the parent repository.
bool datatools::configuration::ui::parameter_item_delegate::has_parent_repository | ( | ) | const |
Check if the parent repository is set.
void datatools::configuration::ui::parameter_item_delegate::set_logging | ( | datatools::logger::priority | p_ | ) |
Set the logging priority.
void datatools::configuration::ui::parameter_item_delegate::set_parent_repository | ( | const datatools::configuration::variant_repository & | ) |
Set the parent repository.
|
virtual |
Set the initial value in the editor at given index.
void datatools::configuration::ui::parameter_item_delegate::setEditorData2 | ( | QWidget * | editor_, |
const QModelIndex & | index_ | ||
) | const |
Set the initial value in the editor at given index.
|
virtual |
|
virtual |