refactored machinestatus to update the qstatusbar
This commit is contained in:
@@ -3,12 +3,14 @@
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QLabel>
|
||||
#include <qevent.h>
|
||||
#include <QEvent>
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
class MachineStatus;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -48,6 +50,7 @@ protected:
|
||||
void keyReleaseEvent(QKeyEvent* event) override;
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
std::unique_ptr<MachineStatus> status;
|
||||
};
|
||||
|
||||
#endif // QT_MAINWINDOW_HPP
|
||||
|
||||
Reference in New Issue
Block a user