2 * Copyright (C) 2015 Canonical, Ltd.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18import Ubuntu.Components 1.3
22 objectName: "testView"
24 property real dragHandleLeftMargin
25 property real launcherOffset
26 property int currentIndex
27 property int delayMinutes
28 property real backgroundTopMargin
29 property url background
31 property bool alphanumeric
32 property var userModel
33 property var infographicModel
34 readonly property bool fullyShown: _fullyShown
35 readonly property bool required: _required
37 property bool _fullyShown: true
38 property bool _required: true
40 signal selected(int index)
41 signal responded(string response)
43 signal emergencyCall()
45 signal _showMessageCalled(string html)
46 signal _showPromptCalled(string text, bool isSecret, bool isDefaultPrompt)
47 signal _showLastChanceCalled()
49 signal _notifyAuthenticationSucceededCalled()
50 signal _notifyAuthenticationFailedCalled()
52 signal _tryToUnlockCalled(bool toTheRight)
54 function showMessage(html) {
55 _showMessageCalled(html);
58 function showPrompt(text, isSecret, isDefaultPrompt) {
59 _showPromptCalled(text, isSecret, isDefaultPrompt);
62 function showLastChance() {
63 _showLastChanceCalled();
72 function notifyAuthenticationSucceeded() {
73 _notifyAuthenticationSucceededCalled();
76 function notifyAuthenticationFailed() {
77 _notifyAuthenticationFailedCalled();
84 function tryToUnlock(toTheRight) {
85 _tryToUnlockCalled(toTheRight);
94 text: "Fake view, nothing to see here"
96 anchors.centerIn: parent
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list