]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1332: default sizes
authorasl <asl@opencascade.com>
Wed, 27 Sep 2017 14:45:15 +0000 (17:45 +0300)
committerasl <asl@opencascade.com>
Wed, 27 Sep 2017 14:45:15 +0000 (17:45 +0300)
src/HYDROGUI/HYDROGUI_ProfileDlg.cxx

index 3f7c8b6ccebfee277536ec6cbb5177b91821d8c1..5acc8fe12552449f61812511675d532d491750a4 100644 (file)
@@ -40,6 +40,7 @@
 #include <QLabel>
 #include <QLineEdit>
 #include <QMouseEvent>
+#include <QSplitter>
 
 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<int> sizes;
+  sizes.append( 25 );
+  sizes.append( 100 );
+  sizes.append( 100 );
+  sizes.append( 200 );
+  sizes.append( 25 );
+  splitter()->setSizes( sizes );
 }
 
 HYDROGUI_ProfileDlg::~HYDROGUI_ProfileDlg()