comparison src/cagou.kv @ 1:189b76859110

Profile manager: new profile creation is handled
author Goffi <goffi@goffi.org>
date Sat, 26 Mar 2016 18:58:13 +0100
parents 160cc95ad7ea
children 7b0a53d2afd3
comparison
equal deleted inserted replaced
0:160cc95ad7ea 1:189b76859110
12 # GNU Affero General Public License for more details. 12 # GNU Affero General Public License for more details.
13 13
14 # You should have received a copy of the GNU Affero General Public License 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/>. 15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 16
17 <ProfileManager>: 17 #:include profile_manager.kv
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