Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
nish1013
Posts: 253
Registered: ‎08-14-2010
My Device: Not Specified

QML for dynamic screens

I have come across ControlDelegate and ComponentDefinition are helpful to create dynamic UIs using QML.

 

Are there any more such QML items? Please list here.

 

Thanks

Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: QML for dynamic screens

Are there specific things you are looking for, or something you area having trouble accomplishing?

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.
BlackBerry Development Advisor
sabdelsayed
Posts: 249
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: QML for dynamic screens

[ Edited ]

Hi nish1013, 

 

The API's available for dynamic QML loading are as you listed: ControlDelegate and ComponentDefinition.

 

And, as of the 10.2 release there is also a new API called Delegate that was added to the list. It allows you to add Tabs dynamically in the same declarative way that a ControlDelegate allowed for controls that inherited from the Control class.

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.