10
11
12QString QQmlModelIndexValueType::propertiesString(
const QModelIndex &idx)
15 return QLatin1String(
"()");
16 return QString(QLatin1String(
"(%1,%2,0x%3,%4(0x%5))"))
17 .arg(idx.row()).arg(idx.column()).arg(idx.internalId(), 0, 16)
18 .arg(QLatin1String(idx.model()->metaObject()->className())).arg(quintptr(idx.model()), 0, 16);
22
23
26 return QString(QLatin1String(
"QItemSelectionRange(%1,%2)"))
27 .arg(
reinterpret_cast<
const QQmlPersistentModelIndexValueType *>(&v.topLeft())->toString())
28 .arg(
reinterpret_cast<
const QQmlPersistentModelIndexValueType *>(&v.bottomRight())->toString());
33#include "moc_qqmlmodelindexvaluetype_p.cpp"
Combined button and popup list for selecting options.