> What i really miss in QML is the ability to let a component inherit
functionality from another component.

This is already a feature: just create your components in separate files
and use this:

// BaseButton.qml
Item
{
   property int someNum: 100
   ... the basics for a button.
}

// SpecialButton.qml
BaseButton // SpecialButton
{
   somenum: 500
   ... A BaseButton adjusted for special cases
}

// FancyButton.qml
BaseButton //FancyButton
{
   ... Fancy button with special effects, shaders and whatever you can
think of
}
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to