Salome HOME
Python console has been added for HYDRO module (Bug #22).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_InputPanel.h
index b05302e8ae6eaf6fbe9a7092669671de05ba7cd8..3321f56d11df239cc6ccaf041394e97d977b4563 100644 (file)
@@ -27,6 +27,7 @@
 
 class QFrame;
 class QPushButton;
+class QLayout;
 
 class HYDROGUI_Module;
 
@@ -41,10 +42,9 @@ public:
   HYDROGUI_InputPanel( HYDROGUI_Module* theModule, const QString& theTitle );
   virtual ~HYDROGUI_InputPanel();
 
-  void addWidget( const QString& theLabel, QWidget* theWidget );
-  void addWidget( QWidget* theWidget, const int theRow, const int theColumn );
-  void addSeparator();
-  void setRowStretch();
+  void addWidget( QWidget* theWidget );
+  void addLayout( QLayout* theLayout );
+  void addStretch();
 
   HYDROGUI_Module* module() const;
 
@@ -57,6 +57,9 @@ protected slots:
   void onCancel();
   void onHelp();
 
+protected:
+  QFrame*         mainFrame() const;
+
 private:
   HYDROGUI_Module* myModule;
   QFrame* myMainFrame;