From: stv Date: Tue, 26 Sep 2006 09:52:34 +0000 (+0000) Subject: Button "Maximize" added to resizeable dialogs. X-Git-Tag: For_CTH_V1_2a~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a96d93ea591a57b441544607042ccb7ddc71e9f;p=modules%2Fgui.git Button "Maximize" added to resizeable dialogs. --- diff --git a/src/Qtx/QtxDialog.cxx b/src/Qtx/QtxDialog.cxx index 2554511a4..c52cb85fe 100755 --- a/src/Qtx/QtxDialog.cxx +++ b/src/Qtx/QtxDialog.cxx @@ -416,12 +416,13 @@ QSize QtxDialog::Border::minimumSizeHint() const QtxDialog::QtxDialog( QWidget* parent, const char* name, bool modal, bool allowResize, const int f, WFlags wf ) : QDialog( parent, name, modal, -#ifdef WIN32 wf | WStyle_Customize | WStyle_Title | WStyle_SysMenu | - ( allowResize ? WStyle_NormalBorder : WStyle_NoBorderEx ) ), +#ifdef WIN32 + ( allowResize ? WStyle_NormalBorder : WStyle_NoBorderEx ) | #else - wf | WStyle_NormalBorder | WStyle_Customize | WStyle_Title | WStyle_SysMenu ), + WStyle_NormalBorder | #endif + ( allowResize ? WStyle_Maximize : 0 ) ), mySender( 0 ), myAlignment( 0 ), myInited( false ),