Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- assets/UIUtility.qml
- import bb.cascades 1.0
- QtObject {
- function actionBarPlacementSignature() {
- return ActionBarPlacement.OnBar
- }
- }
- assets/mindw0h0du/UIUtility.qml
- import bb.cascades 1.3
- QtObject {
- function actionBarPlacementSignature() {
- return ActionBarPlacement.Signature
- }
- }
- assets/SomePage.qml
- Page {
- actions: [
- ActionItem {
- title: "Something"
- ActionBar.placement: uiutil.actionBarPlacementSignature()
- }
- ]
- attachedObjects: [
- UIUtility {
- id: uiutil
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement