This section lists all blog posts, regardless of topic.
BB10: Signals and slotsJune 24, 2012
https://developer.blackberry.com/cascades/documentation/ui/signals_slots/index.htmlI read this introduction to signals and slots, and how to create them in more flexible ways.
Interesting. If you can get away with using signals and slots in QML and not needing to define custom signals and slots, it is a very efficient way to wire things up. It seems to work decently in C++ as well, although not surprisingly requires a bit more verbose code. I'll have to use signals and slots to see how I like them, but it seems like a very reasonable design.
BB10: Creating User InterfacesJune 24, 2012
Tutorials here:
https://developer.blackberry.com/cascades/documentation/ui/index.htmlThese tutorials look great. Diving in...
BB10: Create your first appJune 24, 2012
Tutorial at:
https://developer.blackberry.com/cascades/documentation/getting_started/first_app/index.htmlThe tutorial instructs you:
"In the QNX Momentics IDE, click File > New > BlackBerry Cascades C++ Project."
But "BlackBerry Cascades C++ Project" isn't one of the options.
Instead, you have to select
Other, and then browse under the
BlackBerry Cascades folder.
I needed to select
Project -> Build Configurations -> Set Active -> Simulator Debug.
Both the QML and C++ UI tutorials were straightforward and the resulting app is pretty slick!
Two minor comments:
First:
QObject::connect(opacitySlider, SIGNAL(valueChanging(float)), day, SLOT(setOpacity(float)));
|
|
... strikes me as somewhat novel. I'll have to see other examples of this to get a sense for the limitations of this approach, etc.
My other comment is that having to write:
| HorizontalAlignment::Center |
|
... every time is a bit verbose. But I suppose that is the cost one must pay for constructing a UI in C++ code rather than QML.
older >>