CHANGED: #1471 Enabled editing in the property browser widget, but obviously changing properties will have no effect until property changing is implemented.

--HG--
branch : gsoc2012-gui-editor
This commit is contained in:
dfighter1985 2012-08-02 21:12:03 +02:00
parent 0b3be8e93d
commit 8dc33c2073

View file

@ -86,6 +86,9 @@ namespace GUIEditor
const SPropEntry &prop = *pItr; const SPropEntry &prop = *pItr;
setupProperty( prop, element ); setupProperty( prop, element );
} }
QtVariantEditorFactory *factory = new QtVariantEditorFactory;
browser->setFactoryForManager( propertyMgr, factory );
} }
void CPropBrowserCtrl::setupProperty( const SPropEntry &prop, const CInterfaceElement *element ) void CPropBrowserCtrl::setupProperty( const SPropEntry &prop, const CInterfaceElement *element )