Advertisement
consultme

qt natvis file

May 28th, 2019
1,809
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
  3. <Type Name="QPoint">
  4. <AlternativeType Name="QPointF"/>
  5. <DisplayString>{{ x = {xp}, y = {yp} }}</DisplayString>
  6. <Expand>
  7. <Item Name="[x]">xp</Item>
  8. <Item Name="[y]">yp</Item>
  9. </Expand>
  10. </Type>
  11. <Type Name="QRect">
  12. <DisplayString>{{ x = {x1}, y = {y1}, width = {x2 - x1 + 1}, height = {y2 - y1 + 1} }}</DisplayString>
  13. <Expand>
  14. <Item Name="[x]">x1</Item>
  15. <Item Name="[y]">y1</Item>
  16. <Item Name="[width]">x2 - x1 + 1</Item>
  17. <Item Name="[height]">y2 - y1 + 1</Item>
  18. </Expand>
  19. </Type>
  20.  
  21. <Type Name="QRectF">
  22. <DisplayString>{{ x = {xp}, y = {yp}, width = {w}, height = {h} }}</DisplayString>
  23. <Expand>
  24. <Item Name="[x]">xp</Item>
  25. <Item Name="[y]">yp</Item>
  26. <Item Name="[width]">w</Item>
  27. <Item Name="[height]">h</Item>
  28. </Expand>
  29. </Type>
  30.  
  31. <Type Name="QSize">
  32. <AlternativeType Name="QSizeF"/>
  33. <DisplayString>{{ width = {wd}, height = {ht} }}</DisplayString>
  34. <Expand>
  35. <Item Name="[width]">wd</Item>
  36. <Item Name="[height]">ht</Item>
  37. </Expand>
  38. </Type>
  39.  
  40. <Type Name="QLine">
  41. <AlternativeType Name="QLineF"/>
  42. <DisplayString>{{ start point = {pt1}, end point = {pt2} }}</DisplayString>
  43. <Expand>
  44. <Synthetic Name="[start point]">
  45. <DisplayString>{pt1}</DisplayString>
  46. <Expand>
  47. <ExpandedItem>pt1</ExpandedItem>
  48. </Expand>
  49. </Synthetic>
  50. <Synthetic Name="[end point]">
  51. <DisplayString>{pt2}</DisplayString>
  52. <Expand>
  53. <ExpandedItem>pt2</ExpandedItem>
  54. </Expand>
  55. </Synthetic>
  56.  
  57. </Expand>
  58. </Type>
  59.  
  60. <Type Name="QPolygon">
  61. <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
  62. <Expand>
  63. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  64. <ArrayItems>
  65. <Size>d-&gt;size</Size>
  66. <ValuePointer>(QPoint*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)</ValuePointer>
  67. </ArrayItems>
  68. </Expand>
  69. </Type>
  70.  
  71. <Type Name="QPolygonF">
  72. <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
  73. <Expand>
  74. <Item Name="[closed]">
  75. d-&gt;size &gt; 0
  76. &amp;&amp; ((((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[0]).xp
  77. == (((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[d-&gt;size - 1]).xp)
  78. &amp;&amp; ((((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[0]).yp
  79. == (((QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)[d-&gt;size - 1]).yp)
  80. </Item>
  81. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  82. <ArrayItems>
  83. <Size>d-&gt;size</Size>
  84. <ValuePointer>(QPointF*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)</ValuePointer>
  85. </ArrayItems>
  86. </Expand>
  87. </Type>
  88.  
  89. <Type Name ="QVector2D">
  90. <DisplayString>{{ x = {xp}, y = {yp} }}</DisplayString>
  91. <Expand>
  92. <Item Name="[x]">xp</Item>
  93. <Item Name="[y]">yp</Item>
  94. </Expand>
  95. </Type>
  96.  
  97. <Type Name ="QVector3D">
  98. <DisplayString>{{ x = {xp}, y = {yp}, z = {zp} }}</DisplayString>
  99. <Expand>
  100. <Item Name="[x]">xp</Item>
  101. <Item Name="[y]">yp</Item>
  102. <Item Name="[z]">zp</Item>
  103. </Expand>
  104. </Type>
  105.  
  106. <Type Name ="QVector4D">
  107. <DisplayString>{{ x = {xp}, y = {yp}, z = {zp}, w = {wp} }}</DisplayString>
  108. <Expand>
  109. <Item Name="[x]">xp</Item>
  110. <Item Name="[y]">yp</Item>
  111. <Item Name="[z]">zp</Item>
  112. <Item Name="[w]">wp</Item>
  113. </Expand>
  114. </Type>
  115.  
  116. <Type Name ="QMatrix">
  117. <DisplayString>
  118. {{ m11 = {_m11}, m12 = {_m12}, m21 = {_m21}, m22 = {_m22}, ... }}
  119. </DisplayString>
  120. <Expand>
  121. <Item Name="[m11]">_m11</Item>
  122. <Item Name="[m12]">_m12</Item>
  123. <Item Name="[m21]">_m21</Item>
  124. <Item Name="[m22]">_m22</Item>
  125. <Item Name="[dx]">_dx</Item>
  126. <Item Name="[dy]">_dy</Item>
  127. </Expand>
  128. </Type>
  129.  
  130. <Type Name ="QMatrix4x4">
  131. <DisplayString>
  132. {{ m11 = {m[0][0]}, m12 = {m[1][0]}, m13 = {m[2][0]}, m14 = {m[3][0]}, ... }}
  133. </DisplayString>
  134. <Expand>
  135. <Item Name="[m11]">m[0][0]</Item>
  136. <Item Name="[m12]">m[1][0]</Item>
  137. <Item Name="[m13]">m[2][0]</Item>
  138. <Item Name="[m14]">m[3][0]</Item>
  139. <Item Name="[m21]">m[0][1]</Item>
  140. <Item Name="[m22]">m[1][1]</Item>
  141. <Item Name="[m23]">m[2][1]</Item>
  142. <Item Name="[m24]">m[3][1]</Item>
  143. <Item Name="[m31]">m[0][2]</Item>
  144. <Item Name="[m32]">m[1][2]</Item>
  145. <Item Name="[m33]">m[2][2]</Item>
  146. <Item Name="[m34]">m[3][2]</Item>
  147. <Item Name="[m41]">m[0][3]</Item>
  148. <Item Name="[m42]">m[1][3]</Item>
  149. <Item Name="[m43]">m[2][3]</Item>
  150. <Item Name="[m44]">m[3][3]</Item>
  151. </Expand>
  152. </Type>
  153.  
  154. <Type Name="QSizePolicy">
  155. <DisplayString>
  156. {{ horizontal = {static_cast&lt;Policy&gt;(bits.horPolicy)}, vertical = {static_cast&lt;Policy&gt;(bits.verPolicy)}, type = {ControlType(1 &lt;&lt; bits.ctype)} }}
  157. </DisplayString>
  158. <Expand>
  159. <Synthetic Name="[vertical policy]">
  160. <DisplayString>QSizePolicy::Policy::{static_cast&lt;Policy&gt;(bits.verPolicy)}</DisplayString>
  161. </Synthetic>
  162. <Synthetic Name="[horizontal policy]">
  163. <DisplayString>QSizePolicy::Policy::{static_cast&lt;Policy&gt;(bits.horPolicy)}</DisplayString>
  164. </Synthetic>
  165. <Synthetic Name="[control type]">
  166. <DisplayString>QSizePolicy::ControlType::{ControlType(1 &lt;&lt; bits.ctype)}</DisplayString>
  167. </Synthetic>
  168. <Synthetic Name="[expanding directions]">
  169. <DisplayString
  170. Condition="(static_cast&lt;Policy&gt;(bits.verPolicy) &amp; ExpandFlag)">
  171. Qt::Vertical (2)
  172. </DisplayString>
  173. <DisplayString
  174. Condition="(static_cast&lt;Policy&gt;(bits.horPolicy) &amp; ExpandFlag)">
  175. Qt::Horizontal (1)
  176. </DisplayString>
  177. </Synthetic>
  178. <Item Name="[vertical stretch]">static_cast&lt;int&gt;(bits.verStretch)</Item>
  179. <Item Name="[horizontal stretch]">static_cast&lt;int&gt;(bits.horStretch)</Item>
  180. <Item Name="[has height for width]">bits.hfw == 1</Item>
  181. <Item Name="[has width for height]">bits.wfh == 1</Item>
  182. </Expand>
  183. </Type>
  184.  
  185. <Type Name="QChar">
  186. <DisplayString>{ucs,c}</DisplayString>
  187. <StringView>ucs,c</StringView>
  188. <Expand>
  189. <Item Name="[latin 1]">ucs > 0xff ? '\0' : char(ucs),c</Item>
  190. <Item Name="[unicode]">ucs,c</Item>
  191. </Expand>
  192. </Type>
  193.  
  194. <Type Name="QString">
  195. <DisplayString>{((reinterpret_cast&lt;unsigned short*&gt;(d)) + d->offset / 2),sub}</DisplayString>
  196. <StringView>((reinterpret_cast&lt;unsigned short*&gt;(d)) + d->offset / 2),sub</StringView>
  197. <Expand>
  198. <Item Name="[size]">d-&gt;size</Item>
  199. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  200. <ArrayItems>
  201. <Size>d-&gt;size</Size>
  202. <ValuePointer>((reinterpret_cast&lt;unsigned short*&gt;(d)) + d->offset / 2),c</ValuePointer>
  203. </ArrayItems>
  204. </Expand>
  205. </Type>
  206.  
  207. <Type Name="QByteArray">
  208. <DisplayString>{((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset),sb}</DisplayString>
  209. <StringView>((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset),sb</StringView>
  210. <Expand>
  211. <Item Name="[size]">d-&gt;size</Item>
  212. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  213. <ArrayItems>
  214. <Size>d-&gt;size</Size>
  215. <ValuePointer>((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset),c</ValuePointer>
  216. </ArrayItems>
  217. </Expand>
  218. </Type>
  219.  
  220. <Type Name="QBitArray">
  221. <DisplayString>{{ size = {(d.d-&gt;size &lt;&lt; 3) - *((reinterpret_cast&lt;char*&gt;(d.d)) + d.d-&gt;offset)} }}</DisplayString>
  222. <Expand>
  223. <Item Name="[referenced]">d.d-&gt;ref.atomic._q_value</Item>
  224. <IndexListItems>
  225. <Size>(d.d-&gt;size &lt;&lt; 3) - *((reinterpret_cast&lt;char*&gt;(d.d)) + d.d-&gt;offset)</Size>
  226. <ValueNode>
  227. (*(reinterpret_cast&lt;const unsigned char*&gt;((reinterpret_cast&lt;char*&gt;(d.d)) + d.d-&gt;offset) + 1
  228. + ($i &gt;&gt; 3)) &amp; (1 &lt;&lt; ($i &amp; 7))) != 0
  229. </ValueNode>
  230. </IndexListItems>
  231. </Expand>
  232. </Type>
  233.  
  234. <Type Name="QVarLengthArray&lt;*&gt;">
  235. <AlternativeType Name="QVarLengthArray&lt;*, int&gt;"/>
  236. <DisplayString>{{ size = {s} }}</DisplayString>
  237. <Expand>
  238. <Item Name="[capacity]">a</Item>
  239. <ArrayItems>
  240. <Size>s</Size>
  241. <ValuePointer>ptr</ValuePointer>
  242. </ArrayItems>
  243. </Expand>
  244. </Type>
  245.  
  246. <Type Name="QDate">
  247. <DisplayString>{{ julian day = {jd} }}</DisplayString>
  248. <Expand></Expand>
  249. </Type>
  250.  
  251. <Type Name="QTime">
  252. <DisplayString
  253. Condition="mds == 1">{{ millisecond = {mds} }}</DisplayString>
  254. <DisplayString
  255. Condition="mds != 1">{{ milliseconds = {mds} }}</DisplayString>
  256. <Expand>
  257. <Item Name="[hour]"
  258. Condition="(mds / 3600000) == 1">mds / 3600000, d</Item>
  259. <Item Name="[hours]"
  260. Condition="(mds / 3600000) != 1">mds / 3600000, d</Item>
  261. <Item Name="[minute]"
  262. Condition="((mds % 3600000) / 60000) == 1">(mds % 3600000) / 60000, d</Item>
  263. <Item Name="[minutes]"
  264. Condition="((mds % 3600000) / 60000) != 1">(mds % 3600000) / 60000, d</Item>
  265. <Item Name="[second]"
  266. Condition="((mds / 1000) % 60) == 1">(mds / 1000) % 60, d</Item>
  267. <Item Name="[seconds]"
  268. Condition="((mds / 1000) % 60) != 1">(mds / 1000) % 60, d</Item>
  269. <Item Name="[millisecond]"
  270. Condition="(mds % 1000) == 1">mds % 1000, d</Item>
  271. <Item Name="[milliseconds]"
  272. Condition="(mds % 1000) != 1">mds % 1000, d</Item>
  273. </Expand>
  274. </Type>
  275.  
  276. <Type Name="QRegularExpression">
  277. <DisplayString>{d.pattern}</DisplayString>
  278. </Type>
  279.  
  280. <Type Name="QSharedData">
  281. <Expand>
  282. <Item Name="[referenced]">ref._q_value</Item>
  283. </Expand>
  284. </Type>
  285.  
  286. <Type Name="QSharedPointer&lt;*&gt;">
  287. <DisplayString>strong reference to shared pointer of type {"$T1"}</DisplayString>
  288. <Expand>
  289. <Item Name="[is null]">value == 0</Item>
  290. <Item Name="[weak referenced]">d-&gt;weakref._q_value</Item>
  291. <Item Name="[strong referenced]">d-&gt;strongref._q_value</Item>
  292. </Expand>
  293. </Type>
  294.  
  295. <Type Name="QSharedDataPointer&lt;*&gt;">
  296. <DisplayString>pointer to implicit shared object of type {"$T1"}</DisplayString>
  297. <Expand>
  298. <ExpandedItem>d</ExpandedItem>
  299. </Expand>
  300. </Type>
  301.  
  302. <Type Name="QExplicitlySharedDataPointer&lt;*&gt;">
  303. <DisplayString>pointer to explicit shared object of type {"$T1"}</DisplayString>
  304. <Expand>
  305. <ExpandedItem>d</ExpandedItem>
  306. </Expand>
  307. </Type>
  308.  
  309. <Type Name="QPointer&lt;*&gt;">
  310. <DisplayString>guarded pointer to subclass of QObject of type {"$T1"}</DisplayString>
  311. <Expand>
  312. <Item Name="[is null]">wp.d == 0 || wp.d-&gt;strongref._q_value == 0 || wp.value == 0</Item>
  313. </Expand>
  314. </Type>
  315.  
  316. <Type Name="QWeakPointer&lt;*&gt;">
  317. <DisplayString>weak reference to shared pointer of type {"$T1"}</DisplayString>
  318. <Expand>
  319. <Item Name="[is null]">d == 0 || d-&gt;strongref._q_value == 0 || value == 0</Item>
  320. <Item Name="[weak referenced]">d-&gt;weakref._q_value</Item>
  321. <Item Name="[strong referenced]">d-&gt;strongref._q_value</Item>
  322. </Expand>
  323. </Type>
  324.  
  325. <Type Name="QScopedPointer&lt;*&gt;">
  326. <DisplayString>scoped pointer to a dynamically allocated object of type {"$T1"}</DisplayString>
  327. <Expand>
  328. <Item Name="[is null]">!d</Item>
  329. </Expand>
  330. </Type>
  331.  
  332. <Type Name="QScopedArrayPointer&lt;*&gt;">
  333. <DisplayString>scoped pointer to dynamically allocated array of objects of type {"$T1"}</DisplayString>
  334. <Expand>
  335. <Item Name="[is null]">!d</Item>
  336. </Expand>
  337. </Type>
  338.  
  339. <Type Name="QPair&lt;*,*&gt;">
  340. <DisplayString>({first}, {second})</DisplayString>
  341. <Expand>
  342. <Item Name="[first]">first</Item>
  343. <Item Name="[second]">second</Item>
  344. </Expand>
  345. </Type>
  346.  
  347. <Type Name="QVector&lt;*&gt;">
  348. <AlternativeType Name="QStack&lt;*&gt;"></AlternativeType>
  349. <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
  350. <Expand>
  351. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  352. <ArrayItems>
  353. <Size>d-&gt;size</Size>
  354. <ValuePointer>($T1*)((reinterpret_cast&lt;char*&gt;(d)) + d-&gt;offset)</ValuePointer>
  355. </ArrayItems>
  356. </Expand>
  357. </Type>
  358.  
  359. <Type Name="QList&lt;*&gt;">
  360. <AlternativeType Name="QStringList"></AlternativeType>
  361. <AlternativeType Name="QQueue&lt;*&gt;"></AlternativeType>
  362. <DisplayString>{{ size = {d-&gt;end - d-&gt;begin} }}</DisplayString>
  363. <Expand>
  364. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  365. <IndexListItems>
  366. <Size>d-&gt;end - d-&gt;begin</Size>
  367. <ValueNode>*reinterpret_cast&lt;$T1*&gt;((sizeof($T1) &gt; sizeof(void*))
  368. ? reinterpret_cast&lt;Node*&gt;(d->array + d->begin + $i)->v
  369. : reinterpret_cast&lt;$T1*&gt;(d->array + d->begin + $i))
  370. </ValueNode>
  371. </IndexListItems>
  372. </Expand>
  373. </Type>
  374.  
  375. <Type Name="QLinkedList&lt;*&gt;">
  376. <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
  377. <Expand>
  378. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  379. <LinkedListItems>
  380. <Size>d-&gt;size</Size>
  381. <HeadPointer>d-&gt;n</HeadPointer>
  382. <NextPointer>n</NextPointer>
  383. <ValueNode>(*(QLinkedListNode&lt;$T1&gt;*)this).t</ValueNode>
  384. </LinkedListItems>
  385. </Expand>
  386. </Type>
  387.  
  388. <Type Name="QMapNode&lt;*,*&gt;">
  389. <DisplayString>({key}, {value})</DisplayString>
  390. <Expand>
  391. <Item Name="[key]">key</Item>
  392. <Item Name="[value]">value</Item>
  393. </Expand>
  394. </Type>
  395.  
  396. <Type Name="QMap&lt;*,*&gt;">
  397. <AlternativeType Name="QMultiMap&lt;*,*&gt;"/>
  398. <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
  399. <Expand>
  400. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  401. <TreeItems>
  402. <Size>d-&gt;size</Size>
  403. <HeadPointer>d-&gt;header.left</HeadPointer>
  404. <LeftPointer>left</LeftPointer>
  405. <RightPointer>right</RightPointer>
  406. <ValueNode>*((QMapNode&lt;$T1,$T2&gt;*)this)</ValueNode>
  407. </TreeItems>
  408. </Expand>
  409. </Type>
  410.  
  411. <Type Name="QHashNode&lt;*,*&gt;">
  412. <DisplayString Condition="next == 0">(empty)</DisplayString>
  413. <DisplayString Condition="next != 0">({key}, {value})</DisplayString>
  414. <Expand>
  415. <Item Name="[key]" Condition="next != 0">key</Item>
  416. <Item Name="[value]" Condition="next != 0">value</Item>
  417. </Expand>
  418. </Type>
  419.  
  420. <Type Name="QHash&lt;*,*&gt;">
  421. <AlternativeType Name="QMultiHash&lt;*,*&gt;"/>
  422. <DisplayString>{{ size = {d-&gt;size} }}</DisplayString>
  423. <Expand>
  424. <Item Name="[referenced]">d-&gt;ref.atomic._q_value</Item>
  425. <IndexListItems>
  426. <Size>d-&gt;numBuckets</Size>
  427. <ValueNode>*((QHashNode&lt;$T1,$T2&gt;*)d-&gt;buckets[$i])</ValueNode>
  428. </IndexListItems>
  429. </Expand>
  430. </Type>
  431.  
  432. <Type Name="QHashNode&lt;*,QHashDummyValue&gt;">
  433. <DisplayString Condition="next == 0">(empty)</DisplayString>
  434. <DisplayString Condition="next != 0">({key})</DisplayString>
  435. <Expand>
  436. <Item Name="[key]" Condition="next != 0">key</Item>
  437. </Expand>
  438. </Type>
  439.  
  440. <Type Name="QSet&lt;*&gt;">
  441. <DisplayString>{{ size = {q_hash.d-&gt;size} }}</DisplayString>
  442. <Expand>
  443. <ExpandedItem>q_hash</ExpandedItem>
  444. </Expand>
  445. </Type>
  446.  
  447. <Type Name="QCache&lt;*,*&gt;::Node">
  448. <DisplayString>({*keyPtr}, {*t})</DisplayString>
  449. <Expand>
  450. <Item Name="[key]">*keyPtr</Item>
  451. <Item Name="[value]">*t</Item>
  452. </Expand>
  453. </Type>
  454.  
  455. <Type Name="QCache&lt;*,*&gt;">
  456. <DisplayString>{{ size = {hash.d-&gt;size} }}</DisplayString>
  457. <Expand>
  458. <Item Name="[max coast]">mx</Item>
  459. <Item Name="[total coast]">total</Item>
  460. <Item Name="[referenced]">hash.d-&gt;ref.atomic._q_value</Item>
  461. <LinkedListItems>
  462. <Size>hash.d-&gt;size</Size>
  463. <HeadPointer>f</HeadPointer>
  464. <NextPointer>n</NextPointer>
  465. <ValueNode>*((Node*)this)</ValueNode>
  466. </LinkedListItems>
  467. </Expand>
  468. </Type>
  469.  
  470. <Type Name="QVariant">
  471. <!--Region DisplayString QVariant-->
  472.  
  473. <DisplayString Condition="d.type == QMetaType::UnknownType">Invalid</DisplayString>
  474. <DisplayString Condition="d.type == QMetaType::Bool">{d.data.b}</DisplayString>
  475. <DisplayString Condition="d.type == QMetaType::Int">{d.data.i}</DisplayString>
  476. <DisplayString Condition="d.type == QMetaType::UInt">{d.data.u}</DisplayString>
  477. <DisplayString Condition="d.type == QMetaType::LongLong">{d.data.ll}</DisplayString>
  478. <DisplayString Condition="d.type == QMetaType::ULongLong">{d.data.ull}</DisplayString>
  479. <DisplayString Condition="d.type == QMetaType::Double">{d.data.d}</DisplayString>
  480. <DisplayString Condition="d.type == QMetaType::QChar">{d.data.c}</DisplayString>
  481. <DisplayString Condition="d.type == QMetaType::QVariantMap">
  482. {*((QMap&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
  483. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  484. </DisplayString>
  485. <DisplayString Condition="d.type == QMetaType::QVariantList">
  486. {*((QList&lt;QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
  487. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  488. </DisplayString>
  489. <DisplayString Condition="d.type == QMetaType::QString">
  490. {*((QString*)(d.is_shared ? d.data.shared-&gt;ptr
  491. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  492. </DisplayString>
  493. <DisplayString Condition="d.type == QMetaType::QStringList">
  494. {*((QStringList*)(d.is_shared ? d.data.shared-&gt;ptr
  495. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  496. </DisplayString>
  497. <DisplayString Condition="d.type == QMetaType::QByteArray">
  498. {*((QByteArray*)(d.is_shared ? d.data.shared-&gt;ptr
  499. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  500. </DisplayString>
  501. <DisplayString Condition="d.type == QMetaType::QBitArray">
  502. {*((QBitArray*)(d.is_shared ? d.data.shared-&gt;ptr
  503. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  504. </DisplayString>
  505. <DisplayString Condition="d.type == QMetaType::QDate">
  506. {*((QDate*)(d.is_shared ? d.data.shared-&gt;ptr
  507. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  508. </DisplayString>
  509. <DisplayString Condition="d.type == QMetaType::QTime">
  510. {*((QTime*)(d.is_shared ? d.data.shared-&gt;ptr
  511. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  512. </DisplayString>
  513. <DisplayString Condition="d.type == QMetaType::QDateTime">DateTime</DisplayString>
  514. <DisplayString Condition="d.type == QMetaType::QUrl">Url</DisplayString>
  515. <DisplayString Condition="d.type == QMetaType::QLocale">Locale</DisplayString>
  516. <DisplayString Condition="d.type == QMetaType::QRect">
  517. {*((QRect*)(d.is_shared ? d.data.shared-&gt;ptr
  518. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  519. </DisplayString>
  520. <DisplayString Condition="d.type == QMetaType::QRectF">
  521. {*((QRectF*)(d.is_shared ? d.data.shared-&gt;ptr
  522. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  523. </DisplayString>
  524. <DisplayString Condition="d.type == QMetaType::QSize">
  525. {*((QSize*)(d.is_shared ? d.data.shared-&gt;ptr
  526. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  527. </DisplayString>
  528. <DisplayString Condition="d.type == QMetaType::QSizeF">
  529. {*((QSizeF*)(d.is_shared ? d.data.shared-&gt;ptr
  530. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  531. </DisplayString>
  532. <DisplayString Condition="d.type == QMetaType::QLine">
  533. {*((QLine*)(d.is_shared ? d.data.shared-&gt;ptr
  534. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  535. </DisplayString>
  536. <DisplayString Condition="d.type == QMetaType::QLineF">
  537. {*((QLineF*)(d.is_shared ? d.data.shared-&gt;ptr
  538. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  539. </DisplayString>
  540. <DisplayString Condition="d.type == QMetaType::QPoint">
  541. {*((QPoint*)(d.is_shared ? d.data.shared-&gt;ptr
  542. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  543. </DisplayString>
  544. <DisplayString Condition="d.type == QMetaType::QPointF">
  545. {*((QPointF*)(d.is_shared ? d.data.shared-&gt;ptr
  546. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  547. </DisplayString>
  548. <DisplayString Condition="d.type == QMetaType::QRegExp">RegExp</DisplayString>
  549. <DisplayString Condition="d.type == QMetaType::QRegularExpression">RegularExpression</DisplayString>
  550. <DisplayString Condition="d.type == QMetaType::QVariantHash">
  551. {*((QHash&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
  552. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))}
  553. </DisplayString>
  554. <DisplayString Condition="d.type == QMetaType::QEasingCurve">EasingCurve</DisplayString>
  555. <DisplayString Condition="d.type == QMetaType::QUuid">Uuid</DisplayString>
  556. <DisplayString Condition="d.type == QMetaType::QModelIndex">ModelIndex</DisplayString>
  557. <DisplayString Condition="d.type == QMetaType::LastCoreType">LastCoreType</DisplayString>
  558. <DisplayString Condition="d.type == QMetaType::QFont">Font</DisplayString>
  559. <DisplayString Condition="d.type == QMetaType::QPixmap">Pixmap</DisplayString>
  560. <DisplayString Condition="d.type == QMetaType::QBrush">Brush</DisplayString>
  561. <DisplayString Condition="d.type == QMetaType::QColor">Color</DisplayString>
  562. <DisplayString Condition="d.type == QMetaType::QPalette">Palette</DisplayString>
  563. <DisplayString Condition="d.type == QMetaType::QImage">Image</DisplayString>
  564. <DisplayString Condition="d.type == QMetaType::QPolygon">Polygon</DisplayString>
  565. <DisplayString Condition="d.type == QMetaType::QRegion">Region</DisplayString>
  566. <DisplayString Condition="d.type == QMetaType::QBitmap">Bitmap</DisplayString>
  567. <DisplayString Condition="d.type == QMetaType::QCursor">Cursor</DisplayString>
  568. <DisplayString Condition="d.type == QMetaType::QKeySequence">KeySequence</DisplayString>
  569. <DisplayString Condition="d.type == QMetaType::QPen">Pen</DisplayString>
  570. <DisplayString Condition="d.type == QMetaType::QTextLength">TextLength</DisplayString>
  571. <DisplayString Condition="d.type == QMetaType::QTextFormat">TextFormat</DisplayString>
  572. <DisplayString Condition="d.type == QMetaType::QMatrix">Matrix</DisplayString>
  573. <DisplayString Condition="d.type == QMetaType::QTransform">Transform</DisplayString>
  574. <DisplayString Condition="d.type == QMetaType::QMatrix4x4">Matrix4x4</DisplayString>
  575. <DisplayString Condition="d.type == QMetaType::QVector2D">Vector2D</DisplayString>
  576. <DisplayString Condition="d.type == QMetaType::QVector3D">Vector3D</DisplayString>
  577. <DisplayString Condition="d.type == QMetaType::QVector4D">Vector4D</DisplayString>
  578. <DisplayString Condition="d.type == QMetaType::QQuaternion">Quaternion</DisplayString>
  579. <DisplayString Condition="d.type == QMetaType::QPolygonF">PolygonF</DisplayString>
  580. <DisplayString Condition="d.type == QMetaType::QIcon">Icon</DisplayString>
  581. <DisplayString Condition="d.type == QMetaType::LastGuiType">LastGuiType</DisplayString>
  582. <DisplayString Condition="d.type == QMetaType::QSizePolicy">SizePolicy</DisplayString>
  583. <DisplayString Condition="d.type == QMetaType::User">UserType</DisplayString>
  584. <DisplayString Condition="d.type == 0xffffffff">LastType</DisplayString>
  585.  
  586. <!--End region DisplayString QVariant-->
  587.  
  588. <!--Region DisplayView QVariant-->
  589.  
  590. <StringView Condition="d.type == QMetaType::QChar">d.data.c</StringView>
  591.  
  592. <StringView Condition="d.type == QMetaType::QString">
  593. *((QString*)(d.is_shared ? d.data.shared-&gt;ptr
  594. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  595. </StringView>
  596.  
  597. <StringView Condition="d.type == QMetaType::QByteArray">
  598. *((QByteArray*)(d.is_shared ? d.data.shared-&gt;ptr
  599. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  600. </StringView>
  601.  
  602. <!--End region DisplayView QVariant-->
  603.  
  604. <!--Region Expand QVariant-->
  605.  
  606. <Expand>
  607. <ExpandedItem Condition="d.type == QMetaType::QVariantMap">
  608. *((QMap&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
  609. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  610. </ExpandedItem>
  611. <ExpandedItem Condition="d.type == QMetaType::QVariantList">
  612. *((QList&lt;QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
  613. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  614. </ExpandedItem>
  615. <ExpandedItem Condition="d.type == QMetaType::QString">
  616. *((QString*)(d.is_shared ? d.data.shared-&gt;ptr
  617. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  618. </ExpandedItem>
  619. <ExpandedItem Condition="d.type == QMetaType::QStringList">
  620. *((QStringList*)(d.is_shared ? d.data.shared-&gt;ptr
  621. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  622. </ExpandedItem>
  623. <ExpandedItem Condition="d.type == QMetaType::QByteArray">
  624. *((QByteArray*)(d.is_shared ? d.data.shared-&gt;ptr
  625. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  626. </ExpandedItem>
  627. <ExpandedItem Condition="d.type == QMetaType::QBitArray">
  628. *((QBitArray*)(d.is_shared ? d.data.shared-&gt;ptr
  629. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  630. </ExpandedItem>
  631. <ExpandedItem Condition="d.type == QMetaType::QDate">
  632. *((QDate*)(d.is_shared ? d.data.shared-&gt;ptr
  633. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  634. </ExpandedItem>
  635. <ExpandedItem Condition="d.type == QMetaType::QTime">
  636. *((QTime*)(d.is_shared ? d.data.shared-&gt;ptr
  637. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  638. </ExpandedItem>
  639. <ExpandedItem Condition="d.type == QMetaType::QRect">
  640. *((QRect*)(d.is_shared ? d.data.shared-&gt;ptr
  641. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  642. </ExpandedItem>
  643. <ExpandedItem Condition="d.type == QMetaType::QRectF">
  644. *((QRectF*)(d.is_shared ? d.data.shared-&gt;ptr
  645. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  646. </ExpandedItem>
  647. <ExpandedItem Condition="d.type == QMetaType::QSize">
  648. *((QSize*)(d.is_shared ? d.data.shared-&gt;ptr
  649. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  650. </ExpandedItem>
  651. <ExpandedItem Condition="d.type == QMetaType::QSizeF">
  652. *((QSizeF*)(d.is_shared ? d.data.shared-&gt;ptr
  653. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  654. </ExpandedItem>
  655. <ExpandedItem Condition="d.type == QMetaType::QLine">
  656. *((QLine*)(d.is_shared ? d.data.shared-&gt;ptr
  657. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  658. </ExpandedItem>
  659. <ExpandedItem Condition="d.type == QMetaType::QLineF">
  660. *((QLineF*)(d.is_shared ? d.data.shared-&gt;ptr
  661. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  662. </ExpandedItem>
  663. <ExpandedItem Condition="d.type == QMetaType::QPoint">
  664. *((QPoint*)(d.is_shared ? d.data.shared-&gt;ptr
  665. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  666. </ExpandedItem>
  667. <ExpandedItem Condition="d.type == QMetaType::QPointF">
  668. *((QPointF*)(d.is_shared ? d.data.shared-&gt;ptr
  669. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  670. </ExpandedItem>
  671. <ExpandedItem Condition="d.type == QMetaType::QVariantHash">
  672. *((QHash&lt;QString,QVariant&gt;*)(d.is_shared ? d.data.shared-&gt;ptr
  673. : reinterpret_cast&lt;const void *&gt;(&amp;d.data.ptr)))
  674. </ExpandedItem>
  675. </Expand>
  676.  
  677. <!--End region Expand QVariant-->
  678. </Type>
  679.  
  680. </AutoVisualizer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement