1 // File : SALOME_XmlHandler.hxx
2 // Created : Thu Dec 18 12:01:00 2002
3 // Author : Vadim SANDLER
4 // Project : PAL/SALOME
5 // Module : InstallWizard
6 // Copyright : 2004 CEA
9 #ifndef __SALOME_XmlHandler
10 #define __SALOME_XmlHandler
15 Class StructureParser: parses xml-description file and populates the list of the products
18 class SALOME_InstallWizard;
21 class StructureParser: public QXmlDefaultHandler
25 StructureParser( SALOME_InstallWizard* wizard = 0 );
27 // set control widgets
28 void setProductsList( ProductsView* view );
29 void setTargetDir( QLineEdit* dir );
30 void setTempDir( QLineEdit* dir );
32 // begins parsing of the xml dom-element
33 bool startElement( const QString&,
36 const QXmlAttributes& );
37 // finishes parsing of the xml dom-element of the xml dom-element
38 bool endElement( const QString&,
43 SALOME_InstallWizard* myWizard; // Salome Pro installation wizard's main window
44 ProductsView* myTree; // products list view
45 QLineEdit* myTargetDir; // target directory widget
46 QLineEdit* myTempDir; // temp directory widget