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-23 12:49:19 +02:00
|
|
|
private slots:
|
|
|
|
void onBasketViewSelectionChanged(const QItemSelection& selected,
|
2018-07-23 12:59:11 +02:00
|
|
|
const QItemSelection& deselected);
|
2018-07-23 13:39:49 +02:00
|
|
|
void onCancelArticleButtonClicked(bool checked);
|
|
|
|
void onCancelAllArticlesButtonClicked(bool checked);
|
2018-07-23 12:49:19 +02:00
|
|
|
|
2018-07-23 09:14:43 +02:00
|
|
|
private:
|
2018-07-20 22:07:42 +02:00
|
|
|
void on_actionEditSeller_triggered();
|
|
|
|
void on_sellerNoEdit_checkSellerNo();
|
2018-07-23 08:21:28 +02:00
|
|
|
void on_paidButton_triggered();
|
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
|