CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
cansignaldataguiint.h
Go to the documentation of this file.
1#ifndef CANSIGNALDATAGUIINT_H
2#define CANSIGNALDATAGUIINT_H
3
4#include <Qt>
5#include <functional>
6
7class QWidget;
8class QAbstractItemModel;
9class SearchModel;
10
12 typedef std::function<void()> msgView_t;
13 typedef std::function<void()> dockUndock_t;
14 typedef std::function<void()> msgSettingsUpdated_t;
15
17 {
18 }
19
20 virtual QWidget* mainWidget() = 0;
21 virtual void setMsgView(QAbstractItemModel& tvModel) = 0;
22 virtual void setSigView(QAbstractItemModel& tvModel) = 0;
23 virtual void setMsgViewCbk(const msgView_t& cb) = 0;
25 virtual void setDockUndockCbk(const dockUndock_t& cb) = 0;
26 virtual void initSearch(SearchModel& model) = 0;
27};
28
29#endif // CANSIGNALDATAGUIINT_H
Definition searchmodel.h:6
Definition cansignaldataguiint.h:11
virtual void setMsgViewCbk(const msgView_t &cb)=0
virtual void setMsgView(QAbstractItemModel &tvModel)=0
virtual void setMsgSettingsUpdatedCbk(const msgSettingsUpdated_t &cb)=0
virtual ~CanSignalDataGuiInt()
Definition cansignaldataguiint.h:16
std::function< void()> msgSettingsUpdated_t
Definition cansignaldataguiint.h:14
virtual void setDockUndockCbk(const dockUndock_t &cb)=0
virtual void setSigView(QAbstractItemModel &tvModel)=0
virtual void initSearch(SearchModel &model)=0
std::function< void()> msgView_t
Definition cansignaldataguiint.h:12
std::function< void()> dockUndock_t
Definition cansignaldataguiint.h:13
virtual QWidget * mainWidget()=0