|
dRonin
adbada4
dRonin GCS
|
The WaypointDelegate class is used to handle updating the values in the mode combo box to the data model. More...
#include <waypointdelegate.h>
Public Member Functions | |
| WaypointDelegate (QObject *parent=nullptr) | |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| Create the QComboxBox for the mode or pass to the default implementation. More... | |
| bool | eventFilter (QObject *object, QEvent *event) |
| This filter is required to make combo boxes work. More... | |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| Set data in the UI when the model is changed. More... | |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| Set data in the model when the UI is changed. More... | |
| void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| Update the size of the editor widget. More... | |
| QString | displayText (const QVariant &value, const QLocale &locale) const |
| Convert the variant to a string value. More... | |
| void | loadComboBox (QComboBox *combo) const |
| Populate the selections in the mode combo box. More... | |
The WaypointDelegate class is used to handle updating the values in the mode combo box to the data model.
Definition at line 38 of file waypointdelegate.h.