Questions tagged [blackberry-cascades]

BlackBerry Cascades framework contains tools and APIs that you can use to build rich applications using Cascades libraries and Qt libraries.

The Cascades framework includes the following:

Cascades UI and platform APIs

You can use the Cascades UI APIs to create stunning interactions, while the platform APIs provide access to the underlying features of the BlackBerry Application Platform. You can use the Cascades UI and platform APIs to do almost anything you need to create great apps, including:

  • Develop your UI in C++, Qt Modeling Language (QML), or both
  • Take advantage of core UI controls, or expand on them and create your own custom controls
  • Communicate over mobile and Wi-Fi networks
  • Record and play media files
  • Store and retrieve data
  • Manage certificates and use cryptographic protocols

Cascades Builder

Cascades Builder is built into the QNX Momentics IDE and lets you design your UI using a visual interface. When you change the code that represents your UI, you can see the effects immediately in the design view.

Qt APIs

The Cascades framework is built using the Qt application framework. This architecture allows Cascades to leverage the Qt object model, event model, and threading model. The slots and signals mechanism in Qt allows for powerful and flexible inter-object communication. The Cascades framework incorporates features of fundamental Qt classes (such as QtCore, QtNetwork, QtXml, and QtSql, and others) and builds on them.

Source Code

Sample Source Code at Developer Site

Cascades-Samples Code at Github

Cascades-Community-Samples at Github

Documentation

1. Documentation

379 questions
1
vote
1 answer

what is this control and how to use it in BB 10 cascades for navigation

I need to develop a bb 10 cascades app in which i need to add a control like in this image http://subefotos.com/ver/?37868d57047746ce1ea9ca55b7637e9eo.jpg#codigos (rounded in red color) when i touch on second bubble, i need to show second screen…
user2085965
  • 393
  • 2
  • 13
  • 33
1
vote
1 answer

Accessing ListItemComponents on the run

right now I'm trying to create a ListView which loads the dataModel using a custom QML. Here's the snippet of my code: ListView { id: firstPageListView visible: false dataModel: firstPageDataModel …
edopelawi
  • 507
  • 4
  • 15
1
vote
1 answer

Application is not displaying under Application Permissions in BB 10

I'm implementing a BlackBerry 10 Cascade application. There I have given following permissions in the bar-descriptor.xml. run_when_backgrounded access_internet Then I clean, build and run the…
1
vote
1 answer

How do I change the label text in one qml file from another qml file using Qt/QML/C++ in Cascades, Blackberry 10?

Say one file in assets folder is RoomDetails.qml: import bb.cascades 1.0 import "commons" Page { Container { PageHeader{} //rest of the code } } And the other file in assets/commons folder is PageHeader.qml: import…
HumptyDumptyEIZ
  • 374
  • 1
  • 6
  • 18
1
vote
3 answers

How to print messages on console using console.log

I'm printing the messages on console in qmomentics ide. console.log("Simple string message"); Then this message is displaying on the device log console. Now i'm trying to concatenate the other datatypes to the message and printing those messages…
user2636874
  • 889
  • 4
  • 15
  • 36
1
vote
1 answer

Access singleton class methods in blackberry 10

I have implemented Singleton class method hpp and cpp like the following Singleton.hpp class Singleton { private: Singleton(); public: virtual ~Singleton(); static Singleton &instance(); int getMemberField(); void…
Kareem Waheed
  • 429
  • 2
  • 6
  • 13
1
vote
1 answer

How to close the sheet in in qml?

I want to show a splash page when the user clicks on the application icon. For this I've created Sheet and attached to the page. main.qml import bb.cascades 1.0 Page { Container { Label { text: "Home page" …
user2636874
  • 889
  • 4
  • 15
  • 36
1
vote
1 answer

How to bind the data to the list item of list view in cascades

I'm developing Blackberry 10 application with cascades framework. I want to display all the categories in list view when user clicks on a button. So I've created one qml page with list view. Categories.qml import bb.cascades 1.0 Page { Container { …
user2636874
  • 889
  • 4
  • 15
  • 36
1
vote
0 answers

BB Cascade- How to change a variable of an attached object?

so I'm new to the world of BB developement, QML, and C++ so please bear with me as I try to explain my issue. I'm in the process of making an application that will seach for people from some far away API that returns an XML file that I will then…
Jonathan N
  • 33
  • 6
1
vote
1 answer

html is blank in a blackberry cascades webview (C++, QT, QML)

in Blackberry Cascades (C++, QT, QML), I am trying to read the html of a webview - but it is returning blank. This webview uses "setUrl(url") to set the url, and does not use "setHtml(html)". Anyway - I have this code: WebView { id: loginView …
user1296259
  • 521
  • 1
  • 13
  • 33
1
vote
1 answer

To replace a dummy image in Listview Blackberry10

Please help me with this. I have created a ListView in QML file and filled it with data received from a webservice.Since this web service does not provide any images, i have to place a dummy image in that place. Then i used another method to fetch…
Varghese Kiran
  • 95
  • 1
  • 1
  • 11
1
vote
1 answer

Passing QByteArray image from c++ to QML

I need to show a png image in a QML page using a QByteArray passed from c++ routines to QML.How can i do this.? Please help me with this guys..
Varghese Kiran
  • 95
  • 1
  • 1
  • 11
1
vote
2 answers

How to get position (X,Y) of any visual node after page rendered?

I need to create a draggable button. The drag starts from multiple source and ends at a sink. Is there any way to get position of the sources and the sink after creation of the page. Container { horizontalAlignment:…
Shailesh
  • 490
  • 5
  • 11
1
vote
3 answers

Having an issue with the layouts in Blackberry 10 Cascades, qml (C++ & QT)

I am having an issue with the layouts in Blackberry 10 Cascades. I have a qml file, with the following content inside: content: Container { Container { id: topBar objectName: "topBar" layout: DockLayout {} …
user1296259
  • 521
  • 1
  • 13
  • 33
1
vote
1 answer

Is it possible to build a BB10 library which uses Qt classes

I'm looking into making some reusable components for use with BB10 Cascades apps. I can create static and shared libraries from the IDE's new project wizard, selecting shared/static library as the project type with basic functionality (such as a…