Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+57
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
*
|
||||
* TableView for dynamic topics
|
||||
*
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QTableView>
|
||||
#include "telegrammodel.h"
|
||||
#include "logger.h"
|
||||
|
||||
class TelegramSortModel;
|
||||
class DetailViewDlg;
|
||||
|
||||
class TelegramView : public QTableView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit TelegramView(QWidget *parent = nullptr);
|
||||
~TelegramView();
|
||||
|
||||
TelegramModel *telegramModel() {return m_model;}
|
||||
|
||||
void setConnected(bool bConnected) { m_bConnected = bConnected; }
|
||||
|
||||
signals:
|
||||
void dataClicked(const dds::core::xtypes::DynamicData &data, const QString &topicName);
|
||||
void clearDetailView();
|
||||
void send(const QSharedPointer<dds::core::xtypes::DynamicData> &data, const QString &topicName);
|
||||
|
||||
public slots:
|
||||
void onTypeCodeInfosChanged();
|
||||
|
||||
private:
|
||||
|
||||
void init();
|
||||
void onSaveDynamicDataVector(const QVector<TelegramModel::TelegramData> &vector);
|
||||
|
||||
TelegramSortModel *m_proxyModel;
|
||||
TelegramModel *m_model;
|
||||
bool m_bConnected;
|
||||
NGL::INGLLogger &m_logger;
|
||||
|
||||
private slots:
|
||||
void onTableClicked(const QModelIndex &mi);
|
||||
void onTableDoubleClicked(const QModelIndex &mi);
|
||||
void onCustomContextMenuRequested(const QPoint &p);
|
||||
void onDeleteIndex();
|
||||
void onSendIndex();
|
||||
void onSaveIndex();
|
||||
void onSaveAllIndexes();
|
||||
};
|
||||
Reference in new issue
Block a user