Originally Posted by
kwisp
Can you represent your code here?
I used the following code (from the Windows Flags example in Qt Assistant):
Qt::WindowFlags flags = 0;
flags |= Qt::WindowMaximizeButtonHint;
flags |= Qt::WindowContextHelpButtonHint;
setWindowFlags( flags );
Qt::WindowFlags flags = 0;
flags |= Qt::WindowMaximizeButtonHint;
flags |= Qt::WindowContextHelpButtonHint;
setWindowFlags( flags );
To copy to clipboard, switch view to plain text mode
I tried passing the flag parameter into my dialog and using it as a parameter to QDialog.
MyDialog dlg( this, flags );
// The constructor looks like:
MyDialog
::MyDialog( QWidget *parent, Qt
::WindowFlags flags
) : QDialog( parent, flags
)
MyDialog dlg( this, flags );
// The constructor looks like:
MyDialog::MyDialog( QWidget *parent, Qt::WindowFlags flags ) : QDialog( parent, flags )
To copy to clipboard, switch view to plain text mode
I also tried the code inside the constructor of the dialog.
On the Windows XP platform, it appears that anytime you use the WindowMaximizeButtonHint the context help button is not displayed.
Bookmarks