Salome HOME
Python console has been added for HYDRO module (Bug #22).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_InputPanel.h
index 24603ea42393a7f0054fcbb20654a1cac6c5ea60..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;
 
@@ -53,9 +53,12 @@ signals:
   void panelCancel();
 
 protected slots:
-  void OnApply();
-  void OnCancel();
-  void OnHelp();
+  void onApply();
+  void onCancel();
+  void onHelp();
+
+protected:
+  QFrame*         mainFrame() const;
 
 private:
   HYDROGUI_Module* myModule;