First page Back Continue Last page Graphics
Other Reusable Components Example: Property Library
Displaying 3 editable properties
using namespace KoProperty;
//setup data model
Set* set = new Set();
set->addProperty(
new Property("color", Qt::black, i18n("Color")) );
set->addProperty(
new Property("name", "abc", i18n("Name")) );
set->addProperty( new Property("size", //composed
QSize(367,530), i18n("Size")) );
//setup GUI
Editor* editor = new Editor();
editor->changeSet(propSet);