30 lines
562 B
C++
30 lines
562 B
C++
#ifndef DEVICESYSTEMINFOWIDGET_H
|
|
#define DEVICESYSTEMINFOWIDGET_H
|
|
#include <QFrame>
|
|
#include <QTextCursor>
|
|
#include <QString>
|
|
#include "base.h"
|
|
|
|
namespace Ui {
|
|
class DeviceSystemInfoWidget;
|
|
}
|
|
|
|
class DeviceSystemInfoWidget:public QFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DeviceSystemInfoWidget(QWidget* parent=nullptr);
|
|
~DeviceSystemInfoWidget();
|
|
|
|
private slots:
|
|
void insertInformationToText(const QString text,SYS_INFO_LEVEL level);
|
|
|
|
|
|
private:
|
|
Ui::DeviceSystemInfoWidget* ui;
|
|
QTextCursor cursorPosition;
|
|
|
|
};
|
|
#endif // DEVICESYSTEMINFOWIDGET_H
|