From: asl Date: Wed, 27 Sep 2017 14:45:15 +0000 (+0300) Subject: refs #1332: default sizes X-Git-Tag: v2.1~66^2~12^2~3^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c924d7bf9aa8e58c3d7c11ec7d86f83ee1ea82f4;p=modules%2Fhydro.git refs #1332: default sizes --- diff --git a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx index 3f7c8b6c..5acc8fe1 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx @@ -40,6 +40,7 @@ #include #include #include +#include HYDROGUI_ProfileDlg::HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QString& theTitle ) : HYDROGUI_ViewerDlg( theModule, theTitle, true ), @@ -77,6 +78,14 @@ HYDROGUI_ProfileDlg::HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QStr connect( myEditorWidget, SIGNAL( subOperationFinished(QWidget*) ), this, SLOT( processFinishedSubOperation(QWidget*) ) ); myAddElementBox->hide(); + + QList sizes; + sizes.append( 25 ); + sizes.append( 100 ); + sizes.append( 100 ); + sizes.append( 200 ); + sizes.append( 25 ); + splitter()->setSizes( sizes ); } HYDROGUI_ProfileDlg::~HYDROGUI_ProfileDlg()