Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+42
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* AreaEffectSimulation - ChargeEdit Dlg
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Patric Karwat, SLSE, 2019-05-17
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_frameless_dialog.h>
|
||||
#include <LtsWidgets/lts_dialog_button_box.h>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class ChargeEdit;
|
||||
}
|
||||
|
||||
namespace AreaEffectSimulation
|
||||
{
|
||||
|
||||
class ChargeEdit : public LtsWidgets::LtsFramelessDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ChargeEdit(int chargeId, const QString &charge, int oldStock, QWidget *parent = nullptr);
|
||||
~ChargeEdit();
|
||||
|
||||
private slots:
|
||||
void onSendStock();
|
||||
|
||||
signals:
|
||||
void newStock(int chargeId, int newStock);
|
||||
private:
|
||||
int m_chargeId;
|
||||
int m_oldStock;
|
||||
LtsWidgets::LtsDialogButtonBox *m_buttonBox;
|
||||
Ui::ChargeEdit *m_ui;
|
||||
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user