mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Init of request https://qelectrotech.org/bugtracker/view.php?id=195 This is a start will have to be adjusted further.
29 lines
458 B
C++
29 lines
458 B
C++
#ifndef MACHINE_INFO_H
|
|
#define MACHINE_INFO_H
|
|
|
|
#include <QObject>
|
|
|
|
/**
|
|
@brief The Machine_info class
|
|
This class hold information from your PC.
|
|
*/
|
|
class Machine_info : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Machine_info(QObject *parent = nullptr);
|
|
int32_t get_max_screen_width();
|
|
int32_t get_max_screen_height();
|
|
|
|
signals:
|
|
|
|
private:
|
|
void init_get_Screen_info();
|
|
int32_t Max_screen_width;
|
|
int32_t Max_screen_height;
|
|
|
|
|
|
};
|
|
|
|
#endif // MACHINE_INFO_H
|