first qml prototype
This commit is contained in:
@@ -469,7 +469,7 @@ QVariant XQItem::data(int role ) const
|
||||
|
||||
case Qt::ToolTipRole:
|
||||
{
|
||||
return rawText() + ":" + unitTypeToString() + ":" + renderStyleToString() + ":" + unitTypeToString() + ":" + itemFlagsToString();
|
||||
return itemType().text() + ":: " + rawText() + ":" + unitTypeToString() + ":" + renderStyleToString() + ":" + unitTypeToString() + ":" + itemFlagsToString();
|
||||
}
|
||||
|
||||
//
|
||||
|
@@ -51,7 +51,6 @@ void XQItemFactory::initItemFactory( const QString& modelSheetFileName )
|
||||
for( const XQNodePtr& typeSheetNode : _typesSheet->children())
|
||||
{
|
||||
XQItemType* itemType = new XQItemType;
|
||||
//const QString& typeName = typeSheetNode->tag_name();
|
||||
const QString& typeName = typeSheetNode->tag_name();
|
||||
configureItemType(itemType, typeSheetNode);
|
||||
|
||||
|
Reference in New Issue
Block a user