Mercurial > libervia-desktop-kivy
comparison src/cagou.kv @ 0:160cc95ad7ea
initial commit:
- basic SàT/QuickApp integration
- basic XMLUI
- profile manager first draft
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Mar 2016 16:20:52 +0100 |
parents | |
children | 189b76859110 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:160cc95ad7ea |
---|---|
1 # Cagou: desktop/mobile frontend for Salut à Toi XMPP client | |
2 # Copyright (C) 2016 Jérôme Poisson (goffi@goffi.org) | |
3 | |
4 # This program is free software: you can redistribute it and/or modify | |
5 # it under the terms of the GNU Affero General Public License as published by | |
6 # the Free Software Foundation, either version 3 of the License, or | |
7 # (at your option) any later version. | |
8 | |
9 # This program is distributed in the hope that it will be useful, | |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 # GNU Affero General Public License for more details. | |
13 | |
14 # You should have received a copy of the GNU Affero General Public License | |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
16 | |
17 <ProfileManager>: | |
18 Label: | |
19 text: "Profile Manager" | |
20 size_hint: 1,0.05 | |
21 | |
22 <ProfileScreen>: | |
23 layout: layout | |
24 BoxLayout: | |
25 id: layout | |
26 orientation: 'vertical' | |
27 | |
28 Label: | |
29 text: "Select a profile to connect with, or create a new one" | |
30 size_hint: 1,0.05 | |
31 | |
32 GridLayout: | |
33 cols: 2 | |
34 size_hint: 1, 0.1 | |
35 Button: | |
36 size_hint: 1, 0.1 | |
37 text: "New" | |
38 Button: | |
39 text: "Delete" | |
40 size_hint: 1, 0.1 | |
41 | |
42 <ConnectButton>: | |
43 text: "Connect" | |
44 size_hint: 1, 0.1 | |
45 | |
46 <ProfileItem>: | |
47 background_normal: "button_selected.png" if self.is_selected else "button.png" | |
48 deselected_color: 1,1,1,1 | |
49 selected_color: 1,1,1,1 | |
50 color: 0,0,0,1 |