Salome HOME
To adjust to new SalomeApp_DataOwner, which now holds SALOME_InteractiveObject
[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 class QLineEdit;
35 class QPushButton;
36
37 //=================================================================================
38 // class    : ToolsGUI_CatalogGeneratorDlg
39 // purpose  :
40 //=================================================================================
41 class ToolsGUI_CatalogGeneratorDlg : public QDialog
42
43     Q_OBJECT
44
45 public:
46     ToolsGUI_CatalogGeneratorDlg( QWidget* parent = 0, const char* name = 0 );
47     ~ToolsGUI_CatalogGeneratorDlg();
48
49     QString getIdlPath();
50     QString getIdlFile();
51     QString getXmlFile();
52     QString getPngFile();
53     QString getAuthor();
54     QString getVersion();
55     QString getCompName();
56     QString getCompUserName();
57     QString getCompType();
58     QString getCompMultiStd();
59
60 protected slots:
61     void    onBrowseBtnClicked();
62     void    updateButtonState();
63     void    onApply();
64
65 private:
66     QLineEdit*     myIdlEdit;
67     QLineEdit*     myXmlEdit;
68     QLineEdit*     myPngEdit;
69     QLineEdit*     myVersionEdit;
70     QLineEdit*     myAuthorEdit;
71     QLineEdit*     myCompName;
72     QLineEdit*     myCompUserName;
73     QLineEdit*     myCompType;
74     QLineEdit*     myCompMultiStd;
75     QPushButton*   myBrowseIdlBtn;
76     QPushButton*   myBrowseXmlBtn;
77     QPushButton*   myBrowsePngBtn;
78
79     QPushButton*   myApplyBtn;
80     QPushButton*   myCloseBtn;
81 };
82
83 #endif // DIALOGBOX_TOOLSGUI_CATALOGGENERATORDLG_H