UIParser Class

Parse caQtDM UI files. More...

Header: #include <UIParser>
Inherits: QCSParser

Public Functions

UIParser(QObject *parent = Q_NULLPTR)
virtual ~UIParser()

Reimplemented Public Functions

virtual QString description()
virtual QString extension()
virtual QString parseDisplayFile(QString filename, QMap<QString, QString> macros, bool partial)
  • 3 public functions inherited from QCSParser
  • 32 public functions inherited from QObject

Additional Inherited Members

  • 2 properties inherited from QCSParser
  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

Parse caQtDM UI files.

The parser from Qt tool uic is used to parse the UI file. Then it traverses the widget tree and creates their QML equilents.

The parser converts well most widgets, with the following exceptions:

  • CaCalc
  • Complex nested layout
  • signal/slot definitions

Member Function Documentation

UIParser::UIParser(QObject *parent = Q_NULLPTR)

Default constructs an instance of UIParser.

[virtual] UIParser::~UIParser()

Destroys the instance of UIParser. The destructor is virtual.

[virtual] QString UIParser::description()

Reimplemented from QCSParser::description().

[virtual] QString UIParser::extension()

Reimplemented from QCSParser::extension().

[virtual] QString UIParser::parseDisplayFile(QString filename, QMap<QString, QString> macros, bool partial)

Reimplemented from QCSParser::parseDisplayFile().