1#ifndef CANSIGNALVIEWER_P_H
2#define CANSIGNALVIEWER_P_H
6#include <QElapsedTimer>
41 void sort(
const int clickedIndex);
42 void setFilter(
bool enabled);
48 Qt::SortOrder _currentSortOrder{ Qt::AscendingOrder };
50 std::tuple<QStandardItem*, QStandardItem*, QStandardItem*, QStandardItem*, QStandardItem*, QStandardItem*>>
53 std::tuple<QStandardItem*, QStandardItem*, QStandardItem*, QStandardItem*, QStandardItem*, QStandardItem*>>
58 const QString _nameProperty =
"name";
65 std::make_tuple(_nameProperty, QVariant::String,
true, cf(
nullptr))
Context< CanSignalViewerGuiInt > CanSignalViewerCtx
Definition cansignalviewer.h:13
Definition cansignalviewer.h:16
Definition cansignalviewer_p.h:12
bool _simStarted
Definition cansignalviewer_p.h:28
QStandardItemModel _tvModel
Definition cansignalviewer_p.h:34
CanSignalViewerCtx _ctx
Definition cansignalviewer_p.h:29
SortModel _tvModelUniqueSort
Definition cansignalviewer_p.h:37
bool _docked
Definition cansignalviewer_p.h:31
CanSignalViewerGuiInt & _ui
Definition cansignalviewer_p.h:30
void addSignal(const QString &name, const QVariant &val, const Direction &dir)
Definition cansignalviewer_p.cpp:124
SortModel _tvModelSort
Definition cansignalviewer_p.h:36
QStringList _columnsOrder
Definition cansignalviewer_p.h:33
QStandardItemModel _tvModelUnique
Definition cansignalviewer_p.h:35
void setSettings(const QJsonObject &json)
Definition cansignalviewer_p.cpp:72
QJsonObject getSettings()
Definition cansignalviewer_p.cpp:61
std::map< QString, QVariant > _props
Definition cansignalviewer_p.h:32
ComponentInterface::ComponentProperties getSupportedProperties() const
Definition cansignalviewer_p.cpp:56
Direction
The enum class describing frame direction.
Definition datadirection.h:7
Definition cansignalviewerguiimpl.h:12
Definition cansignalviewerguiint.h:10
std::vector< ComponentProperty > ComponentProperties
Definition componentinterface.h:66
std::function< QWidget *(void)> CustomEditFieldCbk
Definition componentinterface.h:64