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
4
votes
2 answers

Import OpenCV for Blackberry 10

I want to include OpenCV library into my cascades project but I don't know how to do it because of luck of documentation.. Please I need help! PS : I'm using Windows 7 64bits.
4
votes
1 answer

Is it possible to reverse the Grouping in a GroupDataModel

I have a GroupDataModel of items and use this to populate a ListView. Each item has a category, which can be either "TV" or "Cinema". I set "category" as a sorting key and the ListView displays the items grouped into categories. However, the order…
barry
  • 4,037
  • 6
  • 41
  • 68
4
votes
3 answers

Invocation from function in QML?

I can share an item easily using an InvokeActionItem in a Page but I need to be able to call it in a listview item. I've managed to trigger an invoke, but I cannot figure out how to add data when triggering it. I keep getting an error message of…
hyarion
  • 2,251
  • 2
  • 17
  • 28
3
votes
3 answers

QObject::tr() not translating dynamically generated strings

QObject::tr("%1").arg(_value); Here _value is of QString type, which is dynamically generated. Is the above way correct to translate dynamically generated strings as in my code it doesn't seem to work.
Kartik
  • 45
  • 1
  • 4
3
votes
1 answer

BB10 Cascades: how it`s made?

How implement many custom ListItems, like its implemented in standart blackberry calendar app. The following screenshot shows what I mean Especially I interested what is the second control with right arrow. Thanks.
Silnet
  • 101
  • 1
  • 6
3
votes
0 answers

button click counter blackberry cascades

I'm trying to make an app that count how many times you've clicked the button in blackberry 10 so i'm trying to int a value that will increase by 1 when you click the button import bb.cascades 1.2 Page { Container { ImageButton { …
3
votes
1 answer

How to create custom QML element from file in c++?

I have a custom QML element that I use in my app. MyImageView.qml I can create instances of it in javascript without issue using a ComponentDefinition such as (names and methods vastly simplified for sake of readability): attachedObjects: [ …
hyarion
  • 2,251
  • 2
  • 17
  • 28
3
votes
3 answers

Get notification when contacts are added/deleted/updated

On BlackBerry 10, how can my Qt application be notified when a contact is added, deleted, or updated? Is there a contact API?
3
votes
0 answers

How do I correctly load data into a Picker with an ArrayDataModel? (Blackberry OS 10 Cascades)

I am working with Blackberry 10 Cascades and I am trying to load data into a picker using an ArrayDataModel. All of the documentation online I have read thusfar have given me examples to use with XMLDataSource, however since my data is JSON and…
user2233227
3
votes
2 answers

How to override BlackBerry10 function?

I am making an application that is using tab bar with the "More" button. I would like to Override the swipe function and instead of OnClick on the "More" button, the help panel to pop up on swipe (from left to right). The picture is showing the…
Naskov
  • 4,121
  • 5
  • 38
  • 62
3
votes
1 answer

Changing default animation of Sheet on Blackberry 10

I'm developing a native cascades BB10 app using the Gold SDK. When a 'Sheet' is displayed on BB10 it animates as a slide transition from the bottom of the screen. Is it possible to override this transition and replace it with a fade…
tech74
  • 1,609
  • 1
  • 20
  • 39
3
votes
2 answers

How to access the outer components from listitemcomponents in listview bb10 qml?

I am not able to access the Datasource id from inside of the ListItemComponent. Can anyone help me in regards to this? ListItemComponent { type: "item" Container { id: listviewcontainer Container { preferredWidth:…
SelvaRaman
  • 218
  • 2
  • 15
3
votes
1 answer

How to Fix Module Not Installed Error in BB10 IDE

Is it possible to fix module not installed error in BB10 IDE? Attached is screenshot of error to explain it a bit. Note: There is a similar question on SO which is kind of asking the same question (still not found correct answer yet) - blackberry…
itsaboutcode
  • 24,525
  • 45
  • 110
  • 156
3
votes
2 answers

How do I create an image button in BlackBerry 10 Cascades?

I need to create custom UI elements like buttons and lists with image backgrounds in Cascades Qml, However there doesn't seem to be a way to set the background of controls such as Button. I can't find any examples of this anywhere. It seems like…
Tjaart
  • 3,912
  • 2
  • 37
  • 61
3
votes
2 answers

Cascades BlackBerry. Click Control behind other

We have an image ImageButton covered by a Label. Is it possible to click on the ImageButton underneath the label?
bunny1985
  • 762
  • 6
  • 21
1
2
3
25 26