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.

227 lines
4.9 KiB

9 years ago
  1. {
  2. "show_advanced": true,
  3. "language": "english",
  4. "manual_start": false,
  5. "optionals_cols": 3,
  6. "required": [
  7. {
  8. "data": {
  9. "nargs": "",
  10. "commands": [],
  11. "display_name": "FileChooser",
  12. "help": "Name of the file you want to process",
  13. "choices": []
  14. },
  15. "type": "FileChooser"
  16. },
  17. {
  18. "data": {
  19. "nargs": "",
  20. "commands": [],
  21. "display_name": "DirectoryChooser",
  22. "help": "Name of the file you want to process",
  23. "choices": []
  24. },
  25. "type": "DirChooser"
  26. },
  27. {
  28. "data": {
  29. "nargs": "",
  30. "commands": [],
  31. "display_name": "FileSaver",
  32. "help": "Name of the file you want to process",
  33. "choices": []
  34. },
  35. "type": "FileSaver"
  36. },
  37. {
  38. "data": {
  39. "nargs": "",
  40. "commands": [],
  41. "display_name": "MultiFileSaver",
  42. "help": "Name of the file you want to process",
  43. "choices": []
  44. },
  45. "type": "MultiFileChooser"
  46. },
  47. {
  48. "data": {
  49. "nargs": "",
  50. "commands": [],
  51. "display_name": "directory",
  52. "help": "Directory to store output",
  53. "choices": []
  54. },
  55. "type": "TextField"
  56. }
  57. ],
  58. "requireds_cols": 3,
  59. "show_config": true,
  60. "default_size": [
  61. 610,
  62. 530
  63. ],
  64. "optional": [
  65. {
  66. "data": {
  67. "nargs": "",
  68. "commands": [
  69. "-r",
  70. "--recursive"
  71. ],
  72. "display_name": "recursive",
  73. "help": "Recurse into subfolders",
  74. "choices": [
  75. "yes",
  76. "no"
  77. ]
  78. },
  79. "type": "Dropdown"
  80. },
  81. {
  82. "data": {
  83. "nargs": "",
  84. "commands": [
  85. "-c",
  86. "--countdown"
  87. ],
  88. "display_name": "countdown",
  89. "help": "sets the time to count down from you see its quite simple!",
  90. "choices": []
  91. },
  92. "type": "TextField"
  93. },
  94. {
  95. "data": {
  96. "nargs": "",
  97. "commands": [
  98. "-j",
  99. "--cron-schedule"
  100. ],
  101. "display_name": "cron_schedule",
  102. "help": "Set the datetime when the cron should begin",
  103. "choices": []
  104. },
  105. "type": "DateChooser"
  106. },
  107. {
  108. "data": {
  109. "nargs": "",
  110. "commands": [
  111. "-w",
  112. "--writelog"
  113. ],
  114. "display_name": "writelog",
  115. "help": "write log to some file or something",
  116. "choices": []
  117. },
  118. "type": "TextField"
  119. },
  120. {
  121. "data": {
  122. "nargs": "",
  123. "commands": [
  124. "-v",
  125. "--verbose"
  126. ],
  127. "display_name": "verbose",
  128. "help": null,
  129. "choices": []
  130. },
  131. "type": "Counter",
  132. "choices": [
  133. 0,
  134. 1,
  135. 2,
  136. 3,
  137. 4,
  138. 5,
  139. 6,
  140. 7,
  141. 8,
  142. 9
  143. ]
  144. },
  145. {
  146. "data": [
  147. {
  148. "nargs": "",
  149. "commands": [
  150. "-t",
  151. "--verbozze"
  152. ],
  153. "display_name": "verbose",
  154. "help": "Show more details",
  155. "choices": null
  156. },
  157. {
  158. "nargs": "",
  159. "commands": [
  160. "-q",
  161. "--quiet"
  162. ],
  163. "display_name": "quiet",
  164. "help": "Only output on error",
  165. "choices": null
  166. }
  167. ],
  168. "type": "RadioGroup",
  169. "group_name": "Choose Option"
  170. },
  171. {
  172. "data": {
  173. "nargs": "",
  174. "commands": [
  175. "-s",
  176. "--showtime"
  177. ],
  178. "display_name": "showtime",
  179. "help": "display the countdown timer",
  180. "choices": []
  181. },
  182. "type": "CheckBox"
  183. },
  184. {
  185. "data": {
  186. "nargs": "",
  187. "commands": [
  188. "-d",
  189. "--delay"
  190. ],
  191. "display_name": "delay",
  192. "help": "Delay execution for a bit",
  193. "choices": []
  194. },
  195. "type": "CheckBox"
  196. },
  197. {
  198. "data": {
  199. "nargs": "",
  200. "commands": [
  201. "-o",
  202. "--obfuscate"
  203. ],
  204. "display_name": "obfuscate",
  205. "help": "obfuscate the countdown timer!",
  206. "choices": []
  207. },
  208. "type": "CheckBox"
  209. },
  210. {
  211. "data": {
  212. "nargs": "",
  213. "commands": [
  214. "-e",
  215. "--expandAll"
  216. ],
  217. "display_name": "expandAll",
  218. "help": "expand all processes",
  219. "choices": []
  220. },
  221. "type": "CheckBox"
  222. }
  223. ],
  224. "program_name": "widget_demo",
  225. "program_description": "Example application to show Gooey's various widgetz",
  226. "target": "python C:\\Users\\Chris\\Dropbox\\pretty_gui\\Gooey\\gooey\\examples\\widget_demo.py"
  227. }