QElectroTech  0.8-dev
Classes
projectdbmodel.h File Reference
#include <QAbstractTableModel>
#include <QPointer>
#include <QDomElement>
Include dependency graph for projectdbmodel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ProjectDBModel
 The ProjectDBModel class This model is intended to be use with the class projectDataBase and is designed to be displayed by the class QetGraphicsTableItem (but can be use by other view class since it inherit from QAbstractTableModel). This class should be sufficient to display the content of the project data base from a query set by the method void ProjectDBModel::setQuery(const QString &query). The indentifier method is used by widget editor to retrieve the good widget for edit the query. By defaut identifer return the string 'unknow'. You should use setIdentfier method to set your custom identifier. At the time this sentence is written, there is two identifier : nomenclature summary. More...