dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Telemetry Scheduler Gadget Plugin

A dialog box for editing a UAVO's metadata. More...

Namespaces

 Core
 The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of the GCS.
 

Classes

class  MetadataDialog
 
class  TelemetrySchedulerGadget
 
class  TelemetrySchedulerGadgetFactory
 
class  TelemetrySchedulerGadgetWidget
 
class  SchedulerModel
 The SchedulerModel class Subclasses QStandardItemModel in order to reimplement the editable flags. More...
 
class  QFrozenTableViewWithCopyPaste
 The QFrozenTableViewWithCopyPaste class QTableView with support for a frozen row as well as copy and paste added. Here copy and paste can copy/paste the entire grid of cells. Modified from http://stackoverflow.com/questions/1230222/selected-rows-line-in-qtableview-copy-to-qclipboard. More...
 
class  SpinBoxDelegate
 
class  TelemetrySchedulerPlugin
 

Functions

 MetadataDialog::MetadataDialog (UAVObject::Metadata mdata, QWidget *parent=nullptr)
 
 MetadataDialog::~MetadataDialog ()
 
UAVObject::Metadata MetadataDialog::getMetadata ()
 
bool MetadataDialog::getResetDefaults_flag ()
 
bool MetadataDialog::getSaveState_flag ()
 
 TelemetrySchedulerGadget::TelemetrySchedulerGadget (QString classId, TelemetrySchedulerGadgetWidget *widget, QWidget *parent=nullptr)
 
 TelemetrySchedulerGadget::~TelemetrySchedulerGadget ()
 
QList< int > TelemetrySchedulerGadget::context () const
 
QWidget * TelemetrySchedulerGadget::widget ()
 
QString TelemetrySchedulerGadget::contextHelpId () const
 
 TelemetrySchedulerGadgetFactory::TelemetrySchedulerGadgetFactory (QObject *parent=nullptr)
 
 TelemetrySchedulerGadgetFactory::~TelemetrySchedulerGadgetFactory ()
 
IUAVGadget * TelemetrySchedulerGadgetFactory::createGadget (QWidget *parent)
 
 TelemetrySchedulerGadgetWidget::TelemetrySchedulerGadgetWidget (QWidget *parent=nullptr)
 
 TelemetrySchedulerGadgetWidget::~TelemetrySchedulerGadgetWidget ()
 
 SchedulerModel::SchedulerModel (int rows, int cols, QObject *parent=nullptr)
 
 SchedulerModel::~SchedulerModel ()
 
Qt::ItemFlags SchedulerModel::flags (const QModelIndex &index) const
 
 QFrozenTableViewWithCopyPaste::QFrozenTableViewWithCopyPaste (QAbstractItemModel *model)
 
 QFrozenTableViewWithCopyPaste::~QFrozenTableViewWithCopyPaste ()
 
QStandardItemModel * QFrozenTableViewWithCopyPaste::getFrozenModel ()
 
QTableView * QFrozenTableViewWithCopyPaste::getFrozenTableView ()
 
void QFrozenTableViewWithCopyPaste::setHorizontalHeaderItem (int column, QStandardItem *item)
 QFrozenTableViewWithCopyPaste::setHorizontalHeaderItem Ensures that the frozen table geometry is updated when calling QStandardItemModel::setHorizontalHeaderItem() More...
 
bool QFrozenTableViewWithCopyPaste::removeColumns (int column, int count, const QModelIndex &parent=QModelIndex())
 QFrozenTableViewWithCopyPaste::removeColumns Ensures that the frozen table geometry is updated when calling QStandardItemModel::removeColumns() More...
 
void QFrozenTableViewWithCopyPaste::fixGeometry (int value)
 This class uses a tableview inside a table view to achieve the frozen row effect on the 1st row this function is used to keep both tables column width in sync. More...
 
virtual void QFrozenTableViewWithCopyPaste::keyPressEvent (QKeyEvent *event)
 
virtual void QFrozenTableViewWithCopyPaste::resizeEvent (QResizeEvent *event)
 
void QFrozenTableViewWithCopyPaste::scrollTo (const QModelIndex &index, ScrollHint hint=EnsureVisible)
 
 SpinBoxDelegate::SpinBoxDelegate (QObject *parent=nullptr)
 
QWidget * SpinBoxDelegate::createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void SpinBoxDelegate::setEditorData (QWidget *editor, const QModelIndex &index) const
 
void SpinBoxDelegate::setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 
void SpinBoxDelegate::updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Detailed Description

A dialog box for editing a UAVO's metadata.

A gadget to edit the telemetry scheduling list.

Function Documentation

QList<int> TelemetrySchedulerGadget::context ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 46 of file telemetryschedulergadget.h.

QString TelemetrySchedulerGadget::contextHelpId ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 48 of file telemetryschedulergadget.h.

QWidget* SpinBoxDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
IUAVGadget * TelemetrySchedulerGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 40 of file telemetryschedulergadgetfactory.cpp.

