Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+47
@@ -0,0 +1,47 @@
|
||||
#ifndef FORM1_H
|
||||
#define FORM1_H
|
||||
|
||||
#include <LtsSession/lts_session.h>
|
||||
#include <QWidget>
|
||||
#include <QMap>
|
||||
|
||||
#include <ParticipantManagement/ppm_dtc.h>
|
||||
#include <ParticipantManagement/ppm_ftc.h>
|
||||
|
||||
enum class DataModification;
|
||||
namespace Ui {
|
||||
class ParticipantSearchWidget;
|
||||
}
|
||||
|
||||
namespace ParticipantManagement
|
||||
{
|
||||
class Participant;
|
||||
namespace Interface
|
||||
{
|
||||
class Dtc;
|
||||
}
|
||||
|
||||
class ParticipantSearchWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ParticipantSearchWidget(QWidget *parent = nullptr);
|
||||
~ParticipantSearchWidget();
|
||||
bool init(const std::shared_ptr<ParticipantManagement::Interface::Dtc> &dtc);
|
||||
|
||||
signals:
|
||||
void participantSelected(int participantId);
|
||||
|
||||
public slots:
|
||||
void onOkay();
|
||||
void onParticipantChanged(const ParticipantManagement::Participant &data, DataModification modType);
|
||||
|
||||
private:
|
||||
Ui::ParticipantSearchWidget *m_ui;
|
||||
QMap<int,int> m_eqId2PartId;
|
||||
QMap<int,int> m_partId2EqId;
|
||||
};
|
||||
|
||||
}//namespace
|
||||
#endif // FORM1_H
|
||||
Reference in new issue
Block a user