Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+83
@@ -0,0 +1,83 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* ParticipantManagement - Show ParticipantInfo by Equipment No
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Malte Diers, NLSE, 2018-04-20
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <LtsWidgets/lts_frameless_dialog.h>
|
||||
#include <QMap>
|
||||
#include <memory>
|
||||
|
||||
enum class DataModification;
|
||||
namespace Ui
|
||||
{
|
||||
class BuildingSearch_WIDGET;
|
||||
}
|
||||
|
||||
namespace Buildings
|
||||
{
|
||||
class Participant;
|
||||
namespace Interface
|
||||
{
|
||||
class Dtc;
|
||||
}
|
||||
|
||||
|
||||
// Following classes are using ONE ui-file. Deriving from QWidget
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Class #1 - BuildingSearchModal
|
||||
//------------------------------------------------------------------------------
|
||||
class BuildingSearchModal : public LtsWidgets::LtsFramelessDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
using BaseClass = LtsWidgets::LtsFramelessDialog;
|
||||
|
||||
public:
|
||||
explicit BuildingSearchModal(QWidget *parent = nullptr);
|
||||
~BuildingSearchModal();
|
||||
void showEvent(QShowEvent *e) override;
|
||||
|
||||
private Q_SLOTS:
|
||||
void onOkay();
|
||||
|
||||
signals:
|
||||
void selectedSearchString(QString searchString);
|
||||
|
||||
private:
|
||||
Ui::BuildingSearch_WIDGET *m_ui;
|
||||
};
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Class #2 - BuildingSearchWidget (for OC)
|
||||
//------------------------------------------------------------------------------
|
||||
class BuildingSearchWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
using BaseClass = QWidget;
|
||||
|
||||
public:
|
||||
explicit BuildingSearchWidget(QWidget *parent = nullptr);
|
||||
~BuildingSearchWidget();
|
||||
void showEvent(QShowEvent *e) override;
|
||||
|
||||
private Q_SLOTS:
|
||||
void onOkay();
|
||||
|
||||
signals:
|
||||
void selectedSearchString(QString searchString);
|
||||
|
||||
private:
|
||||
Ui::BuildingSearch_WIDGET *m_ui;
|
||||
};
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in new issue
Block a user