-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.h
More file actions
36 lines (28 loc) · 928 Bytes
/
Copy pathMainWindow.h
File metadata and controls
36 lines (28 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "DivinationCardLoader.h"
#include "EasySellableRewardFilter.h"
#include "ModelSetter.h"
#include "MultipleItemsTypeLoader.h"
#include <QNetworkAccessManager>
#include <QObject>
#include <QQuickView>
class MainWindow : public QObject
{
Q_OBJECT
QNetworkAccessManager* accessManager;
DivinationCardLoader* cardLoader;
MultipleItemsTypeLoader* itemLoader;
QQuickView* view;
std::shared_ptr<EasySellableRewardFilter> filter;
std::unique_ptr<ModelSetter> modelSetter;
QStringList itemTypesToLoad = {"UniqueAccessory", "UniqueArmour", "UniqueWeapon", "UniqueFlask", "UniqueJewel", "DivinationCard", "Prophecy", "SkillGem"};
QString getSelectedLeague();
QString getSearchLineEditContent();
public:
explicit MainWindow(QObject *parent = nullptr);
Q_INVOKABLE void search();
void showWindow();
signals:
};
#endif // MAINWINDOW_H