4#include <QtCore/QObject>
6#include <QtCore/QString>
7#include <QtCore/QStringList>
8#include <QtCore/QVariantList>
9#include <QtQmlIntegration/QtQmlIntegration>
37 QVariantList
fieldRows()
const {
return _fieldRows; }
40 Q_INVOKABLE
void clear();
41 Q_INVOKABLE
void openTLog(
const QString &path);
42 Q_INVOKABLE
void openBinLog(
const QString &path);
52 Q_INVOKABLE QString
fieldColor(
const QString &fieldName)
const;
53 Q_INVOKABLE QString
eventColor(
const QString &eventType)
const;
62 void _rebuildFieldRows();
63 QString _assignColorForKey(
const QString &key)
const;
67 QString _currentLogPath;
68 QStringList _plottableFields;
69 QVariantList _fieldRows;
70 QStringList _selectedFields;
71 QSet<QString> _expandedGroups;
Q_INVOKABLE bool isGroupExpanded(const QString &groupName) const
Q_INVOKABLE void openTLog(const QString &path)
void currentLogPathChanged()
Q_INVOKABLE void openBinLog(const QString &path)
bool hasLoadedLog() const
SourceType sourceType() const
Q_INVOKABLE void setPlottableFields(const QStringList &fieldNames)
Q_INVOKABLE bool isFieldSelected(const QString &fieldName) const
Q_INVOKABLE QString fieldColor(const QString &fieldName) const
QString currentLogPath() const
Q_INVOKABLE void setFieldSelected(const QString &fieldName, bool selected)
QStringList selectedFields() const
Q_INVOKABLE void clearSelection()
Q_INVOKABLE void openULogFile(const QString &path)
Q_INVOKABLE void toggleGroupExpanded(const QString &groupName)
Q_INVOKABLE QString eventColor(const QString &eventType) const
void selectedFieldsChanged()
QVariantList fieldRows() const