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
0
votes
1 answer

Getting Error , While Installing the Binaries on BB10 Virtual Machine

Hello Everybody , I am using BB _10.0.09 , I am getting error while installation the binaries ,please have a look at the attached Screen Shoot. Getting Error Message : "Could not find qmake configuration directoryCould not find…
AK Joshi
  • 877
  • 6
  • 20
0
votes
1 answer

BB Cascades, Passing data from C to Page1.qml and also to Page2.qml

I know this could be a really small thing i am missing here, but I have spent some good amout our hours trying to figure this out. I am from an Objective-C background and what I am trying to do is this: I have a main.qml which is a navigationPane…
Donald King
  • 9
  • 1
  • 3
0
votes
3 answers

Create a button on Cascades with background image, BB-10

I want to create a button using Cascades on Black Berry 10 development which has an image as a background and also possibly a text with white color. I found this class button, but it seems to not support setting an image as a background on the…
user2054339
  • 393
  • 1
  • 6
  • 20
0
votes
1 answer

How to set up property variable from QML to CPP in Blackberry 10?

I reference pullmybeard to work on drag and drop effect. To do something programmatically, I would use cpp rather than QML itself. But I face problem in setting property variables. Here is my code segments: Container *playerContainer =…
Vincent
  • 33
  • 4
0
votes
1 answer

How I can get navigation bar on Page under NavigationPane

How I can get a Navigationbar kind of thing like in settings application (attached screen shot) on a page without making it a sheet?
itsaboutcode
  • 24,525
  • 45
  • 110
  • 156
0
votes
2 answers

Webview - how to detect if an url is invalid in Blackberry Cascades

I am trying to find a way to detect whether an url is an invalid url for a webview For example, if I do myWebView->setUrl(QUrl("http://www.youtube.com")); //then the webview will change to that page, but if I…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
1 answer

Blackberry 10 - Display custom component in ApplicationB which is created in ApplicationA

I would like to create an application which shows a custom component in ApplicationB which is created in ApplicationA (like we maintain UI projects in C#.NET). It's like allowing the ApplicationB to consume the generic component screen from…
0
votes
5 answers

How to get the list view row count in blackberry 10 cascades qml?

I need to get the no of rows in a list view blackberry 10 cascades qml? The list view data source model type is json. I have tried this ListItem.initialized ? ListItem.view.dataModel.childCount(ListItem.indexPath) : 0 But its displaying only 0…
SelvaRaman
  • 218
  • 2
  • 15
0
votes
1 answer

Prevent the onTriggered event on listview header in blackberry 10 cascades?

I have created the custom header in listview blackberry 10 qml. But the listview header also fired on OnTriggered event. listItemComponents: [ ListItemComponent { type: "header" Container { preferredWidth: 748 …
SelvaRaman
  • 218
  • 2
  • 15
0
votes
0 answers

List view in Blackberry10 cascades

how to add on-click event in list view ,if i click the list view means i want to go next qml layout,how to do this.?i have tried on Triggered but it's not working
Vendetta
  • 513
  • 2
  • 16
0
votes
1 answer

How to use TabbedPane onClick in blackberry 10 cascades?

I have a problem while opening the layout2 from layout1. Here is what i have tried..! It is not getting in to the layout2 from layout1. `TabbedPane { showTabsOnActionBar: true Tab { …
Vendetta
  • 513
  • 2
  • 16
0
votes
2 answers

show the dialpad with a given number in Blackberry 10 Cascades Beta 4 SDK

I am trying to figure out to show the dialpad with a given number in Blackberry 10 Cascades Beta 4 SDK. Right now, I have this code: bb::system::Phone::smileytongue:hone phone; phone.requestDialpad(number,…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
1 answer

Blackbeery 10 cascades NavigationPane

am having a signin page which has a Navigation pane,while the user logins successfully i should redirect to the main.qml file ,while clicking ii can't able to go from the signin.qml file to main.qml file ? how to do this can anyone give me…
Vendetta
  • 513
  • 2
  • 16
0
votes
3 answers

Blackberry 10 cascades qml methods

How to load a method when i click a button from one qml layout to other qml? as am having a editprofile button if i click the button means i want to show the values ,which i got from the webservice how to do this? can anyone send some idea.? Thanks
Apple
  • 121
  • 2
  • 12
0
votes
1 answer

How do you extend a cascades ui control

I'm trying to extend the webview control in cascades with the following code #include namespace mopub { class BrowserView : public WebView { my compile error is expected class-name before '{' token I've tried to extend…
TealFawn
  • 329
  • 4
  • 14