Cargo edit dialog and VM
This commit is contained in:
parent
05776f19f3
commit
a6c080d36b
5 changed files with 118 additions and 32 deletions
|
|
@ -2,21 +2,28 @@
|
|||
#define CARGOEDITDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include "entities/cargo_entity.h"
|
||||
|
||||
namespace Ui {
|
||||
class CargoEditDialog;
|
||||
}
|
||||
|
||||
class CargoEditDialog : public QDialog
|
||||
{
|
||||
class CargoEditDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
Ui::CargoEditDialog *ui;
|
||||
|
||||
cargo_entity *_cargo;
|
||||
|
||||
public:
|
||||
explicit CargoEditDialog(QWidget *parent = nullptr);
|
||||
~CargoEditDialog();
|
||||
|
||||
private:
|
||||
Ui::CargoEditDialog *ui;
|
||||
cargo_entity* cargo();
|
||||
|
||||
public slots:
|
||||
void accept() Q_DECL_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // CARGOEDITDIALOG_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue