more on sellerdialog
This commit is contained in:
parent
31d46866f2
commit
207edb27ba
13 changed files with 168 additions and 17 deletions
|
@ -1,11 +1,19 @@
|
|||
#include "mainwindow.h"
|
||||
|
||||
#include "sellerdialog.h"
|
||||
|
||||
MainWindow::MainWindow()
|
||||
{
|
||||
ui_.setupUi(this);
|
||||
|
||||
connect(ui_.actionQuit, &QAction::triggered, qApp, QApplication::quit);
|
||||
connect(ui_.actionEditSeller, &QAction::triggered, this, &MainWindow::on_actionEditSeller_triggered);
|
||||
|
||||
marketplace_ = std::make_unique<Marketplace>();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionEditSeller_triggered()
|
||||
{
|
||||
auto dialog = std::make_unique<SellerDialog>(this);
|
||||
dialog->exec();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue