Refactoring the new dialog manager module and fixed keyboard problem in Linux touch panel.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
;
|
||||
Reference in New Issue
Block a user