Mercurial > trustbridge
changeset 613:47235ae3fa9a
Remove close / help button and set fixed size
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 18 Jun 2014 15:10:00 +0200 |
parents | 2ea11a95aa4a |
children | de1e3a47ed21 |
files | ui/l10n/trustbridge_de_DE.ts ui/processwaitdialog.cpp |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/l10n/trustbridge_de_DE.ts Wed Jun 18 15:09:42 2014 +0200 +++ b/ui/l10n/trustbridge_de_DE.ts Wed Jun 18 15:10:00 2014 +0200 @@ -298,7 +298,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../processwaitdialog.cpp" line="25"/> + <location filename="../processwaitdialog.cpp" line="26"/> <source>Close all running firefox and thunderbird instances to continue installation!</source> <translation type="unfinished"></translation> </message>
--- a/ui/processwaitdialog.cpp Wed Jun 18 15:09:42 2014 +0200 +++ b/ui/processwaitdialog.cpp Wed Jun 18 15:10:00 2014 +0200 @@ -21,6 +21,7 @@ QHBoxLayout *theLayout = new QHBoxLayout(this); setWindowTitle(tr("Applications need to be closed.")); + setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint); QLabel *warnLabel = new QLabel(tr("Close all running firefox and thunderbird instances to continue installation!")); QLabel *warnIcon = new QLabel(); @@ -28,6 +29,8 @@ theLayout->addWidget(warnIcon); theLayout->addWidget(warnLabel); + + theLayout->setSizeConstraint(QLayout::SetFixedSize); // mProcessList = new QListWidget(); // theLayout->addWidget(mProcessList); updateProcesses();