starting work on export module, added check trimming
This commit is contained in:
15
outputdialog.cpp
Normal file
15
outputdialog.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "outputdialog.h"
|
||||
#include "ui_outputdialog.h"
|
||||
#include <iostream>
|
||||
#include <QMainWindow>
|
||||
#include "check/check.h"
|
||||
|
||||
OutputDialog::OutputDialog(QWidget *parent, Check check)
|
||||
: QDialog(parent), ui(new Ui::OutputDialog) {
|
||||
ui->setupUi(this);
|
||||
for (auto goods : check.get_goods()) {
|
||||
std::cout << "From dialog:" << goods.get_name() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
OutputDialog::~OutputDialog() { delete ui; }
|
||||
Reference in New Issue
Block a user