Multiple flags QDialog
Posted: 19 Sep 2014, 16:05
Bonjour,
je voudrais savoir comment passer plusieurs flags à un QDialog car
ne garde que le dernier, tout comme
J'ai testé pleins de syntaxes différentes mais aucune ne marche...
Voilà le code en C++...
Sniff, merci.
je voudrais savoir comment passer plusieurs flags à un QDialog car
Code: Select all
var a = new QDialog(0, (Qt.MSWindowsFixedSizeDialogHint, Qt.WindowTitleHint));
Code: Select all
var a = new QDialog(0, Qt.WindowTitleHint);
a.setWindowFlags(Qt.WindowTitleHint);
Code: Select all
var a = new QDialog();
a.setWindowFlags(Qt.WindowTitleHint);
a.setWindowFlags(Qt.MSWindowsFixedSizeDialogHint);
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Voilà le code en C++...
Code: Select all
window->setWindowFlags (Qt.WindowTitleHint | Qt.MSWindowsFixedSizeDialogHint);