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);
Voilà le code en C++...
Code: Select all
window->setWindowFlags (Qt.WindowTitleHint | Qt.MSWindowsFixedSizeDialogHint);