plugins.qmltypes 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. import QtQuick.tooling 1.2
  2. // This file describes the plugin-supplied types contained in the library.
  3. // It is used for QML tooling purposes only.
  4. //
  5. // This file was auto-generated by:
  6. // 'qmlplugindump -nonrelocatable gfa.plugins.qml.tivaflash 1.0'
  7. Module {
  8. dependencies: ["QtQuick 2.7"]
  9. Component {
  10. name: "ImgUploadStatus"
  11. prototype: "QObject"
  12. exports: ["gfa.plugins.qml.tivaflash/ImgUploadStatus 1.0"]
  13. isCreatable: false
  14. exportMetaObjectRevisions: [0]
  15. Enum {
  16. name: "StatusCtx"
  17. values: {
  18. "EraseFlashStart": 0,
  19. "EraseFlashEnd": 1,
  20. "ImgUploadStart": 2,
  21. "ImgUploadBlock": 3,
  22. "ImgUploadSuccess": 4,
  23. "ImgUploadError": 5
  24. }
  25. }
  26. Property { name: "ctx"; type: "int"; isReadonly: true }
  27. Property { name: "errorCode"; type: "int"; isReadonly: true }
  28. Property { name: "cntFlashPages"; type: "int"; isReadonly: true }
  29. Property { name: "cbBlock"; type: "int"; isReadonly: true }
  30. Property { name: "blockNr"; type: "int"; isReadonly: true }
  31. Property { name: "cbTotal"; type: "int"; isReadonly: true }
  32. Property { name: "cbSent"; type: "int"; isReadonly: true }
  33. Property { name: "percentSent"; type: "int"; isReadonly: true }
  34. Property { name: "uploadInProgress"; type: "bool"; isReadonly: true }
  35. Signal {
  36. name: "ctxChanged"
  37. Parameter { name: "val"; type: "int" }
  38. }
  39. Signal {
  40. name: "errorCodeChanged"
  41. Parameter { name: "val"; type: "int" }
  42. }
  43. Signal {
  44. name: "cntFlashPagesChanged"
  45. Parameter { name: "val"; type: "int" }
  46. }
  47. Signal {
  48. name: "cbBlockChanged"
  49. Parameter { name: "val"; type: "int" }
  50. }
  51. Signal {
  52. name: "blockNrChanged"
  53. Parameter { name: "val"; type: "int" }
  54. }
  55. Signal {
  56. name: "cbTotalChanged"
  57. Parameter { name: "val"; type: "int" }
  58. }
  59. Signal {
  60. name: "cbSentChanged"
  61. Parameter { name: "val"; type: "int" }
  62. }
  63. Signal {
  64. name: "percentSentChanged"
  65. Parameter { name: "val"; type: "int" }
  66. }
  67. Signal {
  68. name: "uploadInProgressChanged"
  69. Parameter { name: "val"; type: "bool" }
  70. }
  71. }
  72. Component {
  73. name: "TivaFlash"
  74. prototype: "QObject"
  75. exports: ["gfa.plugins.qml.tivaflash/TivaFlash 1.0"]
  76. exportMetaObjectRevisions: [0]
  77. Property { name: "tivaFlashUtilPath"; type: "string" }
  78. Property { name: "itfName"; type: "string" }
  79. Property { name: "slvIdIsNodeAddr"; type: "bool" }
  80. Property { name: "verbosity"; type: "int" }
  81. Property { name: "imgFile"; type: "string" }
  82. Property { name: "executing"; type: "bool"; isReadonly: true }
  83. Property { name: "xBaudRate"; type: "int" }
  84. Property { name: "appAddress"; type: "int" }
  85. Property { name: "blockSize"; type: "int" }
  86. Property { name: "pageEraseTime"; type: "int" }
  87. Property { name: "mbCtrlRegister"; type: "int" }
  88. Property { name: "forceAllParities"; type: "bool" }
  89. Property { name: "imgUploadStatus"; type: "ImgUploadStatus"; isReadonly: true; isPointer: true }
  90. Property { name: "materialEeprom"; type: "QStringList"; isReadonly: true }
  91. Property { name: "serialEeprom"; type: "QStringList"; isReadonly: true }
  92. Property { name: "imgMaterialBoot"; type: "QStringList"; isReadonly: true }
  93. Property { name: "imgBuildBoot"; type: "QStringList"; isReadonly: true }
  94. Property { name: "imgSizeBoot"; type: "QList<int>"; isReadonly: true }
  95. Property { name: "imgCRC32Boot"; type: "QList<double>"; isReadonly: true }
  96. Property { name: "imgMaterialApp"; type: "QStringList"; isReadonly: true }
  97. Property { name: "imgBuildApp"; type: "QStringList"; isReadonly: true }
  98. Property { name: "imgSizeApp"; type: "QList<int>"; isReadonly: true }
  99. Property { name: "imgCRC32App"; type: "QList<double>"; isReadonly: true }
  100. Property { name: "imgMaterialFile"; type: "string"; isReadonly: true }
  101. Property { name: "imgBuildFile"; type: "string"; isReadonly: true }
  102. Property { name: "imgSizeFile"; type: "int"; isReadonly: true }
  103. Property { name: "imgCRC32File"; type: "double"; isReadonly: true }
  104. Signal {
  105. name: "materialFileChanged"
  106. Parameter { name: "val"; type: "string" }
  107. }
  108. Signal {
  109. name: "imgBuildFileChanged"
  110. Parameter { name: "val"; type: "string" }
  111. }
  112. Signal {
  113. name: "imgSizeFileChanged"
  114. Parameter { name: "val"; type: "int" }
  115. }
  116. Signal {
  117. name: "imgCRC32FileChanged"
  118. Parameter { name: "val"; type: "double" }
  119. }
  120. Signal {
  121. name: "executingChanged"
  122. Parameter { name: "val"; type: "bool" }
  123. }
  124. Signal {
  125. name: "processStarted"
  126. Parameter { name: "slv"; type: "int" }
  127. }
  128. Signal {
  129. name: "processFinished"
  130. Parameter { name: "slv"; type: "int" }
  131. Parameter { name: "exitcode"; type: "int" }
  132. Parameter { name: "normalExit"; type: "bool" }
  133. }
  134. Signal {
  135. name: "processOutput"
  136. Parameter { name: "slv"; type: "int" }
  137. Parameter { name: "ctx"; type: "int" }
  138. Parameter { name: "msg"; type: "string" }
  139. }
  140. Signal {
  141. name: "imgUploadProgress"
  142. Parameter { name: "stat"; type: "ImgUploadStatus"; isPointer: true }
  143. }
  144. Method {
  145. name: "getMatSer"
  146. type: "bool"
  147. Parameter { name: "nSlvID"; type: "int" }
  148. Parameter { name: "nMbID"; type: "int" }
  149. }
  150. Method {
  151. name: "getMatSer"
  152. type: "bool"
  153. Parameter { name: "nSlvID"; type: "int" }
  154. }
  155. Method {
  156. name: "getTargetImgInfo"
  157. type: "bool"
  158. Parameter { name: "nSlvID"; type: "int" }
  159. Parameter { name: "nMbID"; type: "int" }
  160. }
  161. Method {
  162. name: "getTargetImgInfo"
  163. type: "bool"
  164. Parameter { name: "nSlvID"; type: "int" }
  165. }
  166. Method { name: "getFileImgInfo"; type: "bool" }
  167. Method {
  168. name: "pingTarget"
  169. type: "bool"
  170. Parameter { name: "nSlvID"; type: "int" }
  171. Parameter { name: "nMbID"; type: "int" }
  172. }
  173. Method {
  174. name: "pingTarget"
  175. type: "bool"
  176. Parameter { name: "nSlvID"; type: "int" }
  177. }
  178. Method {
  179. name: "startBootloader"
  180. type: "bool"
  181. Parameter { name: "nSlvID"; type: "int" }
  182. Parameter { name: "nMbID"; type: "int" }
  183. }
  184. Method {
  185. name: "startBootloader"
  186. type: "bool"
  187. Parameter { name: "nSlvID"; type: "int" }
  188. }
  189. Method {
  190. name: "resetBootloader"
  191. type: "bool"
  192. Parameter { name: "nSlvID"; type: "int" }
  193. Parameter { name: "nMbID"; type: "int" }
  194. }
  195. Method {
  196. name: "resetBootloader"
  197. type: "bool"
  198. Parameter { name: "nSlvID"; type: "int" }
  199. }
  200. Method {
  201. name: "validateImgFile"
  202. type: "bool"
  203. Parameter { name: "nSlvID"; type: "int" }
  204. Parameter { name: "nMbID"; type: "int" }
  205. }
  206. Method {
  207. name: "validateImgFile"
  208. type: "bool"
  209. Parameter { name: "nSlvID"; type: "int" }
  210. }
  211. Method {
  212. name: "uploadImgFile"
  213. type: "bool"
  214. Parameter { name: "nSlvID"; type: "int" }
  215. Parameter { name: "nMbID"; type: "int" }
  216. }
  217. Method {
  218. name: "uploadImgFile"
  219. type: "bool"
  220. Parameter { name: "nSlvID"; type: "int" }
  221. }
  222. Method {
  223. name: "reviveBootloader"
  224. type: "bool"
  225. Parameter { name: "nSlvID"; type: "int" }
  226. }
  227. Method {
  228. name: "clearImgInfo"
  229. type: "bool"
  230. Parameter { name: "nSlvID"; type: "int" }
  231. }
  232. }
  233. }