Salome HOME
646b0c56b8bc82930c6671cf363e1cf571006061
[modules/gui.git] / src / TOOLSGUI / ToolsGUI_CatalogGeneratorDlg.h
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  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 //  SALOME TOOLSGUI : implementation of desktop "Tools" optioins
23 //  File   : ToolsGUI_CatalogGeneratorDlg.h
24 //  Author : Nicolas REJNERI
25 //
26 #ifndef TOOLSGUI_CATALOGGENERATORDLG_H
27 #define TOOLSGUI_CATALOGGENERATORDLG_H
28
29 #include "ToolsGUI.h"
30
31 #include <QDialog>
32
33 class QLineEdit;
34 class QPushButton;
35
36 class TOOLSGUI_EXPORT ToolsGUI_CatalogGeneratorDlg : public QDialog
37
38     Q_OBJECT
39
40 public:
41     ToolsGUI_CatalogGeneratorDlg( QWidget* parent = 0 );
42     ~ToolsGUI_CatalogGeneratorDlg();
43
44     QString getIdlPath();
45     QString getIdlFile();
46     QString getXmlFile();
47     QString getPngFile();
48     QString getAuthor();
49     QString getVersion();
50     QString getCompName();
51     QString getCompUserName();
52     QString getCompType();
53     QString getCompMultiStd();
54
55 protected slots:
56     void    onBrowseBtnClicked();
57     void    updateButtonState();
58     void    onApply();
59
60 private:
61     QLineEdit*     myIdlEdit;
62     QLineEdit*     myXmlEdit;
63     QLineEdit*     myPngEdit;
64     QLineEdit*     myVersionEdit;
65     QLineEdit*     myAuthorEdit;
66     QLineEdit*     myCompName;
67     QLineEdit*     myCompUserName;
68     QLineEdit*     myCompType;
69     QLineEdit*     myCompMultiStd;
70     QPushButton*   myBrowseIdlBtn;
71     QPushButton*   myBrowseXmlBtn;
72     QPushButton*   myBrowsePngBtn;
73
74     QPushButton*   myApplyBtn;
75     QPushButton*   myCloseBtn;
76 };
77
78 #endif // TOOLSGUI_CATALOGGENERATORDLG_H