Guest User

Untitled

a guest
Nov 14th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.38 KB | None | 0 0
  1. import maya.cmds as cmds
  2.  
  3. ui_filename = cmds.loadUI(f='C:/02_Python/UIs/Main.ui')
  4. cmds.showWindow(ui_filename)
  5.  
  6. <?xml version="1.0" encoding="UTF-8"?>
  7. <ui version="4.0">
  8. <class>Dialog</class>
  9. <widget class="QDialog" name="Dialog">
  10. <property name="geometry">
  11. <rect>
  12. <x>0</x>
  13. <y>0</y>
  14. <width>294</width>
  15. <height>86</height>
  16. </rect>
  17. </property>
  18. <property name="windowTitle">
  19. <string>Maya Box</string>
  20. </property>
  21. <property name="windowIcon">
  22. <iconset>
  23. <normaloff>icons/Maya2018.ico</normaloff>icons/Maya2018.ico</iconset>
  24. </property>
  25. <property name="styleSheet">
  26. <string notr="true">/*
  27. MAIN WIDGET
  28. /**********************************************************************/
  29.  
  30. QWidget{
  31. color: rgb( 255, 255, 255 );
  32. background-color: rgb( 80, 80, 80 );
  33. }
  34.  
  35. /*
  36. TOOL TIP
  37. /**********************************************************************/
  38.  
  39. QToolTip{
  40. color: rgb( 0, 0, 0 );
  41. background-color: #FFFFE1;
  42. border: 1px solid rgb(0, 0, 0);
  43. }
  44.  
  45. /*
  46. SPLITTER
  47. /**********************************************************************/
  48. QSplitter::handle{
  49. image: url(:/Splitter.png);
  50. }
  51.  
  52. QSplitter::handle:pressed{
  53. image: url(:/Splitter_active.png);
  54. }
  55.  
  56. /*
  57. MENU BAR
  58. /**********************************************************************/
  59.  
  60. QMenuBar {
  61. background-color: rgb( 65, 65, 65 );
  62. }
  63.  
  64. QMenuBar::item {
  65. spacing: 3px;
  66. padding: 1px 4px;
  67. background: transparent;
  68. border-radius: 4px;
  69. }
  70.  
  71. QMenuBar::item:selected {
  72. border: 1px solid rgb( 127, 127, 127 );
  73. background: transparent;
  74. }
  75.  
  76. QMenuBar::item:pressed {
  77. background: rgb( 127, 127, 127 );
  78. }
  79.  
  80. /*
  81. DOCK WIDGET
  82. /**********************************************************************/
  83.  
  84. QDockWidget {
  85. titlebar-close-icon: url(:/Exit.png);
  86. }
  87.  
  88. QDockWidget > QWidget {
  89. border: 1px solid rgb( 45, 45, 45 );
  90. border-bottom-left-radius: 2px;
  91. border-bottom-right-radius: 2px;
  92. }
  93.  
  94. QDockWidget:close-button, QDockWidget::close-button:hover {
  95. background: none;
  96. border: none;
  97. icon-size: 12px;
  98. margin-right: 2px;
  99. }
  100.  
  101. QDockWidget::title{
  102. border-top-left-radius: 2px;
  103. border-top-right-radius: 2px;
  104. text-align: center;
  105. background: qlineargradient(x1:0.0, y1:0.0, x2:0.0, y2:1.0, stop:0.0 rgba(110, 110, 110, 255), stop:0.15 rgba(75, 75, 75, 255), stop:0.45 rgba(75, 75, 75, 255), stop:0.48 rgba(45, 45, 45, 255), stop:1.0 rgba(45, 45, 45, 255));
  106. }
  107.  
  108. /*
  109. TOOL BAR
  110. /**********************************************************************/
  111.  
  112. QToolBar:top, QToolBar:bottom {
  113. border: none;
  114. border-radius: none;
  115. spacing: 0px;
  116. background: qlineargradient(x1:0.0, y1:0.0, x2:0.0, y2:1.0, stop:0.0 rgba(110, 110, 110, 255), stop:0.15 rgba(75, 75, 75, 255), stop:0.45 rgba(75, 75, 75, 255), stop:0.48 rgba(45, 45, 45, 255), stop:1.0 rgba(45, 45, 45, 255));
  117. }
  118.  
  119. QToolBar:left, QToolBar:right{
  120. border: none;
  121. border-radius: none;
  122. spacing: 0px;
  123. background: qlineargradient(x1:0.0, y1:0.0, x2:1.0, y2:0.0, stop:0.0 rgba(110, 110, 110, 255), stop:0.15 rgba(75, 75, 75, 255), stop:0.45 rgba(75, 75, 75, 255), stop:0.48 rgba(45, 45, 45, 255), stop:1.0 rgba(45, 45, 45, 255));
  124. }
  125.  
  126. QToolBar::handle{
  127. width: 5px;
  128. height: 5px;
  129. }
  130.  
  131. /*
  132. TAB WIDGET
  133. /**********************************************************************/
  134.  
  135. QTabWidget::pane:top, QTabWidget::pane:left{
  136. border: 1px solid rgb(110, 110, 110);
  137. top: -1px;
  138. }
  139.  
  140. /*
  141. DOUBLE SPIN BOX
  142. /**********************************************************************/
  143.  
  144. QDoubleSpinBox:hover, QDoubleSpinBox:focus{
  145. border: 1px outset rgba(244, 133, 22, 255);
  146. border-radius: 3px;
  147. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(110, 110, 110), stop:1 rgba(90, 90, 90));
  148. }
  149.  
  150. QDoubleSpinBox:enabled{
  151. border: 1px solid rgb(127, 127, 127);
  152. border-radius: 3px;
  153. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(110, 110, 110), stop:1 rgba(90, 90, 90));
  154. }
  155.  
  156. QDoubleSpinBox:disabled{
  157. border: 1px solid rgb(60, 60, 60);
  158. border-radius: 3px;
  159. color: rgb(127, 127, 127);
  160. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(90, 90, 90), stop:1 rgba(70, 70, 70));
  161. }
  162.  
  163. QDoubleSpinBox::up-button:enabled, QDoubleSpinBox::down-button:enabled{
  164. border-left: 1px solid rgb(127, 127, 127);
  165. }
  166.  
  167. QDoubleSpinBox::up-button:disabled, QDoubleSpinBox::down-button:disabled{
  168. border-left: 1px solid rgb(60, 60, 60);
  169. }
  170.  
  171. QDoubleSpinBox::up-arrow:enabled{
  172. image: url(:/upArrow.png);
  173. }
  174.  
  175. QDoubleSpinBox::down-arrow:enabled{
  176. image: url(:/downArrow.png);
  177. }
  178.  
  179. /*
  180. LIST WIDGET
  181. /**********************************************************************/
  182.  
  183. QListWidget{
  184. color: rgb( 255, 255, 255 );
  185. border: 1px solid rgb(110, 110, 110);
  186. border-radius: 1px;
  187. alternate-background-color: rgb(90, 90, 90);
  188. }
  189.  
  190. QListWidget::item:selected, QListWidget::item:selected:hover, QListWidget::item:pressed{
  191. color: rgb( 255, 255, 255 );
  192. border: none;
  193. background-color: rgb( 218, 165, 32 );
  194. }
  195.  
  196. QListWidget::item:hover{
  197. color: rgb( 255, 255, 255 );
  198. border: none;
  199. background-color: transparent;
  200. }
  201.  
  202. QListView::item:selected:active {
  203. color: rgb( 255, 255, 255 );
  204. border: none;
  205. background-color: rgb(154, 205, 50);
  206. }
  207.  
  208. QListWidget::indicator {
  209. width: 13px;
  210. height: 13px;
  211. }
  212.  
  213. QListWidget::indicator:unchecked:enabled, QListWidget::indicator:indeterminate:enabled {
  214. border: 1px solid rgb(127, 127, 127);
  215. border-radius: 3px;
  216. }
  217.  
  218. QListWidget::indicator:checked:enabled {
  219. image: url(:/checked.png);
  220. border: 1px solid rgb(127, 127, 127);
  221. border-radius: 3px;
  222. }
  223.  
  224. QListWidget::indicator:unchecked:hover, QListWidget::indicator:checked:hover {
  225. border: 1px outset rgba(244, 133, 22, 255);
  226. border-radius: 3px;
  227. }
  228.  
  229. /*
  230. SLIDER
  231. /**********************************************************************/
  232.  
  233. QSlider::groove:horizontal {
  234. background: rgba(0, 0, 0, 0);
  235. position: absolute;
  236. top: 4px; bottom: 4px;
  237. height: 6px;
  238. }
  239.  
  240. QSlider::handle:horizontal:enabled {
  241. width: 6px;
  242. margin: -4px, -4px;
  243. border-bottom-left-radius: 4px;
  244. border-bottom-right-radius: 4px;
  245. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(150, 150, 150), stop:1 rgb(130, 130, 130));
  246. border: 1px solid rgb(127, 127, 127);
  247. }
  248.  
  249. QSlider::handle:horizontal:disabled {
  250. width: 6px;
  251. margin: -4px, -4px;
  252. border-bottom-left-radius: 4px;
  253. border-bottom-right-radius: 4px;
  254. background: rgba(0, 0, 0, 0);
  255. border: 1px solid rgb(60, 60, 60);
  256. }
  257.  
  258. QSlider::handle:horizontal:hover, QSlider::handle:horizontal:focus {
  259. width: 6px;
  260. margin: -4px, -4px;
  261. border-bottom-left-radius: 4px;
  262. border-bottom-right-radius: 4px;
  263. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(150, 150, 150), stop:1 rgb(130, 130, 130));
  264. border: 1px outset rgba(244, 133, 22, 255);
  265. }
  266.  
  267. QSlider::add-page:horizontal:enabled {
  268. border: 1px solid rgb(127, 127, 127);
  269. border-radius: 3px;
  270. background: rgba(0, 0, 0, 0);
  271. }
  272.  
  273. QSlider::sub-page:horizontal:enabled {
  274. border: 1px solid rgb(127, 127, 127);
  275. border-radius: 3px;
  276. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(127, 127, 127), stop:1 rgb(100, 100, 100));
  277. }
  278.  
  279. QSlider::sub-page:horizontal:disabled, QSlider::add-page:horizontal:disabled {
  280. border: 1px solid rgb(60, 60, 60);
  281. border-radius: 3px;
  282. background: rgba(0, 0, 0, 0);
  283. }
  284.  
  285. /*
  286. COMBO BOX
  287. /**********************************************************************/
  288.  
  289. QComboBox {
  290. width: 100px;
  291. }
  292.  
  293. QComboBox::down-arrow:enabled {
  294. image: url(:/downArrow.png);
  295. }
  296.  
  297. QComboBox QAbstractItemView {
  298. background: rgb(110, 110, 110);
  299. }
  300.  
  301. QComboBox:enabled {
  302. border: 1px solid rgb(127, 127, 127);
  303. border-radius: 3px;
  304. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(110, 110, 110), stop:1 rgba(90, 90, 90));
  305. }
  306.  
  307. QComboBox:hover {
  308. border: 1px outset rgba(244, 133, 22, 255);
  309. border-radius: 3px;
  310. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(110, 110, 110), stop:1 rgba(90, 90, 90));
  311. }
  312.  
  313. QComboBox::drop-down:enabled {
  314. border-left: 1px solid rgb(127, 127, 127);
  315. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(110, 110, 110), stop:1 rgba(90, 90, 90));
  316. }
  317.  
  318. QComboBox:disabled {
  319. border: 1px solid rgb(60, 60, 60);
  320. border-radius: 3px;
  321. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(90, 90, 90), stop:1 rgba(70, 70, 70));
  322. }
  323.  
  324. QComboBox::drop-down:disabled {
  325. border-left: 1px solid rgb(60, 60, 60);
  326. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(90, 90, 90), stop:1 rgba(70, 70, 70));
  327. }
  328.  
  329. /*
  330. MENU
  331. /**********************************************************************/
  332.  
  333. QMenu {
  334. padding: 2px;
  335. border: 1px solid rgb(45, 45, 45);
  336. background: qlineargradient(x1:0.0, y1:0.2, x2:0.0, y2:0.6, stop:0 rgb(45, 45, 45), stop:1 rgb(60, 60, 60));
  337. }
  338.  
  339. QMenu::item {
  340. padding-top: 3px;
  341. padding-bottom: 3px;
  342. padding-left: 20px;
  343. padding-right: 20px;
  344. margin-left: 2px;
  345. background-color: rgba(0, 0, 0, 0);
  346. }
  347.  
  348. QMenu::item:selected {
  349. color: rgb(15, 15, 15);
  350. background-color: qlineargradient(x1:0.0, y1:0.3, x2:0.0, y2:0.7, stop:0 rgba(243, 143, 28, 255), stop: 1 rgba(242, 158, 25, 255));
  351. }
  352.  
  353. /*
  354. CHECK BOX
  355. /**********************************************************************/
  356.  
  357. QCheckBox::indicator {
  358. width: 13px;
  359. height: 13px;
  360. }
  361.  
  362. QCheckBox::indicator:unchecked:enabled, QCheckBox::indicator:indeterminate:enabled {
  363. border: 1px solid rgb(127, 127, 127);
  364. border-radius: 3px;
  365. }
  366.  
  367. QCheckBox::indicator:checked:enabled {
  368. image: url(:/checked.png);
  369. border: 1px solid rgb(127, 127, 127);
  370. border-radius: 3px;
  371. }
  372.  
  373. QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:checked:hover {
  374. border: 1px outset rgba(244, 133, 22, 255);
  375. border-radius: 3px;
  376. }
  377.  
  378. /*
  379. PUSH BUTTON
  380. /**********************************************************************/
  381.  
  382. QPushButton {
  383. width: 16px;
  384. padding: 2px;
  385. background: qlineargradient(x1:0.0, y1:0.4, x2:0.0, y2:0.55, stop:0 rgba(65, 65, 65, 255), stop:1 rgba(45, 45, 45, 255));
  386. border: 1px solid rgb(127, 127, 127);
  387. border-radius: 3px;
  388. font-weight: bold
  389. }
  390.  
  391. QPushButton:default {
  392. border-color: rgba(166, 133, 99, 255);
  393. border-radius: 3px;
  394. }
  395.  
  396. QPushButton:hover {
  397. border: 1px outset rgba(244, 133, 22, 255);
  398. border-radius: 3px;
  399. }
  400.  
  401. QPushButton:pressed {
  402. border: 1px outset rgba(244, 133, 22, 255);
  403. border-radius: 3px;
  404. background: qlineargradient(x1:0.0, y1:0.4, x2:0.0, y2:0.55, stop:0 rgba(45, 45, 45, 255), stop:1 rgba(25, 25, 25, 255));
  405. color: rgb(150, 150, 150);
  406. }
  407.  
  408. QPushButton:checked {
  409. border: 1px solid rgb(127, 127, 127);
  410. border-radius: 3px;
  411. color: rgb(255, 255, 255);
  412. }
  413.  
  414. QPushButton[activeViewpoint="true"] {
  415. border: 1px outset rgba(244, 244, 244, 255);
  416. border-radius: 3px;
  417. }
  418.  
  419. QPushButton:hover[activeViewpoint="true"] {
  420. border: 1px outset rgba(244, 133, 22, 255);
  421. border-radius: 3px;
  422. }
  423.  
  424. /*
  425. TOOL BUTTON
  426. /**********************************************************************/
  427.  
  428. QToolButton {
  429. border: none;
  430. background: none;
  431. }
  432.  
  433. QToolButton:hover, QToolButton:checked {
  434. border: none;
  435. background: rgba(30, 30, 30, 120);
  436. }
  437.  
  438. QToolButton:menu-arrow {
  439. margin-top: 40;
  440. background: none;
  441. image: url(:/downArrow.png);
  442. }
  443.  
  444. QToolButton[popupMode="1"]{
  445. padding-right: 10px;
  446. }
  447.  
  448. QToolButton:menu-button{
  449. border: none;
  450. }
  451.  
  452. /*
  453. LINE EDIT
  454. /**********************************************************************/
  455.  
  456. QLineEdit{
  457. border: 1px solid rgb(127, 127, 127);
  458. border-radius: 3px;
  459. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(110, 110, 110), stop:1 rgba(90, 90, 90));
  460. }
  461.  
  462. QLineEdit:hover {
  463. border: 1px outset rgba(244, 133, 22, 255);
  464. border-radius: 3px;
  465. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(110, 110, 110), stop:1 rgba(90, 90, 90));
  466. }
  467.  
  468. /*
  469. GROUP BOX
  470. /**********************************************************************/
  471.  
  472. QGroupBox{
  473. border: 2px solid rgb(127, 127, 127);
  474. border-radius: 5px;
  475. margin-top: 0.5em;
  476. }
  477.  
  478. QGroupBox::title {
  479. subcontrol-origin: margin;
  480. left: 10px;
  481. padding: 0 3px 0 3px;
  482. }
  483.  
  484. /*
  485. TAB BAR
  486. /**********************************************************************/
  487.  
  488. QTabBar::tab:top:selected {
  489. border: 1px solid rgb(110, 110, 110);
  490. border-bottom: 0px;
  491. border-radius: 4px;
  492. border-bottom-left-radius: 0px;
  493. border-bottom-right-radius: 0px;
  494. padding: 2px;
  495. padding-left: 6px;
  496. padding-right: 6px;
  497. background: qlineargradient(x1:0.0, y1:0.0, x2:0.0, y2:1.0, stop:0.0 rgb(252, 194, 0), stop:0.1 rgb(236, 122, 40), stop:0.15 rgb(110, 110, 110), stop:1.0 rgb(80, 80, 80));
  498. }
  499.  
  500. QTabBar::tab:top:!selected {
  501. border: 1px solid rgb(110, 110, 110);
  502. border-radius: 4px;
  503. border-bottom-left-radius: 0px;
  504. border-bottom-right-radius: 0px;
  505. padding: 2px;
  506. padding-left: 6px;
  507. padding-right: 6px;
  508. padding-top: 2px;
  509. padding-bottom: 2px;
  510. margin-top: 4px;
  511. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(70, 70, 70), stop:1 rgba(60, 60, 60));
  512. }
  513.  
  514. QTabBar::tab:bottom:selected {
  515. border: 1px solid rgb(110, 110, 110);
  516. border-top: 0px;
  517. border-radius: 4px;
  518. border-top-left-radius: 0px;
  519. border-top-right-radius: 0px;
  520. padding: 2px;
  521. padding-left: 6px;
  522. padding-right: 6px;
  523. background: qlineargradient(x1:0.0, y1:0.0, x2:0.0, y2:1.0, stop:0.0 rgb(70, 70, 70), stop:0.89 rgb(100, 100, 100), stop:0.9 rgb(236, 122, 40), stop:1.0 rgb(252, 194, 0));
  524. }
  525.  
  526. QTabBar::tab:bottom:!selected {
  527. border: 1px solid rgb(110, 110, 110);
  528. border-radius: 4px;
  529. border-top-left-radius: 0px;
  530. border-top-right-radius: 0px;
  531. padding: 2px;
  532. padding-left: 6px;
  533. padding-right: 6px;
  534. padding-top: 2px;
  535. padding-bottom: 2px;
  536. margin-bottom: 4px;
  537. background: qlineargradient(x1:0.0, y1:0.55, x2:0.0, y2:0.9, stop:0 rgb(55, 55, 55), stop:1 rgba(65, 65, 65));
  538. }
  539.  
  540. QTabBar::tab:left:selected {
  541. border: 1px solid rgb(110, 110, 110);
  542. border-left: 0px;
  543. border-radius: 4px;
  544. border-top-left-radius: 0px;
  545. border-bottom-left-radius: 0px;
  546. padding: 2px;
  547. padding-left: 2px;
  548. padding-right: 2px;
  549. padding-top: 6px;
  550. padding-bottom: 6px;
  551. background: qlineargradient(x1:0.0, y1:0.0, x2:1.0, y2:0.0, stop:0.0 rgb(80, 80, 80), stop:0.89 rgb(110, 110, 110), stop:0.9 rgb(236, 122, 40), stop:1.0 rgb(252, 194, 0));
  552. }
  553.  
  554. QTabBar::tab:left:!selected {
  555. border: 1px solid rgb(110, 110, 110);
  556. border-radius: 4px;
  557. border-top-left-radius: 0px;
  558. border-bottom-left-radius: 0px;
  559. padding: 2px;
  560. padding-left: 2px;
  561. padding-right: 2px;
  562. padding-top: 6px;
  563. padding-bottom: 6px;
  564. margin-right: 4px;
  565. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(70, 70, 70), stop:1 rgba(60, 60, 60));
  566. }
  567.  
  568. QTabBar::tab:right:selected {
  569. border: 1px solid rgb(110, 110, 110);
  570. border-right: 0px;
  571. border-radius: 4px;
  572. border-top-right-radius: 0px;
  573. border-bottom-right-radius: 0px;
  574. padding: 6px;
  575. background: qlineargradient(x1:0.0, y1:0.0, x2:1.0, y2:0.0, stop:0.0 rgb(252, 194, 0), stop:0.1 rgb(236, 122, 40), stop:0.15 rgb(110, 110, 110), stop:1.0 rgb(80, 80, 80));
  576. }
  577.  
  578. QTabBar::tab:right:!selected {
  579. border: 1px solid rgb(110, 110, 110);
  580. border-radius: 4px;
  581. border-top-right-radius: 0px;
  582. border-bottom-right-radius: 0px;
  583. padding: 6px;
  584. padding-left: 2px;
  585. padding-right: 2px;
  586. margin-left: 4px;
  587. background: qlineargradient(x1:0.0, y1:0.1, x2:0.0, y2:0.45, stop:0 rgb(90, 90, 90), stop:1 rgba(70, 70, 70));
  588. }</string>
  589. </property>
  590. <layout class="QVBoxLayout" name="verticalLayout">
  591. <item>
  592. <widget class="QLabel" name="label">
  593. <property name="text">
  594. <string>Path to File</string>
  595. </property>
  596. </widget>
  597. </item>
  598. <item>
  599. <layout class="QHBoxLayout" name="horizontalLayout">
  600. <item>
  601. <widget class="QLineEdit" name="lineEdit_Path">
  602. <property name="text">
  603. <string>c:_data_*.txt</string>
  604. </property>
  605. </widget>
  606. </item>
  607. <item>
  608. <widget class="QToolButton" name="toolButton_Path">
  609. <property name="text">
  610. <string>...</string>
  611. </property>
  612. <property name="icon">
  613. <iconset>
  614. <normalon>icons/folder.ico</normalon>
  615. </iconset>
  616. </property>
  617. </widget>
  618. </item>
  619. </layout>
  620. </item>
  621. <item>
  622. <layout class="QHBoxLayout" name="horizontalLayout_4">
  623. <item>
  624. <spacer name="horizontalSpacer_2">
  625. <property name="orientation">
  626. <enum>Qt::Horizontal</enum>
  627. </property>
  628. <property name="sizeHint" stdset="0">
  629. <size>
  630. <width>40</width>
  631. <height>20</height>
  632. </size>
  633. </property>
  634. </spacer>
  635. </item>
  636. <item>
  637. <widget class="QPushButton" name="pushButton_O">
  638. <property name="minimumSize">
  639. <size>
  640. <width>128</width>
  641. <height>0</height>
  642. </size>
  643. </property>
  644. <property name="text">
  645. <string>OK</string>
  646. </property>
  647. </widget>
  648. </item>
  649. <item>
  650. <widget class="QPushButton" name="pushButton_C">
  651. <property name="minimumSize">
  652. <size>
  653. <width>128</width>
  654. <height>0</height>
  655. </size>
  656. </property>
  657. <property name="text">
  658. <string>Cancel</string>
  659. </property>
  660. </widget>
  661. </item>
  662. <item>
  663. <spacer name="horizontalSpacer_3">
  664. <property name="orientation">
  665. <enum>Qt::Horizontal</enum>
  666. </property>
  667. <property name="sizeHint" stdset="0">
  668. <size>
  669. <width>40</width>
  670. <height>20</height>
  671. </size>
  672. </property>
  673. </spacer>
  674. </item>
  675. </layout>
  676. </item>
  677. </layout>
  678. </widget>
  679. <resources/>
  680. <connections/>
  681. </ui>
Add Comment
Please, Sign In to add comment