void QFrozenTableViewWithCopyPaste::fixGeometry ( int  value)

This class uses a tableview inside a table view to achieve the frozen row effect on the 1st row this function is used to keep both tables column width in sync.

Definition at line 1109 of file telemetryschedulergadgetwidget.cpp.

Qt::ItemFlags SchedulerModel::flags ( const QModelIndex &  index) const
inline

Definition at line 116 of file telemetryschedulergadgetwidget.h.

QStandardItemModel* QFrozenTableViewWithCopyPaste::getFrozenModel ( )
inline

Definition at line 140 of file telemetryschedulergadgetwidget.h.

QTableView* QFrozenTableViewWithCopyPaste::getFrozenTableView ( )
inline

Definition at line 141 of file telemetryschedulergadgetwidget.h.

UAVObject::Metadata MetadataDialog::getMetadata ( )
inline

Definition at line 41 of file metadata_dialog.h.

bool MetadataDialog::getResetDefaults_flag ( )
inline

Definition at line 42 of file metadata_dialog.h.

bool MetadataDialog::getSaveState_flag ( )
inline

Definition at line 43 of file metadata_dialog.h.

void QFrozenTableViewWithCopyPaste::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Definition at line 1010 of file telemetryschedulergadgetwidget.cpp.

MetadataDialog::MetadataDialog ( UAVObject::Metadata  mdata,
QWidget *  parent = nullptr 
)

Definition at line 37 of file metadata_dialog.cpp.

QFrozenTableViewWithCopyPaste::QFrozenTableViewWithCopyPaste ( QAbstractItemModel *  model)

Definition at line 1023 of file telemetryschedulergadgetwidget.cpp.

bool QFrozenTableViewWithCopyPaste::removeColumns ( int  column,
int  count,
const QModelIndex &  parent = QModelIndex() 
)

QFrozenTableViewWithCopyPaste::removeColumns Ensures that the frozen table geometry is updated when calling QStandardItemModel::removeColumns()

Definition at line 1156 of file telemetryschedulergadgetwidget.cpp.

void QFrozenTableViewWithCopyPaste::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Definition at line 1117 of file telemetryschedulergadgetwidget.cpp.

SchedulerModel::SchedulerModel ( int  rows,
int  cols,
QObject *  parent = nullptr 
)
inline

Definition at line 108 of file telemetryschedulergadgetwidget.h.

void QFrozenTableViewWithCopyPaste::scrollTo ( const QModelIndex &  index,
ScrollHint  hint = EnsureVisible 
)
protected

Definition at line 1122 of file telemetryschedulergadgetwidget.cpp.

void SpinBoxDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
void QFrozenTableViewWithCopyPaste::setHorizontalHeaderItem ( int  column,
QStandardItem *  item 
)

QFrozenTableViewWithCopyPaste::setHorizontalHeaderItem Ensures that the frozen table geometry is updated when calling QStandardItemModel::setHorizontalHeaderItem()

Definition at line 1146 of file telemetryschedulergadgetwidget.cpp.

void SpinBoxDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
SpinBoxDelegate::SpinBoxDelegate ( QObject *  parent = nullptr)
TelemetrySchedulerGadget::TelemetrySchedulerGadget ( QString  classId,
TelemetrySchedulerGadgetWidget widget,
QWidget *  parent = nullptr 
)

Definition at line 33 of file telemetryschedulergadget.cpp.

TelemetrySchedulerGadgetFactory::TelemetrySchedulerGadgetFactory ( QObject *  parent = nullptr)

Definition at line 31 of file telemetryschedulergadgetfactory.cpp.

TelemetrySchedulerGadgetWidget::TelemetrySchedulerGadgetWidget ( QWidget *  parent = nullptr)

Definition at line 58 of file telemetryschedulergadgetwidget.cpp.

void SpinBoxDelegate::updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
QWidget* TelemetrySchedulerGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 47 of file telemetryschedulergadget.h.

MetadataDialog::~MetadataDialog ( )

Definition at line 77 of file metadata_dialog.cpp.

QFrozenTableViewWithCopyPaste::~QFrozenTableViewWithCopyPaste ( )

Definition at line 1042 of file telemetryschedulergadgetwidget.cpp.

SchedulerModel::~SchedulerModel ( )
inline

Definition at line 113 of file telemetryschedulergadgetwidget.h.

TelemetrySchedulerGadget::~TelemetrySchedulerGadget ( )

Definition at line 41 of file telemetryschedulergadget.cpp.

TelemetrySchedulerGadgetFactory::~TelemetrySchedulerGadgetFactory ( )

Definition at line 36 of file telemetryschedulergadgetfactory.cpp.

TelemetrySchedulerGadgetWidget::~TelemetrySchedulerGadgetWidget ( )

Definition at line 201 of file telemetryschedulergadgetwidget.cpp.