TrackViewCurveEditor.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>TrackViewCurveEditor</class>
  4. <widget class="QWidget" name="TrackViewCurveEditor">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>588</width>
  10. <height>285</height>
  11. </rect>
  12. </property>
  13. <layout class="QGridLayout" name="gridLayout">
  14. <item row="1" column="0">
  15. <widget class="CTrackViewSplineCtrl" name="m_wndSpline" native="true">
  16. <property name="sizePolicy">
  17. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  18. <horstretch>0</horstretch>
  19. <verstretch>0</verstretch>
  20. </sizepolicy>
  21. </property>
  22. </widget>
  23. </item>
  24. <item row="0" column="0" colspan="2">
  25. <layout class="QHBoxLayout" name="horizontalLayout">
  26. <property name="spacing">
  27. <number>0</number>
  28. </property>
  29. <item>
  30. <widget class="QToolButton" name="buttonTangentAuto">
  31. <property name="toolTip">
  32. <string>Set In/Out Tangents to Auto</string>
  33. </property>
  34. <property name="icon">
  35. <iconset resource="TrackViewDialog.qrc">
  36. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_00.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_00.png</iconset>
  37. </property>
  38. <property name="iconSize">
  39. <size>
  40. <width>18</width>
  41. <height>18</height>
  42. </size>
  43. </property>
  44. <property name="autoRaise">
  45. <bool>true</bool>
  46. </property>
  47. </widget>
  48. </item>
  49. <item>
  50. <widget class="Line" name="line">
  51. <property name="minimumSize">
  52. <size>
  53. <width>6</width>
  54. <height>0</height>
  55. </size>
  56. </property>
  57. <property name="orientation">
  58. <enum>Qt::Vertical</enum>
  59. </property>
  60. </widget>
  61. </item>
  62. <item>
  63. <widget class="QToolButton" name="buttonTangentInZero">
  64. <property name="toolTip">
  65. <string>Set In Tangent to Zero</string>
  66. </property>
  67. <property name="icon">
  68. <iconset resource="TrackViewDialog.qrc">
  69. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_01.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_01.png</iconset>
  70. </property>
  71. <property name="iconSize">
  72. <size>
  73. <width>18</width>
  74. <height>18</height>
  75. </size>
  76. </property>
  77. <property name="autoRaise">
  78. <bool>true</bool>
  79. </property>
  80. </widget>
  81. </item>
  82. <item>
  83. <widget class="QToolButton" name="buttonTangentInStep">
  84. <property name="toolTip">
  85. <string>Set In Tangent to Step</string>
  86. </property>
  87. <property name="icon">
  88. <iconset resource="TrackViewDialog.qrc">
  89. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_02.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_02.png</iconset>
  90. </property>
  91. <property name="iconSize">
  92. <size>
  93. <width>18</width>
  94. <height>18</height>
  95. </size>
  96. </property>
  97. <property name="autoRaise">
  98. <bool>true</bool>
  99. </property>
  100. </widget>
  101. </item>
  102. <item>
  103. <widget class="QToolButton" name="buttonTangentInLinear">
  104. <property name="toolTip">
  105. <string>Set In Tangent to Linear</string>
  106. </property>
  107. <property name="icon">
  108. <iconset resource="TrackViewDialog.qrc">
  109. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_03.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_03.png</iconset>
  110. </property>
  111. <property name="iconSize">
  112. <size>
  113. <width>18</width>
  114. <height>18</height>
  115. </size>
  116. </property>
  117. <property name="autoRaise">
  118. <bool>true</bool>
  119. </property>
  120. </widget>
  121. </item>
  122. <item>
  123. <widget class="Line" name="line_2">
  124. <property name="minimumSize">
  125. <size>
  126. <width>6</width>
  127. <height>0</height>
  128. </size>
  129. </property>
  130. <property name="orientation">
  131. <enum>Qt::Vertical</enum>
  132. </property>
  133. </widget>
  134. </item>
  135. <item>
  136. <widget class="QToolButton" name="buttonTangentOutZero">
  137. <property name="toolTip">
  138. <string>Set Out Tangent to Zero</string>
  139. </property>
  140. <property name="icon">
  141. <iconset resource="TrackViewDialog.qrc">
  142. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_04.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_04.png</iconset>
  143. </property>
  144. <property name="iconSize">
  145. <size>
  146. <width>18</width>
  147. <height>18</height>
  148. </size>
  149. </property>
  150. <property name="autoRaise">
  151. <bool>true</bool>
  152. </property>
  153. </widget>
  154. </item>
  155. <item>
  156. <widget class="QToolButton" name="buttonTangentOutStep">
  157. <property name="toolTip">
  158. <string>Set Out Tangent to Step</string>
  159. </property>
  160. <property name="icon">
  161. <iconset resource="TrackViewDialog.qrc">
  162. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_05.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_05.png</iconset>
  163. </property>
  164. <property name="iconSize">
  165. <size>
  166. <width>18</width>
  167. <height>18</height>
  168. </size>
  169. </property>
  170. <property name="autoRaise">
  171. <bool>true</bool>
  172. </property>
  173. </widget>
  174. </item>
  175. <item>
  176. <widget class="QToolButton" name="buttonTangentOutLinear">
  177. <property name="toolTip">
  178. <string>Set Out Tangent to Linear</string>
  179. </property>
  180. <property name="icon">
  181. <iconset resource="TrackViewDialog.qrc">
  182. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_06.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_06.png</iconset>
  183. </property>
  184. <property name="iconSize">
  185. <size>
  186. <width>18</width>
  187. <height>18</height>
  188. </size>
  189. </property>
  190. <property name="autoRaise">
  191. <bool>true</bool>
  192. </property>
  193. </widget>
  194. </item>
  195. <item>
  196. <widget class="Line" name="line_3">
  197. <property name="minimumSize">
  198. <size>
  199. <width>6</width>
  200. <height>0</height>
  201. </size>
  202. </property>
  203. <property name="orientation">
  204. <enum>Qt::Vertical</enum>
  205. </property>
  206. </widget>
  207. </item>
  208. <item>
  209. <widget class="QToolButton" name="buttonSplineFitX">
  210. <property name="toolTip">
  211. <string>Fit splines to the visible width</string>
  212. </property>
  213. <property name="icon">
  214. <iconset resource="TrackViewDialog.qrc">
  215. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_07.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_07.png</iconset>
  216. </property>
  217. <property name="iconSize">
  218. <size>
  219. <width>18</width>
  220. <height>18</height>
  221. </size>
  222. </property>
  223. <property name="autoRaise">
  224. <bool>true</bool>
  225. </property>
  226. </widget>
  227. </item>
  228. <item>
  229. <widget class="QToolButton" name="buttonSplineFitY">
  230. <property name="toolTip">
  231. <string>Fit splines to the visible height</string>
  232. </property>
  233. <property name="icon">
  234. <iconset resource="TrackViewDialog.qrc">
  235. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_08.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_08.png</iconset>
  236. </property>
  237. <property name="iconSize">
  238. <size>
  239. <width>18</width>
  240. <height>18</height>
  241. </size>
  242. </property>
  243. <property name="autoRaise">
  244. <bool>true</bool>
  245. </property>
  246. </widget>
  247. </item>
  248. <item>
  249. <widget class="Line" name="line_4">
  250. <property name="minimumSize">
  251. <size>
  252. <width>6</width>
  253. <height>0</height>
  254. </size>
  255. </property>
  256. <property name="orientation">
  257. <enum>Qt::Vertical</enum>
  258. </property>
  259. </widget>
  260. </item>
  261. <item>
  262. <widget class="QToolButton" name="buttonSplineSnapGridX">
  263. <property name="toolTip">
  264. <string>Snap to time grid</string>
  265. </property>
  266. <property name="icon">
  267. <iconset resource="TrackViewDialog.qrc">
  268. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_09.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_09.png</iconset>
  269. </property>
  270. <property name="iconSize">
  271. <size>
  272. <width>18</width>
  273. <height>18</height>
  274. </size>
  275. </property>
  276. <property name="checkable">
  277. <bool>true</bool>
  278. </property>
  279. <property name="autoRaise">
  280. <bool>true</bool>
  281. </property>
  282. </widget>
  283. </item>
  284. <item>
  285. <widget class="QToolButton" name="buttonSplineSnapGridY">
  286. <property name="toolTip">
  287. <string>Snap to value grid</string>
  288. </property>
  289. <property name="icon">
  290. <iconset resource="TrackViewDialog.qrc">
  291. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_10.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_10.png</iconset>
  292. </property>
  293. <property name="iconSize">
  294. <size>
  295. <width>18</width>
  296. <height>18</height>
  297. </size>
  298. </property>
  299. <property name="checkable">
  300. <bool>true</bool>
  301. </property>
  302. <property name="autoRaise">
  303. <bool>true</bool>
  304. </property>
  305. </widget>
  306. </item>
  307. <item>
  308. <widget class="Line" name="line_5">
  309. <property name="minimumSize">
  310. <size>
  311. <width>6</width>
  312. <height>0</height>
  313. </size>
  314. </property>
  315. <property name="orientation">
  316. <enum>Qt::Vertical</enum>
  317. </property>
  318. </widget>
  319. </item>
  320. <item>
  321. <widget class="QToolButton" name="buttonTangentUnify">
  322. <property name="toolTip">
  323. <string>Unify/Break Tangent Handles</string>
  324. </property>
  325. <property name="icon">
  326. <iconset resource="TrackViewDialog.qrc">
  327. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_11.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_11.png</iconset>
  328. </property>
  329. <property name="iconSize">
  330. <size>
  331. <width>18</width>
  332. <height>18</height>
  333. </size>
  334. </property>
  335. <property name="checkable">
  336. <bool>true</bool>
  337. </property>
  338. <property name="autoRaise">
  339. <bool>true</bool>
  340. </property>
  341. </widget>
  342. </item>
  343. <item>
  344. <widget class="Line" name="line_6">
  345. <property name="minimumSize">
  346. <size>
  347. <width>6</width>
  348. <height>0</height>
  349. </size>
  350. </property>
  351. <property name="orientation">
  352. <enum>Qt::Vertical</enum>
  353. </property>
  354. </widget>
  355. </item>
  356. <item>
  357. <widget class="QToolButton" name="buttonFreezeKeys">
  358. <property name="toolTip">
  359. <string>Freeze/Unfreeze all keys</string>
  360. </property>
  361. <property name="icon">
  362. <iconset resource="TrackViewDialog.qrc">
  363. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_12.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_12.png</iconset>
  364. </property>
  365. <property name="iconSize">
  366. <size>
  367. <width>18</width>
  368. <height>18</height>
  369. </size>
  370. </property>
  371. <property name="checkable">
  372. <bool>true</bool>
  373. </property>
  374. <property name="autoRaise">
  375. <bool>true</bool>
  376. </property>
  377. </widget>
  378. </item>
  379. <item>
  380. <widget class="QToolButton" name="buttonFreezeTangents">
  381. <property name="toolTip">
  382. <string>Freeze/Unfreeze all tangent handles</string>
  383. </property>
  384. <property name="icon">
  385. <iconset resource="TrackViewDialog.qrc">
  386. <normaloff>:/TrackViewCurveEditor/spline_edit_bar_13.png</normaloff>:/TrackViewCurveEditor/spline_edit_bar_13.png</iconset>
  387. </property>
  388. <property name="iconSize">
  389. <size>
  390. <width>18</width>
  391. <height>18</height>
  392. </size>
  393. </property>
  394. <property name="checkable">
  395. <bool>true</bool>
  396. </property>
  397. <property name="autoRaise">
  398. <bool>true</bool>
  399. </property>
  400. </widget>
  401. </item>
  402. <item>
  403. <spacer name="horizontalSpacer">
  404. <property name="orientation">
  405. <enum>Qt::Horizontal</enum>
  406. </property>
  407. <property name="sizeHint" stdset="0">
  408. <size>
  409. <width>40</width>
  410. <height>20</height>
  411. </size>
  412. </property>
  413. </spacer>
  414. </item>
  415. </layout>
  416. </item>
  417. </layout>
  418. </widget>
  419. <customwidgets>
  420. <customwidget>
  421. <class>CTrackViewSplineCtrl</class>
  422. <extends>QWidget</extends>
  423. <header>TrackView/TrackViewSplineCtrl.h</header>
  424. <container>1</container>
  425. </customwidget>
  426. </customwidgets>
  427. <resources>
  428. <include location="TrackViewDialog.qrc"/>
  429. </resources>
  430. <connections/>
  431. </ui>