CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
cansignalsendertablemodel.h
Go to the documentation of this file.
1#ifndef CANSIGNALSENDERTABLEMODEL_H
2#define CANSIGNALSENDERTABLEMODEL_H
3
4#include <QStandardItemModel>
5
6class CanSignalSenderTableModel : public QStandardItemModel {
7 Q_OBJECT
8
9public:
10 explicit CanSignalSenderTableModel(QObject* parent = nullptr);
11 ~CanSignalSenderTableModel() override = default;
12
13 bool dropMimeData(
14 const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) override;
15 QStringList mimeTypes() const override;
16 Qt::ItemFlags flags(const QModelIndex& index) const override;
17
18signals:
19 void droppedItems(const QList<QList<QString>>& dropItems);
20};
21
22#endif // CANSIGNALSENDERTABLEMODEL_H
Definition cansignalsendertablemodel.h:6
QStringList mimeTypes() const override
Definition cansignalsendertablemodel.cpp:41
bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override
Definition cansignalsendertablemodel.cpp:12
~CanSignalSenderTableModel() override=default
void droppedItems(const QList< QList< QString > > &dropItems)
Qt::ItemFlags flags(const QModelIndex &index) const override
Definition cansignalsendertablemodel.cpp:46