20 lines
346 B
C++
20 lines
346 B
C++
#pragma once
|
|
|
|
#include <QQuickWindow>
|
|
|
|
class StatusWindow: public QQuickWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit StatusWindow(QWindow *parent = nullptr);
|
|
|
|
Q_INVOKABLE void toggleFullScreen();
|
|
Q_INVOKABLE void toggleMinimize();
|
|
Q_INVOKABLE void restoreWindowState();
|
|
|
|
private:
|
|
void removeTitleBar();
|
|
void showTitleBar();
|
|
};
|