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