QTreeWidgetItem* PListEditorWidget::generateRealItem(PList::Node* node )
{
	PList::Real* real = (PList::Real*) node;
	
	// Simple
	QTreeWidgetItem* item = new QTreeWidgetItem();
	
	item->setText (NameColumn, "<unknown>");
	item->setText (TypeColumn, "Real");
	item->setText (ValueColumn, QString::number(real->GetValue()));
	
	return item;
}
示例#2
0
Real::Real(const PList::Real& d) : Node(PLIST_UINT)
{
    plist_set_real_val(_node, d.GetValue());
}