1 #ifndef QTMVVM_INPUTVIEWFACTORY_H     2 #define QTMVVM_INPUTVIEWFACTORY_H     4 #include <QtCore/qurl.h>     5 #include <QtCore/qvariant.h>     6 #include <QtCore/qscopedpointer.h>     7 #include <QtCore/qobject.h>     8 #include <QtCore/qmetaobject.h>     9 #include <QtMvvmCore/qtmvvmcore_global.h>    11 #include "QtMvvmQuick/qtmvvmquick_global.h"    27                            const QVariantMap &viewProperties) 
const = 0;
    37                           const QVariantMap &viewProperties) 
const override;
    40 class InputViewFactoryPrivate;
    52     Q_INVOKABLE 
virtual QUrl getInputUrl(
const QByteArray &type, 
const QVariantMap &viewProperties);
    54     Q_INVOKABLE 
virtual QUrl getDelegate(
const QByteArray &type, 
const QVariantMap &viewProperties);
    60                                                  const QVariantMap &viewProperties);
    63     template <
typename TType>
    64     inline void addSimpleInput(
const QUrl &qmlFileUrl);
    66     Q_INVOKABLE 
virtual void addSimpleInput(
const QByteArray &type, 
const QUrl &qmlFileUrl);
    69     template <
typename TType>
    70     inline void addSimpleDelegate(
const QUrl &qmlFileUrl);
    72     Q_INVOKABLE 
virtual void addSimpleDelegate(
const QByteArray &type, 
const QUrl &qmlFileUrl);
    75     template <
typename TType>
    76     inline void addFormatter(
Formatter *formatter);
    81     template <
typename TAliasType, 
typename TTargetType>
    82     inline void addInputAlias();
    87     template <
typename TAliasType, 
typename TTargetType>
    88     inline void addDelegateAlias();
    90     Q_INVOKABLE 
virtual void addDelegateAlias(
const QByteArray &alias, 
const QByteArray &targetType);
    93     template <
typename TAliasType, 
typename TTargetType>
    94     inline void addFormatterAlias();
    96     QTMVVM_REVISION_1 Q_INVOKABLE 
void addFormatterAlias(
const QByteArray &alias, 
const QByteArray &targetType);
   102 template<
typename TType>
   108 template<
typename TType>
   114 template<
typename TType>
   120 template<
typename TAliasType, 
typename TTargetType>
   126 template<
typename TAliasType, 
typename TTargetType>
   132 template<
typename TAliasType, 
typename TTargetType>
   143     Q_UNUSED(viewProperties);
   144     return formatString.
arg(value.template value<T>());
   149 #endif // QTMVVM_INPUTVIEWFACTORY_H 
The primary namespace of the QtMvvm library. 
 
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const