Warning, /utilities/mycroft-plasmoid/plasmoid/contents/ui/HintsModel.qml is written in an unsupported language. File is not indexed.

0001 /* Copyright 2019 Aditya Mehra <aix.m@outlook.com>                            
0002 
0003     This library is free software; you can redistribute it and/or
0004     modify it under the terms of the GNU Lesser General Public
0005     License as published by the Free Software Foundation; either
0006     version 2.1 of the License, or (at your option) version 3, or any
0007     later version accepted by the membership of KDE e.V. (or its
0008     successor approved by the membership of KDE e.V.), which shall
0009     act as a proxy defined in Section 6 of version 3 of the license.
0010     
0011     This library is distributed in the hope that it will be useful,
0012     but WITHOUT ANY WARRANTY; without even the implied warranty of
0013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0014     Lesser General Public License for more details.
0015     
0016     You should have received a copy of the GNU Lesser General Public
0017     License along with this library.  If not, see <http://www.gnu.org/licenses/>.
0018 */
0019 
0020 import QtQuick 2.9
0021 
0022 ListModel {
0023     id: skillshintmodel
0024     ListElement {
0025         Pic: "../images/alarm.png"
0026         Skill: "Alarm"
0027         CommandList: [
0028             ListElement { Commands: "Hey Mycroft, Set an alarm for 9 pm" },
0029             ListElement { Commands: "Hey Mycroft, Cancel alarm" }
0030         ]
0031     }
0032 
0033     ListElement {
0034         Pic: "../images/dateandtime.png"
0035         Skill: "Date & Time"
0036         CommandList: [
0037             ListElement { Commands: "Hey Mycroft, What is the current time" },
0038             ListElement { Commands: "Hey Mycroft, What is the date today" }
0039         ]
0040     }
0041 
0042     ListElement {
0043         Pic: "../images/desktop.png"
0044         Skill: "Desktop"
0045         CommandList: [
0046             ListElement { Commands: "Hey Mycroft, Open firefox"},
0047             ListElement { Commands: "Hey Mycroft, Open konsole"}
0048         ]
0049     }
0050 
0051     ListElement {
0052         Pic: "../images/joke.png"
0053         Skill: "Joke"
0054         CommandList: [
0055             ListElement {Commands: "Hey Mycroft, Tell me a joke"},
0056             ListElement {Commands: "Hey Mycroft, Sing for me"}
0057         ]
0058     }
0059 
0060     ListElement {
0061         Pic: "../images/spell.png"
0062         Skill: "Spell"
0063         CommandList: [
0064             ListElement {Commands: "Hey Mycroft, Spell hello"},
0065             ListElement {Commands: "Hey Mycroft, Spell mycroft"}
0066         ]
0067     }
0068     
0069     ListElement {
0070         Pic: "../images/productivity.png"
0071         Skill: "Productivity"
0072         CommandList: [
0073             ListElement {Commands: "Hey Mycroft, What is the stock price of nasdaq"},
0074             ListElement {Commands: "Hey Mycroft, What is the current price of oil"}
0075         ]
0076     }
0077 
0078     ListElement {
0079         Pic: "../images/wikip.png"
0080         Skill: "WiKi"
0081         CommandList: [
0082             ListElement {Commands: "Hey Mycroft, What is the distance to the moon"},
0083             ListElement {Commands: "Hey Mycroft, What is relativity"}
0084         ]
0085     }
0086 
0087     ListElement {
0088         Pic: "../images/wolfram.png"
0089         Skill: "Wolfram Alpha"
0090         CommandList: [
0091             ListElement {Commands: "Hey Mycroft, What is PI to 10 digits"},
0092             ListElement {Commands: "Hey Mycroft, What is 2+2"}
0093         ]
0094     }
0095 
0096     ListElement {
0097         Pic: "../images/weather.png"
0098         Skill: "Weather"
0099         CommandList: [
0100             ListElement {Commands: "Hey Mycroft, What is the current weather"},
0101             ListElement {Commands: "Hey Mycroft, Current weather in Tokyo"}
0102         ]
0103     }
0104 }