2018-07-14 14:03:35 +02:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
2018-07-16 12:00:17 +02:00
|
|
|
#include "ui_mainwindow.h"
|
|
|
|
|
2018-07-14 15:54:29 +02:00
|
|
|
#include <marketplace.h>
|
|
|
|
|
2018-07-14 14:03:35 +02:00
|
|
|
#include <QMainWindow>
|
|
|
|
|
2018-07-14 15:54:29 +02:00
|
|
|
#include <memory>
|
|
|
|
|
2018-07-14 14:03:35 +02:00
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2018-07-20 22:07:42 +02:00
|
|
|
public:
|
2018-07-14 14:03:35 +02:00
|
|
|
MainWindow();
|
2018-07-20 22:07:42 +02:00
|
|
|
Marketplace* getMarketplace() { return marketplace_.get(); }
|
2018-07-14 14:03:35 +02:00
|
|
|
|
2018-07-20 22:07:42 +02:00
|
|
|
private:
|
|
|
|
void on_actionEditSeller_triggered();
|
|
|
|
void on_sellerNoEdit_checkSellerNo();
|
2018-07-16 12:00:17 +02:00
|
|
|
|
2018-07-20 22:07:42 +02:00
|
|
|
Ui::MainWindow ui_;
|
|
|
|
std::unique_ptr<Marketplace> marketplace_;
|
2018-07-14 14:03:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|