dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
WaypointDelegate Class Reference

The WaypointDelegate class is used to handle updating the values in the mode combo box to the data model. More...

#include <waypointdelegate.h>

Inheritance diagram for WaypointDelegate:

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

Detailed Description

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.


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