Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+51
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
*
|
||||
* Abstract Dialog with ButtonBox and some pass-throughs
|
||||
*
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <nglwidgets/ngldialog.h>
|
||||
#include <dds/dds.hpp>
|
||||
#include "detailview.h"
|
||||
#include "logger.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class DetailViewDlg;
|
||||
}
|
||||
|
||||
class DetailViewDlg : public NGLDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DetailViewDlg(QWidget *parent = nullptr);
|
||||
~DetailViewDlg();
|
||||
|
||||
bool init(const dds::core::xtypes::DynamicData &data, const QString &topicName, RwMode = RwMode::ReadWrite);
|
||||
bool init(const dds::core::xtypes::DynamicType &type, const QString &topicName, RwMode = RwMode::ReadWrite);
|
||||
bool fill(const dds::core::xtypes::DynamicData &data);
|
||||
|
||||
void setBtnsOkCancel();
|
||||
void setBtnsSendOkCancel();
|
||||
void setBtnsSendClose();
|
||||
void setConnected(bool bConnected);
|
||||
private slots:
|
||||
void onSend();
|
||||
void onOk();
|
||||
|
||||
signals:
|
||||
void send(const QSharedPointer<dds::core::xtypes::DynamicData> &data, const QString &topicName);
|
||||
void dataChanged(const QSharedPointer<dds::core::xtypes::DynamicData> &data, const QString &topicName);
|
||||
|
||||
private:
|
||||
Ui::DetailViewDlg *m_ui;
|
||||
bool m_bConnected;
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
Reference in new issue
Block a user