Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
712 B

#ifndef QTMVVM_WIDGETSPRESENTER_P_H
#define QTMVVM_WIDGETSPRESENTER_P_H
#include <QtCore/QSet>
#include <QtCore/QHash>
#include <QtGui/QValidator>
#include "qtmvvmwidgets_global.h"
#include "widgetspresenter.h"
namespace QtMvvm {
class WidgetsPresenterPrivate
{
public:
WidgetsPresenterPrivate();
static WidgetsPresenter *currentPresenter();
InputWidgetFactory* inputViewFactory = nullptr;
QSet<const QMetaObject*> implicitMappings;
QHash<const QMetaObject*, const QMetaObject*> explicitMappings;
static QWidget *parent(const QVariantMap &properties);
};
Q_MVVMWIDGETS_EXPORT QValidator *createUrlValidator(QStringList schemes, QObject* parent = nullptr);
}
#endif // QTMVVM_WIDGETSPRESENTER_P_H