Search code examples
c++qmlblackberry-10blackberry-cascades

Settings menu UI implementation


I'm trying to implement a BB10 settings menu, looking like the one in the Calendar app for example. The question here is, which components should I use? Using a ListView with an XML model looks great, but is incompatible with translation. Using a C++ model looks overkill for a simple menu with a couple of entries… There's probably an established pattern somewhere, but I can't find it.

Screenshot of the Calendar app settings view


Solution

  • What you want is the expendable content property of the title bar: