Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "msdl_logging.h"
|
||||
|
||||
#include <memory>
|
||||
#include <ParticipantManagement/ppm_dtc.h>
|
||||
#include <LtsWidgets/lts_frameless_dialog.h>
|
||||
|
||||
class Ui_MSDLMappingDialog;
|
||||
|
||||
namespace msdl
|
||||
{
|
||||
class MappingDialog : public LtsWidgets::LtsFramelessDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MappingDialog(QWidget *parent,
|
||||
bool typeClassIsUnit,
|
||||
const QString &strReason,
|
||||
const std::shared_ptr<ParticipantManagement::Interface::Dtc> &ppmDtc,
|
||||
bool offerDatabaseEntriesWithoutDISType);
|
||||
~MappingDialog();
|
||||
|
||||
bool mappingApplied() const;
|
||||
bool skipAllUnmappedElements() const;
|
||||
bool autoMapAllUnmappedElements() const;
|
||||
|
||||
int32_t getMappedTypeId() const;
|
||||
|
||||
private slots:
|
||||
void slotClassTypeChanged();
|
||||
void slotApplyMapping();
|
||||
void slotSkipAllElements();
|
||||
|
||||
private:
|
||||
bool m_offerDatabaseEntriesWithoutDISType = false;
|
||||
bool m_mappingPerformed = false;
|
||||
bool m_skipAllUnmappedElements = false;
|
||||
|
||||
QMap<qint32, ParticipantManagement::Type> m_mapTypes;
|
||||
|
||||
msdl::LOGGER_T mLogger;
|
||||
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_ppmDtc;
|
||||
Ui_MSDLMappingDialog *mUi;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user