]> SALOME platform Git repositories - modules/gui.git/blob - src/TOOLSGUI/ToolsGUI_CatalogGeneratorDlg.h
Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[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.salome-platform.org/ or email : webmaster.salome@opencascade.com
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 class Standard_EXPORT ToolsGUI_CatalogGeneratorDlg : public QDialog
40
41     Q_OBJECT
42
43 public:
44     ToolsGUI_CatalogGeneratorDlg( QWidget* parent = 0, const char* name = 0 );
45     ~ToolsGUI_CatalogGeneratorDlg();
46
47     QString getIdlPath();
48     QString getIdlFile();
49     QString getXmlFile();
50     QString getPngFile();
51     QString getAuthor();
52     QString getVersion();
53     QString getCompName();
54     QString getCompUserName();
55     QString getCompType();
56     QString getCompMultiStd();
57
58 protected slots:
59     void    onBrowseBtnClicked();
60     void    updateButtonState();
61     void    onApply();
62
63 private:
64     QLineEdit*     myIdlEdit;
65     QLineEdit*     myXmlEdit;
66     QLineEdit*     myPngEdit;
67     QLineEdit*     myVersionEdit;
68     QLineEdit*     myAuthorEdit;
69     QLineEdit*     myCompName;
70     QLineEdit*     myCompUserName;
71     QLineEdit*     myCompType;
72     QLineEdit*     myCompMultiStd;
73     QPushButton*   myBrowseIdlBtn;
74     QPushButton*   myBrowseXmlBtn;
75     QPushButton*   myBrowsePngBtn;
76
77     QPushButton*   myApplyBtn;
78     QPushButton*   myCloseBtn;
79 };
80
81 #endif // DIALOGBOX_TOOLSGUI_CATALOGGENERATORDLG_H