1
0
forked from BRT/arc
arc/views/MainWindow.h
slava 712b73316c Remove CommonBirbankScript and its derived classes from the codebase
Deleted `CommonBirbankScript` and its associated derived classes (`GetLastDaysHistoryBirbankScript`, `LoginAndCheckAccountsBirbankScript`, `PayByCardBirbankScript`). Removed dependencies on these scripts, including XML parsing, account handling, and transaction workflows related to the Birbank app.
2026-03-21 17:41:05 +07:00

38 lines
830 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;
QWidget *m_logWindow = nullptr;
QWidget *m_fileLogWindow = nullptr;
QWidget *m_eventWindow = nullptr;
void createDevicePage();
void deleteDevicePage();
};