-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesign.kv
57 lines (50 loc) · 1.4 KB
/
design.kv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<WelcomeScreen>:
MDFloatLayout:
canvas.before:
Color:
rgba: 0,0,0,1
Rectangle:
pos: self.pos
size: self.size
Label:
text:"Welcome to FilterGram..."
color: 1,1,1,1
pos_hint: {"center_x":.5, "center_y":.6}
font_size: "30sp"
<SelectImage>:
MDFloatLayout:
MDFillRoundFlatButton:
text: "Choose image..."
font_size: "35sp"
md_bg_color: app.theme_cls.accent_color
radius:[30]
pos_hint: {"center_x": .5, "center_y":.5}
on_release: root.ChooseImage()
<Loading>:
MDFloatLayout:
MDProgressBar:
id:progress
type: "indeterminate"
pos_hint: {"center_x":.5, "center_y": .5}
running_duration: 0.5
catching_duration: 1
<ShowResult>:
MDBoxLayout:
orientation:"horizontal"
MDSwiper:
id: ResultList
pos_hint: {"center_x":.5, "center_y":.5}
<WindowsManager>:
id: manager
WelcomeScreen:
manager: manager
name:"welcomescreen"
SelectImage:
manager: manager
name:"selectimage"
Loading:
manager: manager
name:"loading"
ShowResult:
manager: manager
name:"showresult"