Ui: support portrait mode

This commit is contained in:
2025-02-19 11:04:49 +01:00
parent 061c57ef51
commit 348fb15508
3 changed files with 107 additions and 49 deletions

View File

@@ -66,6 +66,12 @@ private:
void onShowMessage(QString, QString);
Ui::MainWindow *ui;
void checkOrientation();
void setPortraitLayout();
void setLandscapeLayout();
Qt::ScreenOrientation currentOrientation;
Worker *m_worker;
int const m_width;
QTimer *m_startTimer;