#include <QAbstractItemModel>
#include <DPtrBase>
#include <QDomNode>
#include <functional>
#include "commonexport.h"
Go to the source code of this file.
|
class | MDomItemModel |
| This is a specialized model type that shows and allows to manipulate a DOM tree. More...
|
|
Special functor that can be used to customize MDomItemModel.
Any static function or lambda that takes a QDomNode as argument and returns a QVariant can be used to specialize MDomItemModel. The type of data returned through the QVariant depends on the role the function is supposed to serve. Only one function/lambda can be registered for each role in any given model instance.
Q_DECLARE_METATYPE |
( |
QDomNode |
| ) |
|