|
dRonin
adbada4
dRonin GCS
|
A plugin to provide notifications of events in GCS. More...
Namespaces | |
| Core | |
| The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of the GCS. | |
| Ui | |
Classes | |
| class | NotificationItem |
| class | NotifyItemDelegate |
| struct | PhononObject |
| class | SoundNotifyPlugin |
| class | NotifyPluginFactory |
| class | NotifyPluginGadget |
| class | NotifyPluginOptionsPage |
| class | NotifyTableModel |
Typedefs | |
| typedef struct PhononObject * | pPhononObject |
Variables | |
| bool | NotificationItem::isNowPlaying |
| bool | NotificationItem::_isPlayed |
| static QStringList | NotificationItem::sayOrderValues |
| static QStringList | NotificationItem::retryValues |
| QMediaPlayer * | PhononObject::mo |
| NotificationItem * | PhononObject::notify |
| bool | PhononObject::firstPlay |
| static QStringList | NotifyPluginOptionsPage::conditionValues |
| const char * | mime_type_notify_table = "openpilot/notify_plugin_table" |
Signals | |
| void | NotifyPluginOptionsPage::updateNotifications (QList< NotificationItem * > list) |
| void | NotifyPluginOptionsPage::entryUpdated (int index) |
| void | NotifyTableModel::dragRows (int position, int count) |
Public Slots | |
| void | SoundNotifyPlugin::updateNotificationList (QList< NotificationItem * > list) |
| void | NotifyTableModel::entryUpdated (int offset) |
A plugin to provide notifications of events in GCS.
| typedef struct PhononObject * pPhononObject |
| anonymous enum |
| Enumerator | |
|---|---|
| never | |
| beforeFirst | |
| beforeSecond | |
| afterSecond | |
Definition at line 53 of file notificationitem.h.
| anonymous enum |
| Enumerator | |
|---|---|
| repeatOncePerUpdate | |
| repeatOnce | |
| repeatInstantly | |
| repeat10seconds | |
| repeat30seconds | |
| repeat1minute | |
Definition at line 54 of file notificationitem.h.
| anonymous enum |
| Enumerator | |
|---|---|
| equal | |
| bigger | |
| smaller | |
| inrange | |
Definition at line 62 of file notifypluginoptionspage.h.
| anonymous enum |
| Enumerator | |
|---|---|
| eDefaultTimeout | |
Definition at line 51 of file notificationitem.h.
| enum ColumnNames |
| Enumerator | |
|---|---|
| eMessageName | |
| eRepeatValue | |
| eExpireTimer | |
| eTurnOn | |
Definition at line 37 of file notifytablemodel.h.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 122 of file notifypluginoptionspage.cpp.
|
inlinevirtual |
Reimplemented from Core::IOptionsPage.
Definition at line 67 of file notifypluginoptionspage.h.
| bool checkRange | ( | QString | fieldValue, |
| QString | enumValue, | ||
| QStringList | , | ||
| int | direction | ||
| ) |
Definition at line 339 of file notifyplugin.cpp.
| bool checkRange | ( | double | fieldValue, |
| double | min, | ||
| double | max, | ||
| int | direction | ||
| ) |
Definition at line 355 of file notifyplugin.cpp.
|
inline |
Definition at line 53 of file notifytablemodel.h.
| void NotificationItem::copyTo | ( | NotificationItem * | that | ) | const |
Definition at line 86 of file notificationitem.cpp.
| IUAVGadgetConfiguration * NotifyPluginFactory::createConfiguration | ( | const QByteArray & | state | ) |
Definition at line 50 of file notifypluginfactory.cpp.
| QWidget * NotifyItemDelegate::createEditor | ( | QWidget * | parent, |
| const QStyleOptionViewItem & | , | ||
| const QModelIndex & | index | ||
| ) | const |
Definition at line 47 of file notifyitemdelegate.cpp.
|
virtual |
Implements Core::IUAVGadgetFactory.
Definition at line 43 of file notifypluginfactory.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetFactory.
Definition at line 55 of file notifypluginfactory.cpp.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 76 of file notifypluginoptionspage.cpp.
| QVariant NotifyTableModel::data | ( | const QModelIndex & | index, |
| int | role | ||
| ) | const |
Definition at line 76 of file notifytablemodel.cpp.
|
inline |
Definition at line 67 of file notificationitem.h.
| void NotificationItem::deserialize | ( | QDataStream & | stream | ) |
Definition at line 166 of file notificationitem.cpp.
| void NotificationItem::disposeExpireTimer | ( | ) |
Definition at line 235 of file notificationitem.cpp.
| void NotificationItem::disposeTimer | ( | ) |
Definition at line 210 of file notificationitem.cpp.
| bool NotifyTableModel::dropMimeData | ( | const QMimeData * | data, |
| Qt::DropAction | action, | ||
| int | row, | ||
| int | column, | ||
| const QModelIndex & | parent | ||
| ) |
Definition at line 185 of file notifytablemodel.cpp.
| void NotifyTableModel::entryAdded | ( | NotificationItem * | item | ) |
Definition at line 164 of file notifytablemodel.cpp.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 129 of file notifypluginoptionspage.cpp.
|
inline |
Definition at line 55 of file notifytablemodel.h.
|
inline |
Definition at line 74 of file notificationitem.h.
|
inline |
Definition at line 95 of file notificationitem.h.
|
inline |
Definition at line 86 of file notificationitem.h.
|
inline |
Definition at line 150 of file notificationitem.h.
|
inline |
Definition at line 98 of file notificationitem.h.
|
inline |
Definition at line 89 of file notificationitem.h.
|
inline |
Definition at line 77 of file notificationitem.h.
| QString NotificationItem::getSoundCaption | ( | QString | fileName | ) |
Returns sound caption name, needed to create string representation of notification.
Definition at line 410 of file notificationitem.cpp.
|
inline |
Definition at line 92 of file notificationitem.h.
|
inline |
Definition at line 144 of file notificationitem.h.
| UAVDataObject * NotificationItem::getUAVObject | ( | void | ) |
Definition at line 425 of file notificationitem.cpp.
| UAVObjectField * NotificationItem::getUAVObjectField | ( | void | ) |
Definition at line 420 of file notificationitem.cpp.
| int getValuePosition | ( | QString | sayOrder | ) |
Definition at line 244 of file notificationitem.cpp.
| QVariant NotifyTableModel::headerData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| int | role | ||
| ) | const |
Definition at line 111 of file notifytablemodel.cpp.
|
inlinevirtual |
Reimplemented from Core::IOptionsPage.
Definition at line 65 of file notifypluginoptionspage.h.
| bool NotifyTableModel::insertRows | ( | int | position, |
| int | rows, | ||
| const QModelIndex & | index | ||
| ) |
Definition at line 124 of file notifytablemodel.cpp.
|
inline |
Definition at line 104 of file notificationitem.h.
|
virtual |
Reimplemented from Core::IUAVGadget.
| QMimeData * NotifyTableModel::mimeData | ( | const QModelIndexList & | indexes | ) | const |
Definition at line 245 of file notifytablemodel.cpp.
| QStringList NotifyTableModel::mimeTypes | ( | ) | const |
Definition at line 178 of file notifytablemodel.cpp.
|
inline |
Definition at line 107 of file notificationitem.h.
|
explicit |
Definition at line 47 of file notificationitem.cpp.
| NotifyItemDelegate::NotifyItemDelegate | ( | QObject * | parent = nullptr | ) |
Definition at line 41 of file notifyitemdelegate.cpp.
| NotifyPluginFactory::NotifyPluginFactory | ( | QObject * | parent = 0 | ) |
Definition at line 36 of file notifypluginfactory.cpp.
| NotifyPluginGadget::NotifyPluginGadget | ( | QString | classId, |
| NotifyPluginGadgetWidget * | widget, | ||
| QWidget * | parent = 0 |
||
| ) |
|
explicit |
Definition at line 55 of file notifypluginoptionspage.cpp.
| NotifyTableModel::NotifyTableModel | ( | QList< NotificationItem * > & | parentList, |
| QObject * | parent = nullptr |
||
| ) |
Definition at line 39 of file notifytablemodel.cpp.
| QNoDebug qNotifyDebug | ( | ) |
Definition at line 34 of file notifylogging.cpp.
| bool NotifyTableModel::removeRows | ( | int | position, |
| int | rows, | ||
| const QModelIndex & | index | ||
| ) |
Definition at line 141 of file notifytablemodel.cpp.
| void NotificationItem::restartTimer | ( | ) |
Definition at line 194 of file notificationitem.cpp.
| void NotifyPluginOptionsPage::restoreFromSettings | ( | ) |
| void NotificationItem::restoreState | ( | QSettings * | settings | ) |
Definition at line 126 of file notificationitem.cpp.
|
inline |
Definition at line 101 of file notificationitem.h.
|
inline |
Definition at line 47 of file notifytablemodel.h.
| void NotificationItem::saveState | ( | QSettings * | settings | ) | const |
Definition at line 107 of file notificationitem.cpp.
| void NotificationItem::serialize | ( | QDataStream & | stream | ) |
Definition at line 147 of file notificationitem.cpp.
|
inline |
Definition at line 75 of file notificationitem.h.
|
inline |
Definition at line 96 of file notificationitem.h.
|
inline |
Definition at line 72 of file notificationitem.h.
| bool NotifyTableModel::setData | ( | const QModelIndex & | index, |
| const QVariant & | value, | ||
| int | role | ||
| ) |
Definition at line 50 of file notifytablemodel.cpp.
|
inline |
Definition at line 87 of file notificationitem.h.
| void NotifyItemDelegate::setEditorData | ( | QWidget * | editor, |
| const QModelIndex & | index | ||
| ) | const |
Definition at line 103 of file notifyitemdelegate.cpp.
|
inline |
Definition at line 105 of file notificationitem.h.
|
inline |
Definition at line 99 of file notificationitem.h.
| void NotifyItemDelegate::setModelData | ( | QWidget * | editor, |
| QAbstractItemModel * | model, | ||
| const QModelIndex & | index | ||
| ) | const |
Definition at line 126 of file notifyitemdelegate.cpp.
|
inline |
Definition at line 108 of file notificationitem.h.
|
inline |
Definition at line 90 of file notificationitem.h.
|
inline |
Definition at line 102 of file notificationitem.h.
|
inline |
Definition at line 78 of file notificationitem.h.
|
inline |
Definition at line 81 of file notificationitem.h.
|
inline |
Definition at line 93 of file notificationitem.h.
|
inline |
Definition at line 84 of file notificationitem.h.
|
inline |
Definition at line 80 of file notificationitem.h.
| QSize NotifyItemDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
| const QModelIndex & | index | ||
| ) | const |
Definition at line 163 of file notifyitemdelegate.cpp.
| void NotificationItem::startExpireTimer | ( | ) |
Definition at line 219 of file notificationitem.cpp.
| void NotificationItem::startTimer | ( | int | value | ) |
Definition at line 184 of file notificationitem.cpp.
| void NotificationItem::stopExpireTimer | ( | ) |
Definition at line 227 of file notificationitem.cpp.
| void NotificationItem::stopTimer | ( | ) |
Definition at line 202 of file notificationitem.cpp.
| QString stringFromValue | ( | QVariant | value, |
| UAVObjectField * | field | ||
| ) |
Definition at line 324 of file notificationitem.cpp.
| Qt::DropActions NotifyTableModel::supportedDropActions | ( | ) | const |
Definition at line 173 of file notifytablemodel.cpp.
| QStringList & NotificationItem::toSoundList | ( | ) |
Generate list of sound files needed to play notification
Definition at line 372 of file notificationitem.cpp.
| QString NotificationItem::toString | ( | ) |
Convert notification item fields in single string, to show in table for example
Definition at line 341 of file notificationitem.cpp.
|
inlinevirtual |
Reimplemented from Core::IOptionsPage.
Definition at line 68 of file notifypluginoptionspage.h.
|
inlinevirtual |
Reimplemented from Core::IOptionsPage.
Definition at line 66 of file notifypluginoptionspage.h.
|
inline |
Definition at line 83 of file notificationitem.h.
| QStringList valueToSoundList | ( | QString | value | ) |
Definition at line 264 of file notificationitem.cpp.
| NotifyPluginFactory::~NotifyPluginFactory | ( | ) |
Definition at line 41 of file notifypluginfactory.cpp.
| NotifyPluginGadget::~NotifyPluginGadget | ( | ) |
| NotifyPluginOptionsPage::~NotifyPluginOptionsPage | ( | ) |
Definition at line 72 of file notifypluginoptionspage.cpp.
| bool NotificationItem::_isPlayed |
Definition at line 157 of file notificationitem.h.
|
static |
Definition at line 74 of file notifypluginoptionspage.h.
| bool PhononObject::firstPlay |
Definition at line 49 of file notifyplugin.h.
| bool NotificationItem::isNowPlaying |
Definition at line 156 of file notificationitem.h.
| const char* mime_type_notify_table = "openpilot/notify_plugin_table" |
Definition at line 37 of file notifytablemodel.cpp.
| QMediaPlayer* PhononObject::mo |
Definition at line 47 of file notifyplugin.h.
| NotificationItem* PhononObject::notify |
Definition at line 48 of file notifyplugin.h.
|
static |
Definition at line 160 of file notificationitem.h.
|
static |
Definition at line 159 of file notificationitem.h.
|
signal |
|
signal |
|
signal |
|
slot |
Definition at line 158 of file notifytablemodel.cpp.
|
slot |
update list of notifies; will be perform on OK or APPLY press of option page
Definition at line 165 of file notifyplugin.cpp.