-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contributes-To: #40
- Loading branch information
nephros
authored and
Peter G. (nephros)
committed
May 23, 2023
1 parent
e039a71
commit c01b1d1
Showing
3 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright (c) 2023 Peter G. (nephros) | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import QtQuick 2.6 | ||
import Sailfish.Silica 1.0 | ||
import "../config/meta.js" as Meta | ||
|
||
Column { | ||
width: parent.width | ||
property var catData: Meta.data.categories | ||
|
||
property alias currentIndex: cbox.currentIndex | ||
property alias value: cbox.value | ||
ContextMenu { id: catmenu | ||
Repeater { | ||
model: catData | ||
delegate: MenuItem { text: modelData.displayName } | ||
} | ||
} | ||
ComboBox {id: cbox | ||
width: parent.width | ||
label: qsTr("Category") | ||
description: qsTr("Type of bug/classification") | ||
currentIndex: -1 | ||
menu: catmenu | ||
} | ||
} | ||
// vim: expandtab ts=4 st=4 sw=4 filetype=javascript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.pragma library | ||
var data = { | ||
"categories": [ | ||
{ "id": 0, "name": "none", "displayName": "Not specified", "desc": ""}, | ||
{ "id": 0, "name": "android_app_support", "displayName": "Android App Support", "desc": ""}, | ||
{ "id": 0, "name": "backup", "displayName": "Backup", "desc": ""}, | ||
{ "id": 0, "name": "bluetooth", "displayName": "Bluetooth", "desc": ""}, | ||
{ "id": 0, "name": "browser", "displayName": "Browser", "desc": ""}, | ||
{ "id": 0, "name": "calendar", "displayName": "Calendar", "desc": ""}, | ||
{ "id": 0, "name": "contacts", "displayName": "Contacts", "desc": ""}, | ||
{ "id": 0, "name": "exchange", "displayName": "Exchange/Office365", "desc": ""}, | ||
{ "id": 0, "name": "fingerprint", "displayName": "Fingerprint", "desc": ""}, | ||
{ "id": 0, "name": "mail", "displayName": "EMail", "desc": ""}, | ||
{ "id": 0, "name": "media_tracker", "displayName": "Media Indexing", "desc": ""}, | ||
{ "id": 0, "name": "mobile_data", "displayName": "Mobile Data", "desc": ""}, | ||
{ "id": 0, "name": "mpris", "displayName": "MPRIS", "desc": ""}, | ||
{ "id": 0, "name": "native app", "displayName": "SFOS App", "desc": ""}, | ||
{ "id": 0, "name": "network", "displayName": "Networking", "desc": ""}, | ||
{ "id": 0, "name": "ngfd", "displayName": "UI Feedback", "desc": ""}, | ||
{ "id": 0, "name": "oom_killer", "displayName": "OOM", "desc": ""}, | ||
{ "id": 0, "name": "positioning", "displayName": "Positionig", "desc": ""}, | ||
] | ||
} | ||
// vim: ft=javascript expandtab ts=4 sw=4 st=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters