Ui: support portrait mode
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user