feat:根据qApp的布局方向设置是否镜像布局
This commit is contained in:
parent
d4dea45fb6
commit
567e6d2e13
|
@ -29,6 +29,8 @@ Item {
|
||||||
property int animationDuration: menuSetting.get("animationDuration")
|
property int animationDuration: menuSetting.get("animationDuration")
|
||||||
property var normalGeometry: mainWindow.normalRect
|
property var normalGeometry: mainWindow.normalRect
|
||||||
property string currentSearchText: ""
|
property string currentSearchText: ""
|
||||||
|
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
|
||||||
|
LayoutMirroring.childrenInherit: true;
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
mainWindow.fullScreenChanged.connect(enterFullScreen);
|
mainWindow.fullScreenChanged.connect(enterFullScreen);
|
||||||
|
|
Loading…
Reference in New Issue