Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/gui.git] / tools / dlgfactory / GenericDialog.cxx
1 #include "GenericDialog.hxx"
2
3 GenericDialog::GenericDialog(QDialog *parent) : QDialog(parent)
4 {
5   ui.setupUi(this); // A faire en premier
6   
7   /*
8     Personnalisez vos widgets ici si nécessaire
9     Réalisez des connexions supplémentaires entre signaux et slots
10   */
11   
12   // The slots accept() and reject() are already connected to the
13   // buttonbox (inherited features) 
14 }
15
16 QFrame * GenericDialog::getPanel() {
17   return ui.centralPanel;
18 }
19
20 QDialogButtonBox * GenericDialog::getButtonBox() {
21   return ui.buttonBox;
22 }
23
24
25 #include <QDebug>
26 void GenericDialog::accept() {
27   qDebug() << "accept() is not implemented yet";
28   QDialog::accept();
29 }