1
0
forked from BRT/arc
arc/views/MainWindow.h
trnsmkot 9fb9cf0005 Refactor UI and database logic for device management
Replaced `MyWindow` with `MainWindow` featuring dynamic device widgets. Introduced `DeviceInfo`, `DeviceDAO`, and improved database interaction. Added flow layout and refactored image handling for better performance.
2025-04-18 16:39:13 +07:00

19 lines
364 B
C++

#pragma once
#include <QMainWindow>
#include <QVBoxLayout>
#include <QTimer>
#include "DeviceInfo.h"
#include "widget/FlowLayout.h"
class MainWindow final : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
void loadDevices() const;
private:
QWidget* central;
FlowLayout* flowLayout;
QTimer* timer;
};