Salome HOME
Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on...
[modules/gui.git] / src / TOOLSGUI / ToolsGUI_CatalogGeneratorDlg.h
1 //  SALOME TOOLSGUI : implementation of desktop "Tools" optioins
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //
23 //
24 //  File   : ToolsGUI_CatalogGeneratorDlg.h
25 //  Author : Nicolas REJNERI
26 //  Module : SALOME
27 //  $Header$
28
29 #ifndef DIALOGBOX_TOOLSGUI_CATALOGGENERATORDLG_H
30 #define DIALOGBOX_TOOLSGUI_CATALOGGENERATORDLG_H
31
32 #include <qdialog.h>
33
34 #include <Standard_Macro.hxx>
35
36 class QLineEdit;
37 class QPushButton;
38
39 //=================================================================================
40 // class    : ToolsGUI_CatalogGeneratorDlg
41 // purpose  :
42 //=================================================================================
43 class Standard_EXPORT ToolsGUI_CatalogGeneratorDlg : public QDialog
44
45     Q_OBJECT
46
47 public:
48     ToolsGUI_CatalogGeneratorDlg( QWidget* parent = 0, const char* name = 0 );
49     ~ToolsGUI_CatalogGeneratorDlg();
50
51     QString getIdlPath();
52     QString getIdlFile();
53     QString getXmlFile();
54     QString getPngFile();
55     QString getAuthor();
56     QString getVersion();
57     QString getCompName();
58     QString getCompUserName();
59     QString getCompType();
60     QString getCompMultiStd();
61
62 protected slots:
63     void    onBrowseBtnClicked();
64     void    updateButtonState();
65     void    onApply();
66
67 private:
68     QLineEdit*     myIdlEdit;
69     QLineEdit*     myXmlEdit;
70     QLineEdit*     myPngEdit;
71     QLineEdit*     myVersionEdit;
72     QLineEdit*     myAuthorEdit;
73     QLineEdit*     myCompName;
74     QLineEdit*     myCompUserName;
75     QLineEdit*     myCompType;
76     QLineEdit*     myCompMultiStd;
77     QPushButton*   myBrowseIdlBtn;
78     QPushButton*   myBrowseXmlBtn;
79     QPushButton*   myBrowsePngBtn;
80
81     QPushButton*   myApplyBtn;
82     QPushButton*   myCloseBtn;
83 };
84
85 #endif // DIALOGBOX_TOOLSGUI_CATALOGGENERATORDLG_H