ui_calculator.ui 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>500</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>400</width>
  22. <height>500</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>400</width>
  28. <height>500</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>Calculator : by Rahul</string>
  33. </property>
  34. <property name="windowIcon">
  35. <iconset resource="../resources/Calculator.qrc">
  36. <normaloff>:/images/images/Calculator.png</normaloff>:/images/images/Calculator.png</iconset>
  37. </property>
  38. <property name="styleSheet">
  39. <string notr="true"/>
  40. </property>
  41. <widget class="QWidget" name="centralwidget">
  42. <property name="sizePolicy">
  43. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  44. <horstretch>0</horstretch>
  45. <verstretch>0</verstretch>
  46. </sizepolicy>
  47. </property>
  48. <property name="styleSheet">
  49. <string notr="true">background-color : #336699;</string>
  50. </property>
  51. <layout class="QVBoxLayout" name="verticalLayout">
  52. <item>
  53. <layout class="QGridLayout" name="grid" rowstretch="1,4,2,2,2,2,2">
  54. <property name="sizeConstraint">
  55. <enum>QLayout::SetDefaultConstraint</enum>
  56. </property>
  57. <property name="spacing">
  58. <number>0</number>
  59. </property>
  60. <item row="5" column="1">
  61. <widget class="QPushButton" name="button_2">
  62. <property name="sizePolicy">
  63. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  64. <horstretch>0</horstretch>
  65. <verstretch>0</verstretch>
  66. </sizepolicy>
  67. </property>
  68. <property name="font">
  69. <font>
  70. <family>Arial</family>
  71. <pointsize>18</pointsize>
  72. <weight>75</weight>
  73. <bold>true</bold>
  74. </font>
  75. </property>
  76. <property name="styleSheet">
  77. <string notr="true">QPushButton
  78. {
  79. background-color : #336699;
  80. border : none;
  81. color : white;
  82. margin: 5px;
  83. }
  84. QPushButton:hover
  85. {
  86. background-color : white;
  87. border : none;
  88. border-radius : 7px;
  89. color : black;
  90. margin: 5px;
  91. }
  92. </string>
  93. </property>
  94. <property name="text">
  95. <string>2</string>
  96. </property>
  97. <property name="flat">
  98. <bool>true</bool>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="3" column="2">
  103. <widget class="QPushButton" name="button_9">
  104. <property name="sizePolicy">
  105. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  106. <horstretch>0</horstretch>
  107. <verstretch>0</verstretch>
  108. </sizepolicy>
  109. </property>
  110. <property name="font">
  111. <font>
  112. <family>Arial</family>
  113. <pointsize>18</pointsize>
  114. <weight>75</weight>
  115. <bold>true</bold>
  116. </font>
  117. </property>
  118. <property name="styleSheet">
  119. <string notr="true">QPushButton
  120. {
  121. background-color : #336699;
  122. border : none;
  123. color : white;
  124. margin: 5px;
  125. }
  126. QPushButton:hover
  127. {
  128. background-color : white;
  129. border : none;
  130. border-radius : 7px;
  131. color : black;
  132. margin: 5px;
  133. }
  134. </string>
  135. </property>
  136. <property name="text">
  137. <string>9</string>
  138. </property>
  139. <property name="flat">
  140. <bool>true</bool>
  141. </property>
  142. </widget>
  143. </item>
  144. <item row="5" column="2">
  145. <widget class="QPushButton" name="button_3">
  146. <property name="sizePolicy">
  147. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  148. <horstretch>0</horstretch>
  149. <verstretch>0</verstretch>
  150. </sizepolicy>
  151. </property>
  152. <property name="font">
  153. <font>
  154. <family>Arial</family>
  155. <pointsize>18</pointsize>
  156. <weight>75</weight>
  157. <bold>true</bold>
  158. </font>
  159. </property>
  160. <property name="styleSheet">
  161. <string notr="true">QPushButton
  162. {
  163. background-color : #336699;
  164. border : none;
  165. color : white;
  166. margin: 5px;
  167. }
  168. QPushButton:hover
  169. {
  170. background-color : white;
  171. border : none;
  172. border-radius : 7px;
  173. color : black;
  174. margin: 5px;
  175. }
  176. </string>
  177. </property>
  178. <property name="text">
  179. <string>3</string>
  180. </property>
  181. <property name="flat">
  182. <bool>true</bool>
  183. </property>
  184. </widget>
  185. </item>
  186. <item row="4" column="1">
  187. <widget class="QPushButton" name="button_5">
  188. <property name="sizePolicy">
  189. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  190. <horstretch>0</horstretch>
  191. <verstretch>0</verstretch>
  192. </sizepolicy>
  193. </property>
  194. <property name="font">
  195. <font>
  196. <family>Arial</family>
  197. <pointsize>18</pointsize>
  198. <weight>75</weight>
  199. <bold>true</bold>
  200. </font>
  201. </property>
  202. <property name="styleSheet">
  203. <string notr="true">QPushButton
  204. {
  205. background-color : #336699;
  206. border : none;
  207. color : white;
  208. margin: 5px;
  209. }
  210. QPushButton:hover
  211. {
  212. background-color : white;
  213. border : none;
  214. border-radius : 7px;
  215. color : black;
  216. margin: 5px;
  217. }
  218. </string>
  219. </property>
  220. <property name="text">
  221. <string>5</string>
  222. </property>
  223. <property name="flat">
  224. <bool>true</bool>
  225. </property>
  226. </widget>
  227. </item>
  228. <item row="5" column="0">
  229. <widget class="QPushButton" name="button_1">
  230. <property name="sizePolicy">
  231. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  232. <horstretch>0</horstretch>
  233. <verstretch>0</verstretch>
  234. </sizepolicy>
  235. </property>
  236. <property name="font">
  237. <font>
  238. <family>Arial</family>
  239. <pointsize>18</pointsize>
  240. <weight>75</weight>
  241. <bold>true</bold>
  242. </font>
  243. </property>
  244. <property name="styleSheet">
  245. <string notr="true">QPushButton
  246. {
  247. background-color : #336699;
  248. border : none;
  249. color : white;
  250. margin: 5px;
  251. }
  252. QPushButton:hover
  253. {
  254. background-color : white;
  255. border : none;
  256. border-radius : 7px;
  257. color : black;
  258. margin: 5px;
  259. }
  260. </string>
  261. </property>
  262. <property name="text">
  263. <string>1</string>
  264. </property>
  265. <property name="flat">
  266. <bool>true</bool>
  267. </property>
  268. </widget>
  269. </item>
  270. <item row="3" column="0">
  271. <widget class="QPushButton" name="button_7">
  272. <property name="sizePolicy">
  273. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  274. <horstretch>0</horstretch>
  275. <verstretch>0</verstretch>
  276. </sizepolicy>
  277. </property>
  278. <property name="font">
  279. <font>
  280. <family>Arial</family>
  281. <pointsize>18</pointsize>
  282. <weight>75</weight>
  283. <bold>true</bold>
  284. </font>
  285. </property>
  286. <property name="styleSheet">
  287. <string notr="true">QPushButton
  288. {
  289. background-color : #336699;
  290. border : none;
  291. color : white;
  292. margin: 5px;
  293. }
  294. QPushButton:hover
  295. {
  296. background-color : white;
  297. border : none;
  298. border-radius : 7px;
  299. color : black;
  300. margin: 5px;
  301. }
  302. </string>
  303. </property>
  304. <property name="text">
  305. <string>7</string>
  306. </property>
  307. <property name="flat">
  308. <bool>true</bool>
  309. </property>
  310. </widget>
  311. </item>
  312. <item row="3" column="3">
  313. <widget class="QPushButton" name="button_mult">
  314. <property name="sizePolicy">
  315. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  316. <horstretch>0</horstretch>
  317. <verstretch>0</verstretch>
  318. </sizepolicy>
  319. </property>
  320. <property name="font">
  321. <font>
  322. <family>Arial</family>
  323. <pointsize>18</pointsize>
  324. <weight>75</weight>
  325. <bold>true</bold>
  326. </font>
  327. </property>
  328. <property name="styleSheet">
  329. <string notr="true">QPushButton
  330. {
  331. background-color : #336699;
  332. border : none;
  333. color : white;
  334. margin: 5px;
  335. }
  336. QPushButton:hover
  337. {
  338. background-color : #e65c00;
  339. border : none;
  340. border-radius : 7px;
  341. color : white;
  342. margin: 5px;
  343. }
  344. </string>
  345. </property>
  346. <property name="text">
  347. <string>*</string>
  348. </property>
  349. <property name="flat">
  350. <bool>true</bool>
  351. </property>
  352. </widget>
  353. </item>
  354. <item row="2" column="2">
  355. <widget class="QPushButton" name="button_ans">
  356. <property name="sizePolicy">
  357. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  358. <horstretch>0</horstretch>
  359. <verstretch>0</verstretch>
  360. </sizepolicy>
  361. </property>
  362. <property name="font">
  363. <font>
  364. <family>Arial</family>
  365. <pointsize>18</pointsize>
  366. <weight>75</weight>
  367. <bold>true</bold>
  368. </font>
  369. </property>
  370. <property name="toolTip">
  371. <string>Answer</string>
  372. </property>
  373. <property name="styleSheet">
  374. <string notr="true">QPushButton
  375. {
  376. background-color : #336699;
  377. border : none;
  378. color : white;
  379. margin: 5px;
  380. }
  381. QPushButton:hover
  382. {
  383. background-color : #009933;
  384. border : none;
  385. border-radius : 7px;
  386. color : white;
  387. margin: 5px;
  388. }
  389. </string>
  390. </property>
  391. <property name="text">
  392. <string>Ans</string>
  393. </property>
  394. <property name="flat">
  395. <bool>true</bool>
  396. </property>
  397. </widget>
  398. </item>
  399. <item row="4" column="3">
  400. <widget class="QPushButton" name="button_add">
  401. <property name="sizePolicy">
  402. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  403. <horstretch>0</horstretch>
  404. <verstretch>0</verstretch>
  405. </sizepolicy>
  406. </property>
  407. <property name="font">
  408. <font>
  409. <family>Arial</family>
  410. <pointsize>18</pointsize>
  411. <weight>75</weight>
  412. <bold>true</bold>
  413. </font>
  414. </property>
  415. <property name="styleSheet">
  416. <string notr="true">QPushButton
  417. {
  418. background-color : #336699;
  419. border : none;
  420. color : white;
  421. margin: 5px;
  422. }
  423. QPushButton:hover
  424. {
  425. background-color : #e65c00;
  426. border : none;
  427. border-radius : 7px;
  428. color : white;
  429. margin: 5px;
  430. }
  431. </string>
  432. </property>
  433. <property name="text">
  434. <string>+</string>
  435. </property>
  436. <property name="flat">
  437. <bool>true</bool>
  438. </property>
  439. </widget>
  440. </item>
  441. <item row="4" column="0">
  442. <widget class="QPushButton" name="button_4">
  443. <property name="sizePolicy">
  444. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  445. <horstretch>0</horstretch>
  446. <verstretch>0</verstretch>
  447. </sizepolicy>
  448. </property>
  449. <property name="font">
  450. <font>
  451. <family>Arial</family>
  452. <pointsize>18</pointsize>
  453. <weight>75</weight>
  454. <bold>true</bold>
  455. </font>
  456. </property>
  457. <property name="styleSheet">
  458. <string notr="true">QPushButton
  459. {
  460. background-color : #336699;
  461. border : none;
  462. color : white;
  463. margin: 5px;
  464. }
  465. QPushButton:hover
  466. {
  467. background-color : white;
  468. border : none;
  469. border-radius : 7px;
  470. color : black;
  471. margin: 5px;
  472. }
  473. </string>
  474. </property>
  475. <property name="text">
  476. <string>4</string>
  477. </property>
  478. <property name="flat">
  479. <bool>true</bool>
  480. </property>
  481. </widget>
  482. </item>
  483. <item row="2" column="0">
  484. <widget class="QPushButton" name="button_ac">
  485. <property name="sizePolicy">
  486. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  487. <horstretch>0</horstretch>
  488. <verstretch>0</verstretch>
  489. </sizepolicy>
  490. </property>
  491. <property name="font">
  492. <font>
  493. <family>Arial</family>
  494. <pointsize>18</pointsize>
  495. <weight>75</weight>
  496. <bold>true</bold>
  497. </font>
  498. </property>
  499. <property name="toolTip">
  500. <string>All Clear</string>
  501. </property>
  502. <property name="styleSheet">
  503. <string notr="true">QPushButton
  504. {
  505. background-color : #336699;
  506. border : none;
  507. color : white;
  508. margin: 5px;
  509. }
  510. QPushButton:hover
  511. {
  512. background-color : #bd0f0f;
  513. border : none;
  514. border-radius : 7px;
  515. color : white;
  516. margin: 5px;
  517. }
  518. </string>
  519. </property>
  520. <property name="text">
  521. <string>AC</string>
  522. </property>
  523. <property name="flat">
  524. <bool>true</bool>
  525. </property>
  526. </widget>
  527. </item>
  528. <item row="6" column="2">
  529. <widget class="QPushButton" name="button_equal">
  530. <property name="sizePolicy">
  531. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  532. <horstretch>0</horstretch>
  533. <verstretch>0</verstretch>
  534. </sizepolicy>
  535. </property>
  536. <property name="font">
  537. <font>
  538. <family>Arial</family>
  539. <pointsize>18</pointsize>
  540. <weight>75</weight>
  541. <bold>true</bold>
  542. </font>
  543. </property>
  544. <property name="styleSheet">
  545. <string notr="true">QPushButton
  546. {
  547. background-color : #336699;
  548. border : none;
  549. color : white;
  550. margin: 5px;
  551. }
  552. QPushButton:hover
  553. {
  554. background-color : #009933;
  555. border : none;
  556. border-radius : 7px;
  557. color : white;
  558. margin: 5px;
  559. }
  560. </string>
  561. </property>
  562. <property name="text">
  563. <string>=</string>
  564. </property>
  565. <property name="flat">
  566. <bool>true</bool>
  567. </property>
  568. </widget>
  569. </item>
  570. <item row="2" column="3">
  571. <widget class="QPushButton" name="button_div">
  572. <property name="sizePolicy">
  573. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  574. <horstretch>0</horstretch>
  575. <verstretch>0</verstretch>
  576. </sizepolicy>
  577. </property>
  578. <property name="font">
  579. <font>
  580. <family>Arial</family>
  581. <pointsize>18</pointsize>
  582. <weight>75</weight>
  583. <bold>true</bold>
  584. </font>
  585. </property>
  586. <property name="styleSheet">
  587. <string notr="true">QPushButton
  588. {
  589. background-color : #336699;
  590. border : none;
  591. color : white;
  592. margin: 5px;
  593. }
  594. QPushButton:hover
  595. {
  596. background-color : #e65c00;
  597. border : none;
  598. border-radius : 7px;
  599. color : white;
  600. margin: 5px;
  601. }
  602. </string>
  603. </property>
  604. <property name="text">
  605. <string>/</string>
  606. </property>
  607. <property name="flat">
  608. <bool>true</bool>
  609. </property>
  610. </widget>
  611. </item>
  612. <item row="6" column="1">
  613. <widget class="QPushButton" name="button_0">
  614. <property name="sizePolicy">
  615. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  616. <horstretch>0</horstretch>
  617. <verstretch>0</verstretch>
  618. </sizepolicy>
  619. </property>
  620. <property name="font">
  621. <font>
  622. <family>Arial</family>
  623. <pointsize>18</pointsize>
  624. <weight>75</weight>
  625. <bold>true</bold>
  626. </font>
  627. </property>
  628. <property name="styleSheet">
  629. <string notr="true">QPushButton
  630. {
  631. background-color : #336699;
  632. border : none;
  633. color : white;
  634. margin: 5px;
  635. }
  636. QPushButton:hover
  637. {
  638. background-color : white;
  639. border : none;
  640. border-radius : 7px;
  641. color : black;
  642. margin: 5px;
  643. }
  644. </string>
  645. </property>
  646. <property name="text">
  647. <string>0</string>
  648. </property>
  649. <property name="flat">
  650. <bool>true</bool>
  651. </property>
  652. </widget>
  653. </item>
  654. <item row="3" column="1">
  655. <widget class="QPushButton" name="button_8">
  656. <property name="sizePolicy">
  657. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  658. <horstretch>0</horstretch>
  659. <verstretch>0</verstretch>
  660. </sizepolicy>
  661. </property>
  662. <property name="font">
  663. <font>
  664. <family>Arial</family>
  665. <pointsize>18</pointsize>
  666. <weight>75</weight>
  667. <bold>true</bold>
  668. </font>
  669. </property>
  670. <property name="styleSheet">
  671. <string notr="true">QPushButton
  672. {
  673. background-color : #336699;
  674. border : none;
  675. color : white;
  676. margin: 5px;
  677. }
  678. QPushButton:hover
  679. {
  680. background-color : white;
  681. border : none;
  682. border-radius : 7px;
  683. color : black;
  684. margin: 5px;
  685. }
  686. </string>
  687. </property>
  688. <property name="text">
  689. <string>8</string>
  690. </property>
  691. <property name="flat">
  692. <bool>true</bool>
  693. </property>
  694. </widget>
  695. </item>
  696. <item row="6" column="0">
  697. <widget class="QPushButton" name="button_dot">
  698. <property name="sizePolicy">
  699. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  700. <horstretch>0</horstretch>
  701. <verstretch>0</verstretch>
  702. </sizepolicy>
  703. </property>
  704. <property name="font">
  705. <font>
  706. <family>Arial</family>
  707. <pointsize>18</pointsize>
  708. <weight>75</weight>
  709. <bold>true</bold>
  710. </font>
  711. </property>
  712. <property name="styleSheet">
  713. <string notr="true">QPushButton
  714. {
  715. background-color : #336699;
  716. border : none;
  717. color : white;
  718. margin: 5px;
  719. }
  720. QPushButton:hover
  721. {
  722. background-color : white;
  723. border : none;
  724. border-radius : 7px;
  725. color : black;
  726. margin: 5px;
  727. }
  728. </string>
  729. </property>
  730. <property name="text">
  731. <string>.</string>
  732. </property>
  733. <property name="flat">
  734. <bool>true</bool>
  735. </property>
  736. </widget>
  737. </item>
  738. <item row="0" column="0" colspan="4">
  739. <widget class="QLabel" name="ans_label">
  740. <property name="font">
  741. <font>
  742. <family>Arial</family>
  743. <pointsize>15</pointsize>
  744. <weight>50</weight>
  745. <bold>false</bold>
  746. </font>
  747. </property>
  748. <property name="styleSheet">
  749. <string notr="true">background-color : white;
  750. border : none;
  751. padding: 7px;
  752. color : grey;</string>
  753. </property>
  754. <property name="text">
  755. <string/>
  756. </property>
  757. </widget>
  758. </item>
  759. <item row="5" column="3">
  760. <widget class="QPushButton" name="button_sub">
  761. <property name="sizePolicy">
  762. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  763. <horstretch>0</horstretch>
  764. <verstretch>0</verstretch>
  765. </sizepolicy>
  766. </property>
  767. <property name="font">
  768. <font>
  769. <family>Arial</family>
  770. <pointsize>18</pointsize>
  771. <weight>75</weight>
  772. <bold>true</bold>
  773. </font>
  774. </property>
  775. <property name="styleSheet">
  776. <string notr="true">QPushButton
  777. {
  778. background-color : #336699;
  779. border : none;
  780. color : white;
  781. margin: 5px;
  782. }
  783. QPushButton:hover
  784. {
  785. background-color : #e65c00;
  786. border : none;
  787. border-radius : 7px;
  788. color : white;
  789. margin: 5px;
  790. }
  791. </string>
  792. </property>
  793. <property name="text">
  794. <string>-</string>
  795. </property>
  796. <property name="flat">
  797. <bool>true</bool>
  798. </property>
  799. </widget>
  800. </item>
  801. <item row="2" column="1">
  802. <widget class="QPushButton" name="button_del">
  803. <property name="sizePolicy">
  804. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  805. <horstretch>0</horstretch>
  806. <verstretch>0</verstretch>
  807. </sizepolicy>
  808. </property>
  809. <property name="font">
  810. <font>
  811. <family>Arial</family>
  812. <pointsize>18</pointsize>
  813. <weight>75</weight>
  814. <bold>true</bold>
  815. </font>
  816. </property>
  817. <property name="toolTip">
  818. <string>Backspace</string>
  819. </property>
  820. <property name="styleSheet">
  821. <string notr="true">QPushButton
  822. {
  823. background-color : #336699;
  824. border : none;
  825. color : white;
  826. margin: 5px;
  827. }
  828. QPushButton:hover
  829. {
  830. background-color : #bd0f0f;
  831. border : none;
  832. border-radius : 7px;
  833. color : white;
  834. margin: 5px;
  835. }
  836. </string>
  837. </property>
  838. <property name="text">
  839. <string>Del</string>
  840. </property>
  841. <property name="flat">
  842. <bool>true</bool>
  843. </property>
  844. </widget>
  845. </item>
  846. <item row="6" column="3">
  847. <widget class="QPushButton" name="button_exp">
  848. <property name="sizePolicy">
  849. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  850. <horstretch>0</horstretch>
  851. <verstretch>0</verstretch>
  852. </sizepolicy>
  853. </property>
  854. <property name="font">
  855. <font>
  856. <family>Arial</family>
  857. <pointsize>18</pointsize>
  858. <weight>75</weight>
  859. <bold>true</bold>
  860. </font>
  861. </property>
  862. <property name="styleSheet">
  863. <string notr="true">QPushButton
  864. {
  865. background-color : #336699;
  866. border : none;
  867. color : white;
  868. margin: 5px;
  869. }
  870. QPushButton:hover
  871. {
  872. background-color : #e65c00;
  873. border : none;
  874. border-radius : 7px;
  875. color : white;
  876. margin: 5px;
  877. }
  878. </string>
  879. </property>
  880. <property name="text">
  881. <string>^</string>
  882. </property>
  883. <property name="flat">
  884. <bool>true</bool>
  885. </property>
  886. </widget>
  887. </item>
  888. <item row="4" column="2">
  889. <widget class="QPushButton" name="button_6">
  890. <property name="sizePolicy">
  891. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  892. <horstretch>0</horstretch>
  893. <verstretch>0</verstretch>
  894. </sizepolicy>
  895. </property>
  896. <property name="font">
  897. <font>
  898. <family>Arial</family>
  899. <pointsize>18</pointsize>
  900. <weight>75</weight>
  901. <bold>true</bold>
  902. </font>
  903. </property>
  904. <property name="styleSheet">
  905. <string notr="true">QPushButton
  906. {
  907. background-color : #336699;
  908. border : none;
  909. color : white;
  910. margin: 5px;
  911. }
  912. QPushButton:hover
  913. {
  914. background-color : white;
  915. border : none;
  916. border-radius : 7px;
  917. color : black;
  918. margin: 5px;
  919. }
  920. </string>
  921. </property>
  922. <property name="text">
  923. <string>6</string>
  924. </property>
  925. <property name="flat">
  926. <bool>true</bool>
  927. </property>
  928. </widget>
  929. </item>
  930. <item row="1" column="0" colspan="4">
  931. <widget class="QLabel" name="display">
  932. <property name="sizePolicy">
  933. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  934. <horstretch>0</horstretch>
  935. <verstretch>0</verstretch>
  936. </sizepolicy>
  937. </property>
  938. <property name="font">
  939. <font>
  940. <family>Arial</family>
  941. <pointsize>30</pointsize>
  942. <weight>50</weight>
  943. <bold>false</bold>
  944. </font>
  945. </property>
  946. <property name="styleSheet">
  947. <string notr="true">background-color: white;
  948. color : black;
  949. padding : 10px;</string>
  950. </property>
  951. <property name="text">
  952. <string>0</string>
  953. </property>
  954. <property name="alignment">
  955. <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>
  956. </property>
  957. </widget>
  958. </item>
  959. </layout>
  960. </item>
  961. </layout>
  962. </widget>
  963. </widget>
  964. <resources>
  965. <include location="../resources/Calculator.qrc"/>
  966. </resources>
  967. <connections/>
  968. </ui>