Refactoring the new dialog manager module and fixed keyboard problem in Linux touch panel.

This commit is contained in:
sunwen
2022-08-10 15:28:59 +08:00
parent 9b96af094b
commit 30df175f22
28 changed files with 485 additions and 303 deletions

View File

@@ -20,7 +20,9 @@ GUIMessageDialog::GUIMessageDialog(QWidget *parent)
this->setObjectName("MessageDialog");
this->setWindowFlags (Qt :: FramelessWindowHint | Qt :: Dialog);
initBaseLayout();
this->setWindowOpacity(0.6);
mUI->btnContainerWidget->setAttribute(Qt::WA_TranslucentBackground);
mUI->widget->setAttribute(Qt::WA_TranslucentBackground);
setAttribute(Qt::WA_TranslucentBackground);
initLoadingFrameString();
}
@@ -150,3 +152,14 @@ void GUIMessageDialog::stopPending() {
mBtnAppend->setVisible(false);
mPending = false;
}
void GUIMessageDialog::moveDialog(const QPoint& aPos)
{
mUI->innerWidget->move(aPos);
}
QPoint GUIMessageDialog::getDialogPos()
{
return mUI->innerWidget->pos();
}
;