4#include <QtCore/QObject>
6#include <QtCore/QString>
7#include <QtCore/QStringList>
8#include <QtCore/QVariantList>
9#include <QtQmlIntegration/QtQmlIntegration>
40 QVariantList
fieldRows()
const {
return _fieldRows; }
43 Q_INVOKABLE
void clear();
44 Q_INVOKABLE
void openTLog(
const QString &path);
45 Q_INVOKABLE
void openBinLog(
const QString &path);
55 Q_INVOKABLE QString
fieldColor(
const QString &fieldName)
const;
56 Q_INVOKABLE QString
eventColor(
const QString &eventType)
const;
66 void _rebuildFieldRows();
67 QString _assignColorForKey(
const QString &key)
const;
71 QString _currentLogPath;
72 QStringList _plottableFields;
73 QVariantList _fieldRows;
74 QStringList _selectedFields;
75 QSet<QString> _expandedGroups;
Q_INVOKABLE bool isGroupExpanded(const QString &groupName) const
void plottableFieldsChanged()
Q_INVOKABLE void openTLog(const QString &path)
QStringList plottableFields() const
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