#include "outputdialog.h" #include "ui_outputdialog.h" #include #include #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; }