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.

207 lines
4.5 KiB

  1. {
  2. "num_optional_cols": 2,
  3. "num_required_cols": 2,
  4. "show_advanced": true,
  5. "program_name": "Widget Demo",
  6. "target": "python c:\\users\\chris\\appdata\\local\\temp\\tmpph43cj.py",
  7. "language": "english",
  8. "manual_start": false,
  9. "show_config": true,
  10. "default_size": [
  11. 610,
  12. 530
  13. ],
  14. "widgets": [
  15. {
  16. "data": {
  17. "nargs": "",
  18. "commands": [],
  19. "display_name": "FileChooser",
  20. "help": "Name of the file you want to process",
  21. "choices": []
  22. },
  23. "required": true,
  24. "type": "FileChooser"
  25. },
  26. {
  27. "data": {
  28. "nargs": "",
  29. "commands": [],
  30. "display_name": "MultiFileSaver",
  31. "help": "Name of the file you want to process",
  32. "choices": []
  33. },
  34. "required": true,
  35. "type": "MultiFileChooser"
  36. },
  37. {
  38. "data": {
  39. "nargs": "",
  40. "commands": [
  41. "-d",
  42. "--duration"
  43. ],
  44. "display_name": "duration",
  45. "help": "Duration (in seconds) of the program output",
  46. "choices": []
  47. },
  48. "required": false,
  49. "type": "TextField"
  50. },
  51. {
  52. "data": {
  53. "nargs": "",
  54. "commands": [
  55. "-s",
  56. "--cron-schedule"
  57. ],
  58. "display_name": "cron_schedule",
  59. "help": "datetime when the cron should begin",
  60. "choices": []
  61. },
  62. "required": false,
  63. "type": "DateChooser"
  64. },
  65. {
  66. "data": {
  67. "nargs": "",
  68. "commands": [
  69. "-c",
  70. "--showtime"
  71. ],
  72. "display_name": "showtime",
  73. "help": "display the countdown timer",
  74. "choices": []
  75. },
  76. "required": false,
  77. "type": "CheckBox"
  78. },
  79. {
  80. "data": {
  81. "nargs": "",
  82. "commands": [
  83. "-p",
  84. "--pause"
  85. ],
  86. "display_name": "pause",
  87. "help": "Pause execution",
  88. "choices": []
  89. },
  90. "required": false,
  91. "type": "CheckBox"
  92. },
  93. {
  94. "data": {
  95. "nargs": "",
  96. "commands": [
  97. "-v",
  98. "--verbose"
  99. ],
  100. "display_name": "verbose",
  101. "help": null,
  102. "choices": []
  103. },
  104. "required": false,
  105. "type": "Dropdown",
  106. "choices": [
  107. 1,
  108. 2,
  109. 3,
  110. 4,
  111. 5,
  112. 6,
  113. 7,
  114. 8,
  115. 9,
  116. 10
  117. ]
  118. },
  119. {
  120. "data": {
  121. "nargs": "",
  122. "commands": [
  123. "-o",
  124. "--overwrite"
  125. ],
  126. "display_name": "overwrite",
  127. "help": "Overwrite output file (if present)",
  128. "choices": []
  129. },
  130. "required": false,
  131. "type": "CheckBox"
  132. },
  133. {
  134. "data": {
  135. "nargs": "",
  136. "commands": [
  137. "-r",
  138. "--recursive"
  139. ],
  140. "display_name": "recursive",
  141. "help": "Recurse into subfolders",
  142. "choices": [
  143. "yes",
  144. "no"
  145. ]
  146. },
  147. "required": false,
  148. "type": "Dropdown"
  149. },
  150. {
  151. "data": {
  152. "nargs": "",
  153. "commands": [
  154. "-w",
  155. "--writelog"
  156. ],
  157. "display_name": "writelog",
  158. "help": "Dump output to local file",
  159. "choices": []
  160. },
  161. "required": false,
  162. "type": "TextField"
  163. },
  164. {
  165. "data": {
  166. "nargs": "",
  167. "commands": [
  168. "-e",
  169. "--error"
  170. ],
  171. "display_name": "error",
  172. "help": "Stop process on error (default: No)",
  173. "choices": []
  174. },
  175. "required": false,
  176. "type": "CheckBox"
  177. },
  178. {
  179. "data": [
  180. {
  181. "nargs": "",
  182. "commands": [
  183. "-t",
  184. "--verbozze"
  185. ],
  186. "display_name": "verbose",
  187. "help": "Show more details",
  188. "choices": null
  189. },
  190. {
  191. "nargs": "",
  192. "commands": [
  193. "-q",
  194. "--quiet"
  195. ],
  196. "display_name": "quiet",
  197. "help": "Only output on error",
  198. "choices": null
  199. }
  200. ],
  201. "required": false,
  202. "type": "RadioGroup",
  203. "group_name": "Choose Option"
  204. }
  205. ],
  206. "layout_type": "standard",
  207. "program_description": "Example application to show Gooey's various widgets"
  208. }