You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

510 lines
15 KiB

  1. {
  2. "progress_expr": null,
  3. "disable_stop_button": false,
  4. "header_bg_color": "#ffffff",
  5. "progress_regex": null,
  6. "terminal_font_family": null,
  7. "disable_progress_bar_animation": false,
  8. "error_color": "#ea7878",
  9. "language": "english",
  10. "run_validators": true,
  11. "show_sidebar": true,
  12. "program_description": "Example application to show Gooey's various widgets",
  13. "image_dir": "::gooey/default",
  14. "auto_start": false,
  15. "target": "\"F:\\Dropbox\\pretty_gui\\Gooey\\venv3\\Scripts\\python.exe\" -u \"F:/Dropbox/pretty_gui/Gooey/gooey/tests/all_widgets.py\"",
  16. "header_image_center": false,
  17. "layout": "standard",
  18. "program_name": "all_widgets",
  19. "show_success_modal": false,
  20. "monospace_display": false,
  21. "num_optional_cols": 2,
  22. "encoding": "utf-8",
  23. "tabbed_groups": false,
  24. "poll_external_updates": false,
  25. "body_bg_color": "#f0f0f0",
  26. "show_stop_warning": true,
  27. "widgets": {
  28. "all_widgets.py": {
  29. "contents": [
  30. {
  31. "name": "Optional Arguments",
  32. "items": [
  33. {
  34. "options": {
  35. "validator": {
  36. "test": "True",
  37. "message": ""
  38. },
  39. "external_validator": {
  40. "cmd": ""
  41. },
  42. "error_color": "#ea7878"
  43. },
  44. "type": "TextField",
  45. "required": false,
  46. "id": "--textfield",
  47. "cli_type": "optional",
  48. "data": {
  49. "choices": [],
  50. "default": 2,
  51. "help": null,
  52. "required": false,
  53. "commands": [
  54. "--textfield"
  55. ],
  56. "nargs": "",
  57. "display_name": "textfield",
  58. "dest": "textfield"
  59. }
  60. },
  61. {
  62. "options": {
  63. "validator": {
  64. "test": "True",
  65. "message": ""
  66. },
  67. "external_validator": {
  68. "cmd": ""
  69. },
  70. "error_color": "#ea7878"
  71. },
  72. "type": "Textarea",
  73. "required": false,
  74. "id": "--textarea",
  75. "cli_type": "optional",
  76. "data": {
  77. "choices": [],
  78. "default": "oneline twoline",
  79. "help": null,
  80. "required": false,
  81. "commands": [
  82. "--textarea"
  83. ],
  84. "nargs": "",
  85. "display_name": "textarea",
  86. "dest": "textarea"
  87. }
  88. },
  89. {
  90. "options": {
  91. "validator": {
  92. "test": "True",
  93. "message": ""
  94. },
  95. "external_validator": {
  96. "cmd": ""
  97. },
  98. "error_color": "#ea7878"
  99. },
  100. "type": "PasswordField",
  101. "required": false,
  102. "id": "--password",
  103. "cli_type": "optional",
  104. "data": {
  105. "choices": [],
  106. "default": "hunter42",
  107. "help": null,
  108. "required": false,
  109. "commands": [
  110. "--password"
  111. ],
  112. "nargs": "",
  113. "display_name": "password",
  114. "dest": "password"
  115. }
  116. },
  117. {
  118. "options": {
  119. "validator": {
  120. "test": "True",
  121. "message": ""
  122. },
  123. "external_validator": {
  124. "cmd": ""
  125. },
  126. "error_color": "#ea7878"
  127. },
  128. "type": "CommandField",
  129. "required": false,
  130. "id": "--commandfield",
  131. "cli_type": "optional",
  132. "data": {
  133. "choices": [],
  134. "default": "cmdr",
  135. "help": null,
  136. "required": false,
  137. "commands": [
  138. "--commandfield"
  139. ],
  140. "nargs": "",
  141. "display_name": "commandfield",
  142. "dest": "commandfield"
  143. }
  144. },
  145. {
  146. "options": {
  147. "validator": {
  148. "test": "True",
  149. "message": ""
  150. },
  151. "external_validator": {
  152. "cmd": ""
  153. },
  154. "error_color": "#ea7878"
  155. },
  156. "type": "Dropdown",
  157. "required": false,
  158. "id": "--dropdown",
  159. "cli_type": "optional",
  160. "data": {
  161. "choices": [
  162. "one",
  163. "two"
  164. ],
  165. "default": "two",
  166. "help": null,
  167. "required": false,
  168. "commands": [
  169. "--dropdown"
  170. ],
  171. "nargs": "",
  172. "display_name": "dropdown",
  173. "dest": "dropdown"
  174. }
  175. },
  176. {
  177. "options": {
  178. "validate": "",
  179. "external_validator": {
  180. "cmd": ""
  181. },
  182. "hide_text": true,
  183. "heading_color": "",
  184. "text_color": "",
  185. "error_color": "#ea7878",
  186. "height": 300,
  187. "hide_heading": true,
  188. "validator": {
  189. "test": "True",
  190. "message": ""
  191. }
  192. },
  193. "type": "Listbox",
  194. "required": false,
  195. "id": "--listboxie",
  196. "cli_type": "optional",
  197. "data": {
  198. "choices": [
  199. "Option one",
  200. "Option two",
  201. "Option three",
  202. "Option four"
  203. ],
  204. "default": [
  205. "Option three",
  206. "Option four"
  207. ],
  208. "help": null,
  209. "required": false,
  210. "commands": [
  211. "--listboxie"
  212. ],
  213. "nargs": "+",
  214. "display_name": "listboxie",
  215. "dest": "listboxie"
  216. }
  217. },
  218. {
  219. "options": {
  220. "validator": {
  221. "test": "True",
  222. "message": ""
  223. },
  224. "external_validator": {
  225. "cmd": ""
  226. },
  227. "error_color": "#ea7878"
  228. },
  229. "type": "Counter",
  230. "required": false,
  231. "id": "-c",
  232. "cli_type": "optional",
  233. "data": {
  234. "choices": [
  235. "1",
  236. "2",
  237. "3",
  238. "4",
  239. "5",
  240. "6",
  241. "7",
  242. "8",
  243. "9",
  244. "10"
  245. ],
  246. "default": 3,
  247. "help": null,
  248. "required": false,
  249. "commands": [
  250. "-c",
  251. "--counter"
  252. ],
  253. "nargs": "",
  254. "display_name": "counter",
  255. "dest": "counter"
  256. }
  257. },
  258. {
  259. "options": {
  260. "validator": {
  261. "test": "True",
  262. "message": ""
  263. },
  264. "external_validator": {
  265. "cmd": ""
  266. },
  267. "error_color": "#ea7878"
  268. },
  269. "type": "CheckBox",
  270. "required": false,
  271. "id": "-o",
  272. "cli_type": "optional",
  273. "data": {
  274. "choices": [],
  275. "default": true,
  276. "help": null,
  277. "required": false,
  278. "commands": [
  279. "-o",
  280. "--overwrite"
  281. ],
  282. "nargs": "",
  283. "display_name": "overwrite",
  284. "dest": "overwrite"
  285. }
  286. },
  287. {
  288. "options": {
  289. "initial_selection": 1
  290. },
  291. "type": "RadioGroup",
  292. "required": true,
  293. "id": "5aa16ff9-9bd8-46b0-a7e4-7c209d34f0bc",
  294. "data": {
  295. "widgets": [
  296. {
  297. "options": {
  298. "validator": {
  299. "test": "True",
  300. "message": ""
  301. },
  302. "external_validator": {
  303. "cmd": ""
  304. },
  305. "error_color": "#ea7878"
  306. },
  307. "type": "CheckBox",
  308. "required": false,
  309. "id": "--mutexone",
  310. "cli_type": "optional",
  311. "data": {
  312. "choices": [],
  313. "default": true,
  314. "help": "Show more details",
  315. "required": false,
  316. "commands": [
  317. "--mutexone"
  318. ],
  319. "nargs": "",
  320. "display_name": "mutexone",
  321. "dest": "mutexone"
  322. }
  323. },
  324. {
  325. "options": {
  326. "validator": {
  327. "test": "True",
  328. "message": ""
  329. },
  330. "external_validator": {
  331. "cmd": ""
  332. },
  333. "error_color": "#ea7878"
  334. },
  335. "type": "TextField",
  336. "required": false,
  337. "id": "--mutextwo",
  338. "cli_type": "optional",
  339. "data": {
  340. "choices": [],
  341. "default": "mut-2",
  342. "help": null,
  343. "required": false,
  344. "commands": [
  345. "--mutextwo"
  346. ],
  347. "nargs": "",
  348. "display_name": "mutextwo",
  349. "dest": "mutextwo"
  350. }
  351. }
  352. ],
  353. "commands": [
  354. [
  355. "--mutexone"
  356. ],
  357. [
  358. "--mutextwo"
  359. ]
  360. ]
  361. },
  362. "cli_type": "optional",
  363. "group_name": "Choose Option"
  364. },
  365. {
  366. "options": {
  367. "validator": {
  368. "test": "True",
  369. "message": ""
  370. },
  371. "external_validator": {
  372. "cmd": ""
  373. },
  374. "error_color": "#ea7878"
  375. },
  376. "type": "FileChooser",
  377. "required": false,
  378. "id": "--filechooser",
  379. "cli_type": "optional",
  380. "data": {
  381. "choices": [],
  382. "default": "fc-value",
  383. "help": null,
  384. "required": false,
  385. "commands": [
  386. "--filechooser"
  387. ],
  388. "nargs": "",
  389. "display_name": "filechooser",
  390. "dest": "filechooser"
  391. }
  392. },
  393. {
  394. "options": {
  395. "validator": {
  396. "test": "True",
  397. "message": ""
  398. },
  399. "external_validator": {
  400. "cmd": ""
  401. },
  402. "error_color": "#ea7878"
  403. },
  404. "type": "FileSaver",
  405. "required": false,
  406. "id": "--filesaver",
  407. "cli_type": "optional",
  408. "data": {
  409. "choices": [],
  410. "default": "fs-value",
  411. "help": null,
  412. "required": false,
  413. "commands": [
  414. "--filesaver"
  415. ],
  416. "nargs": "",
  417. "display_name": "filesaver",
  418. "dest": "filesaver"
  419. }
  420. },
  421. {
  422. "options": {
  423. "validator": {
  424. "test": "True",
  425. "message": ""
  426. },
  427. "external_validator": {
  428. "cmd": ""
  429. },
  430. "error_color": "#ea7878"
  431. },
  432. "type": "DirChooser",
  433. "required": false,
  434. "id": "--dirchooser",
  435. "cli_type": "optional",
  436. "data": {
  437. "choices": [],
  438. "default": "dc-value",
  439. "help": null,
  440. "required": false,
  441. "commands": [
  442. "--dirchooser"
  443. ],
  444. "nargs": "",
  445. "display_name": "dirchooser",
  446. "dest": "dirchooser"
  447. }
  448. },
  449. {
  450. "options": {
  451. "validator": {
  452. "test": "True",
  453. "message": ""
  454. },
  455. "external_validator": {
  456. "cmd": ""
  457. },
  458. "error_color": "#ea7878"
  459. },
  460. "type": "DateChooser",
  461. "required": false,
  462. "id": "--datechooser",
  463. "cli_type": "optional",
  464. "data": {
  465. "choices": [],
  466. "default": "2015-01-01",
  467. "help": null,
  468. "required": false,
  469. "commands": [
  470. "--datechooser"
  471. ],
  472. "nargs": "",
  473. "display_name": "datechooser",
  474. "dest": "datechooser"
  475. }
  476. }
  477. ],
  478. "groups": [],
  479. "description": null,
  480. "options": {
  481. "columns": 2,
  482. "show_border": false,
  483. "padding": 10
  484. }
  485. }
  486. ],
  487. "command": "::gooey/default"
  488. }
  489. },
  490. "terminal_font_weight": null,
  491. "default_size": [
  492. 610,
  493. 530
  494. ],
  495. "footer_bg_color": "#f0f0f0",
  496. "num_required_cols": 2,
  497. "terminal_panel_color": "#F0F0F0",
  498. "use_legacy_titles": true,
  499. "group_by_type": true,
  500. "manual_start": false,
  501. "language_dir": "F:\\Dropbox\\pretty_gui\\Gooey\\gooey\\languages",
  502. "terminal_font_size": null,
  503. "navigation": "SIDEBAR",
  504. "header_height": 80,
  505. "header_show_title": true,
  506. "terminal_font_color": "#000000",
  507. "sidebar_bg_color": "#f2f2f2",
  508. "show_advanced": true,
  509. "header_show_subtitle": true,
  510. "sidebar_title": "Your Custom Title"
  511. }