Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*** QQC2 w/ suru components ***/
- // Example #1
- ItemDelegate {
- width: parent.width
- text: qsTr("Usage mode")
- indicator: SubPageIndicator {}
- }
- // Example #2
- SwitchDelegate {
- width: parent.width
- contentItem: DelegateTextLayout {
- title.text: qsTr("Enable the launcher")
- summary.text: qsTr("Enable or disable the launcher")
- }
- }
- /*** UITK components (current) ***/
- // Example #1
- ListItem {
- ListItemLayout {
- title.text: i18n.tr("Usage mode")
- ProgressionSlot {}
- }
- }
- // Example #2
- ListItem {
- ListItemLayout {
- title.text: i18n.tr("Enable the launcher")
- summary.text: i18n.tr("Enable or disable the launcher")
- Switch {
- SlotsLayout.position: SlotsLayout.Last
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement