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.
11 lines
206 B
C++
11 lines
206 B
C++
#pragma once
|
|
#include <QWidget>
|
|
#include "DeviceInfo.h"
|
|
|
|
class DeviceWidget final : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DeviceWidget(const DeviceInfo& device, QWidget* parent = nullptr);
|
|
};
|