|
FactDev
0.1
|
The UnitComboDelegate class. More...
#include <unitcombodelegate.h>
Public Member Functions | |
| UnitComboDelegate (QObject *parent=0) | |
| UnitComboDelegate::UnitComboDelegate. More... | |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| UnitComboDelegate::createEditor Return a ComboBox specified by index item defined by the parent widget and style option which are used to control how the editor widgets appears. More... | |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| UnitComboDelegate::paint Renders the delegate using the given painter and style option for the item specified by index More... | |
Public Member Functions inherited from Gui::Widgets::Delegates::ComboBoxDelegate | |
| ComboBoxDelegate (QObject *parent=0) | |
| ComboBoxDelegate::ComboBoxDelegate Construct a ComboBoxDelegate. More... | |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| ComboBoxDelegate::setEditorData Sets the data to be displayed and edited by the editor from the data model item specified by the model index More... | |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| ComboBoxDelegate::setModelData Gets data from the editor widget and stores it in the specified model at the item index More... | |
| void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| ComboBoxDelegate::updateEditorGeometry Update the editor for the item specified by index according to the style option given. More... | |
The UnitComboDelegate class.
| Gui::Widgets::Delegates::UnitComboDelegate::UnitComboDelegate | ( | QObject * | parent = 0 | ) |
UnitComboDelegate::UnitComboDelegate.
| parent |
|
virtual |
UnitComboDelegate::createEditor Return a ComboBox specified by index item defined by the parent widget and style option which are used to control how the editor widgets appears.
| parent | Widget parent |
| option | Option style |
| index | Index for editing |
Implements Gui::Widgets::Delegates::ComboBoxDelegate.
|
virtual |
UnitComboDelegate::paint Renders the delegate using the given painter and style option for the item specified by index
| parent | Widget parent |
| option | Option style |
| index | Index for editing |
Implements Gui::Widgets::Delegates::ComboBoxDelegate.