Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
datatools::configuration::ui::parameter_item_delegate Class Reference

Item delegate for parameter value. More...

#include <bayeux/datatools/configuration/ui/parameter_item_delegate.h>

Inheritance diagram for datatools::configuration::ui::parameter_item_delegate:

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_repositoryget_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...
 

Detailed Description

Item delegate for parameter value.

Constructor & Destructor Documentation

◆ parameter_item_delegate()

datatools::configuration::ui::parameter_item_delegate::parameter_item_delegate ( QObject *  parent_ = 0)

Default constructor.

◆ ~parameter_item_delegate()

virtual datatools::configuration::ui::parameter_item_delegate::~parameter_item_delegate ( )
virtual

Desstructor.

Member Function Documentation

◆ allowed_dynamically_enabled_values()

bool datatools::configuration::ui::parameter_item_delegate::allowed_dynamically_enabled_values ( ) const

Check if dynamically enabled values is allowed.

◆ createEditor()

virtual QWidget* datatools::configuration::ui::parameter_item_delegate::createEditor ( QWidget *  parent_,
const QStyleOptionViewItem &  option_,
const QModelIndex &  index_ 
) const
virtual

Create editor widget.

◆ get_logging()

datatools::logger::priority datatools::configuration::ui::parameter_item_delegate::get_logging ( ) const

Return the logging priority.

◆ get_parent_repository()

const datatools::configuration::variant_repository& datatools::configuration::ui::parameter_item_delegate::get_parent_repository ( ) const

Return the parent repository.

◆ has_parent_repository()

bool datatools::configuration::ui::parameter_item_delegate::has_parent_repository ( ) const

Check if the parent repository is set.

◆ set_logging()

void datatools::configuration::ui::parameter_item_delegate::set_logging ( datatools::logger::priority  p_)

Set the logging priority.

◆ set_parent_repository()

void datatools::configuration::ui::parameter_item_delegate::set_parent_repository ( const datatools::configuration::variant_repository )

Set the parent repository.

◆ setEditorData()

virtual void datatools::configuration::ui::parameter_item_delegate::setEditorData ( QWidget *  editor_,
const QModelIndex &  index_ 
) const
virtual

Set the initial value in the editor at given index.

◆ setEditorData2()

void datatools::configuration::ui::parameter_item_delegate::setEditorData2 ( QWidget *  editor_,
const QModelIndex &  index_ 
) const

Set the initial value in the editor at given index.

◆ setModelData()

virtual void datatools::configuration::ui::parameter_item_delegate::setModelData ( QWidget *  editor_,
QAbstractItemModel *  model_,
const QModelIndex &  index_ 
) const
virtual

◆ updateEditorGeometry()

virtual void datatools::configuration::ui::parameter_item_delegate::updateEditorGeometry ( QWidget *  editor_,
const QStyleOptionViewItem &  option_,
const QModelIndex &  index_ 
) const
virtual

The documentation for this class was generated from the following file: