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
rakesh86shankar
Posts: 1,005
Registered: ‎05-22-2009
My Device: Not Specified

How to generate UI Interface in cascades without using QML

Hi

 

I want the user interface to be handled using codes in cpp file ,not be using QML ,how can i achieve it,Any sample code regarding this will be useful.

 

Regards

 

Rakesh Shankar.P

Developer
Zingam
Posts: 195
Registered: ‎05-09-2012
My Device: Playbook, Z10 LE

Re: How to generate UI Interface in cascades without using QML

Have you looked at the tutorials on the Cascades documantation page? I think there are good examples there.

Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: How to generate UI Interface in cascades without using QML

Some of the samples here https://bdsc.webapps.blackberry.com/cascades/sampleapps are marked specifically as being C++ and not QML.  I think a few of the ones that don't mention which they use are also pure C++.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
laurentC
Posts: 268
Registered: ‎02-05-2010
My Device: Blackberry Z10

Re: How to generate UI Interface in cascades without using QML

By the way, why do you want to use c++ instead of QML ?

It's really simpler to design your app with QML, perform basic tasks with javascript and then use C++ if you can't do what you want with QML and Javascript.

 

 

Twitter : @LaurentKP
My apps