维吾尔语言登录界面点右下角功能按钮,弹框显示在左侧
This commit is contained in:
parent
99a5c7b0ab
commit
31bb4c2a6a
|
@ -583,6 +583,13 @@ void LockWidget::initButtonWidget()
|
|||
}
|
||||
bottomWidgetLayout->addStretch();
|
||||
bottomWidgetLayout->addWidget(buttonListWidget);
|
||||
if (systemLang == "ug_CN" || systemLang == "ky_KG" || systemLang == "kk_KZ") {
|
||||
if (m_pBottomWidget)
|
||||
m_pBottomWidget->setLayoutDirection(Qt::RightToLeft);
|
||||
} else {
|
||||
if (m_pBottomWidget)
|
||||
m_pBottomWidget->setLayoutDirection(Qt::LeftToRight);
|
||||
}
|
||||
connect(buttonListWidget, &MyListWidget::currentItemChanged, this, &LockWidget::onButtonItemChanged);
|
||||
connect(buttonListWidget, &MyListWidget::itemClicked, this, &LockWidget::onButtonItemClicked);
|
||||
buttonListWidget->clearFocus();
|
||||
|
|
Loading…
Reference in New Issue