Advertisement
Guest User

Untitled

a guest
Nov 6th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.15 KB | None | 0 0
  1. <Button>
  2. background_color: 1,1,1,0.5
  3. <BackButton>:
  4. pos_hint: {"x":0,"top":0.99}
  5. size_hint: 1, 0.1
  6. background_normal: ''
  7. background_color: 0, 0, 0, 0
  8.  
  9. <Label>:
  10. font_size: 15
  11. size_hint: 0.8, 0.1
  12. #font_name: "VarelaRound.ttf"
  13. font_name: "Arial"
  14.  
  15. <TextInput>:
  16. font_size: 30
  17. size_hint: 0.8, 0.1
  18. #font_name: "VarelaRound.ttf"
  19. font_name: "Arial"
  20.  
  21. <HeTextInput>:
  22. font_size: 30
  23. size_hint: 0.8,0.1
  24. #font_name: "VarelaRound.ttf"
  25. font_name: "Arial"
  26. text: ""
  27. multiline: 0
  28. base_direction: "rtl"
  29.  
  30.  
  31. <mainWindow>:
  32. FloatLayout:
  33. Label:
  34. pos_hint: {"x":0.1,"top":0.9}
  35. text: "תנכתמל תומישמ"
  36. font_size: 40
  37. Button:
  38. pos_hint: {"x":0.1,"top":0.7}
  39. text: "תופוחד תומישמ"
  40. font_size: 30
  41. on_press:
  42. root.manager.transition.direction = "up"
  43. root.important()
  44. Button:
  45. pos_hint: {"x":0.1,"top":0.59}
  46. text: "תויללכ תומישמ"
  47. font_size: 30
  48. on_press:
  49. root.manager.transition.direction = "up"
  50. root.mainm()
  51. Button:
  52. pos_hint: {"x":0.1,"top":0.35}
  53. size_hint: 0.8, 0.1
  54. text: "ועצובש תומישמ"
  55. font_size: 30
  56. on_press:
  57. root.manager.transition.direction = "up"
  58. root.finished()
  59. Button:
  60. pos_hint: {"x":0.2,"top":0.2}
  61. size_hint: 0.6, 0.1
  62. text: "המישמ רוצ"
  63. font_size: 30
  64. on_press:
  65. root.manager.transition.direction = "up"
  66. root.new()
  67.  
  68. <newMission>:
  69. FloatLayout:
  70. BackButton:
  71. on_press:
  72. root.manager.transition.direction = "down"
  73. root.back()
  74. Label:
  75. pos_hint: {"x":0.1,"top":0.9}
  76. text: "השדח המישמ"
  77. font_size: 40
  78. Label:
  79. pos_hint: {"x":0.1,"top":0.8}
  80. text: ":םש"
  81. font_size: 25
  82. HeTextInput:
  83. id: shem
  84. pos_hint: {"x":0.1,"top":0.72}
  85. size_hint: 0.8, 0.1
  86. font_size: 20
  87. Label:
  88. pos_hint: {"x":0.1,"top":0.6}
  89. text: ":רואית"
  90. font_size: 25
  91. HeTextInput:
  92. id: teur
  93. pos_hint: {"x":0.1,"top":0.52}
  94. size_hint: 0.8, 0.1
  95. font_size: 20
  96. Label:
  97. pos_hint: {"x":0.1,"top":0.4}
  98. text: ":הפש"
  99. font_size: 25
  100. TextInput:
  101. id: safa
  102. pos_hint: {"x":0.1,"top":0.32}
  103. size_hint: 0.8, 0.1
  104. font_size: 20
  105.  
  106. Button:
  107. font_size: 25
  108. pos_hint: {"x":0.5,"top":0.15}
  109. size_hint: 0.45, 0.13
  110. text: "המישמ\n תיללכ"
  111. on_release:
  112. root.addMain(shem.text, teur.text, safa.text)
  113. shem.clean()
  114. teur.clean()
  115. safa.text = ''
  116. root.manager.transition.direction = "down"
  117. root.back()
  118. Button:
  119. font_size: 25
  120. pos_hint: {"x":0.05,"top":0.15}
  121. size_hint: 0.45, 0.13
  122. text: "המישמ\n הפוחד"
  123. on_release:
  124. root.addImportant(shem.text, teur.text, safa.text)
  125. shem.clean()
  126. teur.clean()
  127. safa.text = ''
  128. root.manager.transition.direction = "down"
  129. root.back()
  130.  
  131. <mainMissions>:
  132. on_enter:
  133. root.clean()
  134. root.get_main()
  135. BoxLayout:
  136. orientation: "vertical"
  137.  
  138. GridLayout:
  139. size_hint: 1, None
  140. size_hint_y: 0.1
  141. height: 25
  142. cols: 1
  143.  
  144. BackButton:
  145. on_press:
  146. root.manager.transition.direction = "down"
  147. root.back()
  148.  
  149. GridLayout:
  150. size_hint: 1, None
  151. size_hint_y: 0.1
  152. height: 25
  153. cols: 3
  154.  
  155. Label:
  156. text: "תאריך"[::-1]
  157. font_size: 30
  158. Label:
  159. text: "שפה"[::-1]
  160. font_size: 30
  161. Label:
  162. text: "שם"[::-1]
  163. font_size: 30
  164. Scroll:
  165. BoxLayout:
  166. RecycleView:
  167. viewclass: 'SelectableButtonMain'
  168. data: [{'text': str(x)} for x in root.data_items]
  169. SelectableRecycleGridLayout:
  170. cols: 3
  171. size_hint: 1, None
  172. default_size: None, dp(50)
  173. default_size_hint: 1, None
  174. size_hint_y: None
  175. height: self.minimum_height
  176. orientation: 'vertical'
  177. multiselect: True
  178. touch_multiselect: True
  179.  
  180. <finishedMissions>:
  181. on_enter:
  182. root.clean()
  183. root.get_finished()
  184. BoxLayout:
  185. orientation: "vertical"
  186.  
  187. GridLayout:
  188. size_hint: 1, None
  189. size_hint_y: 0.1
  190. height: 25
  191. cols: 1
  192.  
  193. BackButton:
  194. on_press:
  195. root.manager.transition.direction = "down"
  196. root.back()
  197.  
  198. GridLayout:
  199. size_hint: 1, None
  200. size_hint_y: 0.1
  201. height: 25
  202. cols: 3
  203.  
  204. Label:
  205. text: "תאריך"[::-1]
  206. font_size: 30
  207. Label:
  208. text: "שפה"[::-1]
  209. font_size: 30
  210. Label:
  211. text: "שם"[::-1]
  212. font_size: 30
  213. Scroll:
  214. BoxLayout:
  215. RecycleView:
  216. viewclass: 'SelectableButtonFinished'
  217. data: [{'text': str(x)} for x in root.data_items]
  218. SelectableRecycleGridLayout:
  219. cols: 3
  220. size_hint: 1, None
  221. default_size: None, dp(50)
  222. default_size_hint: 1, None
  223. size_hint_y: None
  224. height: self.minimum_height
  225. orientation: 'vertical'
  226. multiselect: True
  227. touch_multiselect: True
  228.  
  229.  
  230. <importantMissions>:
  231. on_enter:
  232. root.clean()
  233. root.get_important()
  234. BoxLayout:
  235. orientation: "vertical"
  236.  
  237. GridLayout:
  238. size_hint: 1, None
  239. size_hint_y: 0.1
  240. height: 25
  241. cols: 1
  242.  
  243. BackButton:
  244. on_press:
  245. root.manager.transition.direction = "down"
  246. root.back()
  247.  
  248. GridLayout:
  249. size_hint: 1, None
  250. size_hint_y: 0.1
  251. height: 25
  252. cols: 3
  253.  
  254. Label:
  255. text: "תאריך"[::-1]
  256. font_size: 30
  257. Label:
  258. text: "שפה"[::-1]
  259. font_size: 30
  260. Label:
  261. text: "שם"[::-1]
  262. font_size: 30
  263. Scroll:
  264. BoxLayout:
  265. RecycleView:
  266. viewclass: 'SelectableButtonImportant'
  267. data: [{'text': str(x)} for x in root.data_items]
  268. SelectableRecycleGridLayout:
  269. cols: 3
  270. size_hint: 1, None
  271. default_size: None, dp(50)
  272. default_size_hint: 1, None
  273. size_hint_y: None
  274. height: self.minimum_height
  275. orientation: 'vertical'
  276. multiselect: True
  277. touch_multiselect: True
  278.  
  279.  
  280. <Mission>:
  281. namee: namee
  282. desc: desc
  283. lang: lang
  284. date: date
  285.  
  286. FloatLayout:
  287. BackButton:
  288. on_press:
  289. root.manager.transition.direction = "down"
  290. root.back()
  291. Label:
  292. pos_hint: {"x":0.1,"top":0.9}
  293. text: ":םש"
  294. font_size: 30
  295. Label:
  296. id: namee
  297. pos_hint: {"x":0.1,"top":0.82}
  298. text: ""
  299. font_size: 20
  300. Label:
  301. pos_hint: {"x":0.1,"top":0.7}
  302. text: ":הפש"
  303. font_size: 30
  304. Label:
  305. id: lang
  306. pos_hint: {"x":0.1,"top":0.62}
  307. text: ""
  308. font_size: 20
  309. Label:
  310. pos_hint: {"x":0.1,"top":0.5}
  311. text: ":רואית"
  312. font_size: 30
  313. Scroll:
  314. base_direction: "rtl"
  315. size_hint: 1, 0.13
  316. pos_hint: {"x":0.025,"top":0.4}
  317. Label:
  318. base_direction: "rtl"
  319. text_size: self.width, None
  320. size_hint_y: None
  321. height: self.texture_size[1]
  322. id: desc
  323. text: ""
  324. font_size: 20
  325. Button:
  326. font_size: 30
  327. pos_hint: {"x":0.1,"top":0.2}
  328. text: "המלשוה המישמ"
  329. on_release:
  330. root.manager.transition.direction = "down"
  331. root.back()
  332. root.finished()
  333. Label:
  334. id: date
  335. pos_hint: {"x":0.1,"top":0.3}
  336. text: ""
  337. font_size: 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement