Included XML files for the "pay to new number" and "pay to old number" features in the Ozon platform.
35 lines
716 B
C++
35 lines
716 B
C++
#pragma once
|
|
#include <QMainWindow>
|
|
#include <QVBoxLayout>
|
|
#include <QStackedWidget>
|
|
#include <QTimer>
|
|
|
|
#include "TutorialWindow.h"
|
|
#include "bank/AccountWindow.h"
|
|
#include "db/DeviceInfo.h"
|
|
#include "widget/common/FlowLayout.h"
|
|
|
|
class MainWindow final : public QMainWindow {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
|
|
|
void loadDevices();
|
|
|
|
private:
|
|
QWidget *central;
|
|
FlowLayout *flowLayout;
|
|
QTimer *timer;
|
|
QStackedWidget *stackedWidget;
|
|
|
|
QWidget *m_devicesWindow = nullptr;
|
|
QWidget *m_accountsWindow = nullptr;
|
|
QWidget *m_tutorialWindow = nullptr;
|
|
QWidget *m_bankListWindow = nullptr;
|
|
|
|
void createDevicePage();
|
|
|
|
void deleteDevicePage();
|
|
};
|