Merge lp:~brendan-donegan/checkbox/bug937113_test_selection_views into lp:checkbox

Proposed by Brendan Donegan
Status: Merged
Merged at revision: 1278
Proposed branch: lp:~brendan-donegan/checkbox/bug937113_test_selection_views
Merge into: lp:checkbox
Diff against target: 665 lines (+256/-209)
2 files modified
debian/changelog (+1/-0)
qt/frontend/qtfront.ui (+255/-209)
To merge this branch: bzr merge lp:~brendan-donegan/checkbox/bug937113_test_selection_views
Reviewer Review Type Date Requested Status
Marc Tardif (community) Approve
Review via email: mp+93939@code.launchpad.net

Description of the change

This branch increases the size of some of the views in Checkbox Qt. It also changes the color of the title pane to try and match the color used by the windows title bar.

To post a comment you must log in.
Revision history for this message
Marc Tardif (cr3) wrote :

The grey area at the top of the window seems to be darker in this branch:

http://people.canonical.com/~cr3/checkbox-937113-before.png
http://people.canonical.com/~cr3/checkbox-937113-after.png

Is this intentional?

review: Needs Information
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Yes, the intention is for the title bar to be a dark grey. This is supposed to be part of the design. I haven't really gotten the color right so if you want I can revert that particular aspect of the change.

Revision history for this message
Marc Tardif (cr3) wrote :

Following confirmation from Victor, looks good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-02-20 08:22:59 +0000
+++ debian/changelog 2012-02-21 09:14:17 +0000
@@ -8,6 +8,7 @@
88
9 [Brendan Donegan]9 [Brendan Donegan]
10 * Typo in command for for miscellanea/virtualization-check (LP: #934243)10 * Typo in command for for miscellanea/virtualization-check (LP: #934243)
11 * Resized test selection views in checkbox-qt (LP: #937113)
1112
12 -- Marc Tardif <marc@ubuntu.com> Thu, 16 Feb 2012 10:31:18 -050013 -- Marc Tardif <marc@ubuntu.com> Thu, 16 Feb 2012 10:31:18 -0500
1314
1415
=== modified file 'qt/frontend/qtfront.ui'
--- qt/frontend/qtfront.ui 2012-02-15 19:52:52 +0000
+++ qt/frontend/qtfront.ui 2012-02-21 09:14:17 +0000
@@ -47,7 +47,7 @@
47 <enum>QTabWidget::Rounded</enum>47 <enum>QTabWidget::Rounded</enum>
48 </property>48 </property>
49 <property name="currentIndex">49 <property name="currentIndex">
50 <number>0</number>50 <number>1</number>
51 </property>51 </property>
52 <widget class="QWidget" name="tabWelcome">52 <widget class="QWidget" name="tabWelcome">
53 <attribute name="title">53 <attribute name="title">
@@ -159,9 +159,9 @@
159 <property name="geometry">159 <property name="geometry">
160 <rect>160 <rect>
161 <x>30</x>161 <x>30</x>
162 <y>40</y>162 <y>10</y>
163 <width>571</width>163 <width>571</width>
164 <height>181</height>164 <height>261</height>
165 </rect>165 </rect>
166 </property>166 </property>
167 <property name="frameShape">167 <property name="frameShape">
@@ -178,7 +178,7 @@
178 <property name="geometry">178 <property name="geometry">
179 <rect>179 <rect>
180 <x>30</x>180 <x>30</x>
181 <y>230</y>181 <y>280</y>
182 <width>571</width>182 <width>571</width>
183 <height>31</height>183 <height>31</height>
184 </rect>184 </rect>
@@ -189,14 +189,14 @@
189 </font>189 </font>
190 </property>190 </property>
191 <property name="text">191 <property name="text">
192 <string>Ok</string>192 <string>OK</string>
193 </property>193 </property>
194 </widget>194 </widget>
195 <widget class="QCheckBox" name="checkBox">195 <widget class="QCheckBox" name="checkBox">
196 <property name="geometry">196 <property name="geometry">
197 <rect>197 <rect>
198 <x>310</x>198 <x>310</x>
199 <y>280</y>199 <y>320</y>
200 <width>321</width>200 <width>321</width>
201 <height>20</height>201 <height>20</height>
202 </rect>202 </rect>
@@ -246,8 +246,99 @@
246 <height>89</height>246 <height>89</height>
247 </size>247 </size>
248 </property>248 </property>
249 <property name="palette">
250 <palette>
251 <active>
252 <colorrole role="Button">
253 <brush brushstyle="SolidPattern">
254 <color alpha="255">
255 <red>73</red>
256 <green>73</green>
257 <blue>80</blue>
258 </color>
259 </brush>
260 </colorrole>
261 <colorrole role="Base">
262 <brush brushstyle="SolidPattern">
263 <color alpha="255">
264 <red>73</red>
265 <green>73</green>
266 <blue>80</blue>
267 </color>
268 </brush>
269 </colorrole>
270 <colorrole role="Window">
271 <brush brushstyle="SolidPattern">
272 <color alpha="255">
273 <red>73</red>
274 <green>73</green>
275 <blue>80</blue>
276 </color>
277 </brush>
278 </colorrole>
279 </active>
280 <inactive>
281 <colorrole role="Button">
282 <brush brushstyle="SolidPattern">
283 <color alpha="255">
284 <red>73</red>
285 <green>73</green>
286 <blue>80</blue>
287 </color>
288 </brush>
289 </colorrole>
290 <colorrole role="Base">
291 <brush brushstyle="SolidPattern">
292 <color alpha="255">
293 <red>73</red>
294 <green>73</green>
295 <blue>80</blue>
296 </color>
297 </brush>
298 </colorrole>
299 <colorrole role="Window">
300 <brush brushstyle="SolidPattern">
301 <color alpha="255">
302 <red>73</red>
303 <green>73</green>
304 <blue>80</blue>
305 </color>
306 </brush>
307 </colorrole>
308 </inactive>
309 <disabled>
310 <colorrole role="Button">
311 <brush brushstyle="SolidPattern">
312 <color alpha="255">
313 <red>73</red>
314 <green>73</green>
315 <blue>80</blue>
316 </color>
317 </brush>
318 </colorrole>
319 <colorrole role="Base">
320 <brush brushstyle="SolidPattern">
321 <color alpha="255">
322 <red>73</red>
323 <green>73</green>
324 <blue>80</blue>
325 </color>
326 </brush>
327 </colorrole>
328 <colorrole role="Window">
329 <brush brushstyle="SolidPattern">
330 <color alpha="255">
331 <red>73</red>
332 <green>73</green>
333 <blue>80</blue>
334 </color>
335 </brush>
336 </colorrole>
337 </disabled>
338 </palette>
339 </property>
249 <property name="styleSheet">340 <property name="styleSheet">
250 <string notr="true">background-color: #C2C7CB;</string>341 <string notr="true">background: #494950;</string>
251 </property>342 </property>
252 <widget class="QLabel" name="progressLabel">343 <widget class="QLabel" name="progressLabel">
253 <property name="geometry">344 <property name="geometry">
@@ -270,6 +361,13 @@
270 <pointsize>11</pointsize>361 <pointsize>11</pointsize>
271 </font>362 </font>
272 </property>363 </property>
364 <property name="autoFillBackground">
365 <bool>false</bool>
366 </property>
367 <property name="styleSheet">
368 <string notr="true">color: &quot;white&quot;;
369background: transparent;</string>
370 </property>
273 <property name="text">371 <property name="text">
274 <string>10 tests completed out of 30 (30%)</string>372 <string>10 tests completed out of 30 (30%)</string>
275 </property>373 </property>
@@ -279,10 +377,13 @@
279 <rect>377 <rect>
280 <x>50</x>378 <x>50</x>
281 <y>40</y>379 <y>40</y>
282 <width>118</width>380 <width>241</width>
283 <height>16</height>381 <height>16</height>
284 </rect>382 </rect>
285 </property>383 </property>
384 <property name="styleSheet">
385 <string notr="true"/>
386 </property>
286 <property name="minimum">387 <property name="minimum">
287 <number>0</number>388 <number>0</number>
288 </property>389 </property>
@@ -326,7 +427,7 @@
326 </property>427 </property>
327 <property name="styleSheet">428 <property name="styleSheet">
328 <string notr="true"> QTabWidget::pane#testsTab { /* The tab widget frame */429 <string notr="true"> QTabWidget::pane#testsTab { /* The tab widget frame */
329 border-top: 15 solid #C2C7CB;430 border-top: 15 solid #494950;
330 position: absolute;431 position: absolute;
331 top: -1.7em;432 top: -1.7em;
332 }433 }
@@ -342,14 +443,12 @@
342 min-width: 10ex;443 min-width: 10ex;
343 min-height: 3ex;444 min-height: 3ex;
344 padding: 0px;445 padding: 0px;
345 border-top-left-radius: 4px;446 border-radius: 4px;
346 border-top-right-radius: 4px;
347 border-bottom-left-radius: 4px;
348 border-bottom-right-radius: 4px;
349 }447 }
350448
351 QTabBar::tab:selected {449 QTabBar::tab:selected {
352 background: #C2C7CB;450 color: #FFFFFF;
451 background: #494950;
353 border-color: #000000;452 border-color: #000000;
354 border-bottom-color: #000000;453 border-bottom-color: #000000;
355 }</string>454 }</string>
@@ -358,7 +457,7 @@
358 <enum>QTabWidget::Rounded</enum>457 <enum>QTabWidget::Rounded</enum>
359 </property>458 </property>
360 <property name="currentIndex">459 <property name="currentIndex">
361 <number>1</number>460 <number>2</number>
362 </property>461 </property>
363 <widget class="QWidget" name="welcome">462 <widget class="QWidget" name="welcome">
364 <property name="font">463 <property name="font">
@@ -395,10 +494,10 @@
395 <widget class="Line" name="line">494 <widget class="Line" name="line">
396 <property name="geometry">495 <property name="geometry">
397 <rect>496 <rect>
398 <x>40</x>497 <x>10</x>
399 <y>60</y>498 <y>60</y>
400 <width>571</width>499 <width>601</width>
401 <height>16</height>500 <height>20</height>
402 </rect>501 </rect>
403 </property>502 </property>
404 <property name="orientation">503 <property name="orientation">
@@ -408,10 +507,10 @@
408 <widget class="Line" name="line_2">507 <widget class="Line" name="line_2">
409 <property name="geometry">508 <property name="geometry">
410 <rect>509 <rect>
411 <x>410</x>510 <x>390</x>
412 <y>40</y>511 <y>40</y>
413 <width>20</width>512 <width>20</width>
414 <height>211</height>513 <height>271</height>
415 </rect>514 </rect>
416 </property>515 </property>
417 <property name="orientation">516 <property name="orientation">
@@ -421,7 +520,7 @@
421 <widget class="QLabel" name="label_2">520 <widget class="QLabel" name="label_2">
422 <property name="geometry">521 <property name="geometry">
423 <rect>522 <rect>
424 <x>50</x>523 <x>10</x>
425 <y>50</y>524 <y>50</y>
426 <width>101</width>525 <width>101</width>
427 <height>17</height>526 <height>17</height>
@@ -434,7 +533,7 @@
434 <widget class="QLabel" name="label_3">533 <widget class="QLabel" name="label_3">
435 <property name="geometry">534 <property name="geometry">
436 <rect>535 <rect>
437 <x>430</x>536 <x>410</x>
438 <y>50</y>537 <y>50</y>
439 <width>67</width>538 <width>67</width>
440 <height>17</height>539 <height>17</height>
@@ -450,10 +549,10 @@
450 </property>549 </property>
451 <property name="geometry">550 <property name="geometry">
452 <rect>551 <rect>
453 <x>430</x>552 <x>410</x>
454 <y>80</y>553 <y>80</y>
455 <width>181</width>554 <width>201</width>
456 <height>171</height>555 <height>231</height>
457 </rect>556 </rect>
458 </property>557 </property>
459 <property name="palette">558 <property name="palette">
@@ -515,10 +614,10 @@
515 <widget class="QTreeView" name="treeView">614 <widget class="QTreeView" name="treeView">
516 <property name="geometry">615 <property name="geometry">
517 <rect>616 <rect>
518 <x>50</x>617 <x>10</x>
519 <y>80</y>618 <y>80</y>
520 <width>361</width>619 <width>381</width>
521 <height>171</height>620 <height>231</height>
522 </rect>621 </rect>
523 </property>622 </property>
524 <property name="frameShape">623 <property name="frameShape">
@@ -543,9 +642,9 @@
543 </property>642 </property>
544 <property name="geometry">643 <property name="geometry">
545 <rect>644 <rect>
546 <x>430</x>645 <x>410</x>
547 <y>260</y>646 <y>320</y>
548 <width>181</width>647 <width>201</width>
549 <height>27</height>648 <height>27</height>
550 </rect>649 </rect>
551 </property>650 </property>
@@ -592,12 +691,12 @@
592 <number>0</number>691 <number>0</number>
593 </property>692 </property>
594 <item>693 <item>
595 <layout class="QVBoxLayout" name="verticalLayout_2">694 <layout class="QVBoxLayout" name="testVLayout">
596 <property name="spacing">695 <property name="spacing">
597 <number>0</number>696 <number>0</number>
598 </property>697 </property>
599 <item>698 <item>
600 <widget class="QWidget" name="widget_2" native="true">699 <widget class="QFrame" name="titleFrame">
601 <property name="sizePolicy">700 <property name="sizePolicy">
602 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">701 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
603 <horstretch>0</horstretch>702 <horstretch>0</horstretch>
@@ -613,31 +712,49 @@
613 <widget class="QLabel" name="testTypeLabel">712 <widget class="QLabel" name="testTypeLabel">
614 <property name="geometry">713 <property name="geometry">
615 <rect>714 <rect>
616 <x>20</x>715 <x>10</x>
617 <y>6</y>716 <y>0</y>
618 <width>291</width>717 <width>611</width>
619 <height>31</height>718 <height>25</height>
620 </rect>719 </rect>
621 </property>720 </property>
721 <property name="sizePolicy">
722 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
723 <horstretch>0</horstretch>
724 <verstretch>0</verstretch>
725 </sizepolicy>
726 </property>
622 <property name="font">727 <property name="font">
623 <font>728 <font>
624 <family>Ubuntu</family>729 <family>Ubuntu</family>
625 <pointsize>17</pointsize>730 <pointsize>16</pointsize>
626 </font>731 </font>
627 </property>732 </property>
628 <property name="text">733 <property name="text">
629 <string>TextLabel</string>734 <string>TextLabel</string>
630 </property>735 </property>
736 <property name="alignment">
737 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
738 </property>
739 <property name="wordWrap">
740 <bool>true</bool>
741 </property>
631 </widget>742 </widget>
632 <widget class="QLabel" name="purposeLabel">743 <widget class="QLabel" name="purposeLabel">
633 <property name="geometry">744 <property name="geometry">
634 <rect>745 <rect>
635 <x>30</x>746 <x>10</x>
636 <y>35</y>747 <y>30</y>
637 <width>591</width>748 <width>611</width>
638 <height>21</height>749 <height>21</height>
639 </rect>750 </rect>
640 </property>751 </property>
752 <property name="sizePolicy">
753 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
754 <horstretch>0</horstretch>
755 <verstretch>0</verstretch>
756 </sizepolicy>
757 </property>
641 <property name="font">758 <property name="font">
642 <font>759 <font>
643 <family>Ubuntu</family>760 <family>Ubuntu</family>
@@ -650,180 +767,109 @@
650 <property name="text">767 <property name="text">
651 <string>TextLabel</string>768 <string>TextLabel</string>
652 </property>769 </property>
770 <property name="alignment">
771 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
772 </property>
773 <property name="wordWrap">
774 <bool>true</bool>
775 </property>
653 </widget>776 </widget>
654 </widget>777 </widget>
655 </item>778 </item>
656 <item>779 <item>
657 <widget class="QWidget" name="widget_3" native="true">780 <widget class="QFrame" name="testFrame">
658 <layout class="QHBoxLayout" name="horizontalLayout_6">781 <layout class="QHBoxLayout" name="horizontalLayout_3">
659 <property name="spacing">782 <item>
660 <number>0</number>783 <widget class="QFrame" name="stepsFrame">
661 </property>784 <property name="sizePolicy">
662 <property name="margin">785 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
663 <number>0</number>786 <horstretch>30</horstretch>
664 </property>787 <verstretch>30</verstretch>
665 <item>788 </sizepolicy>
666 <layout class="QHBoxLayout" name="horizontalLayout_3">789 </property>
667 <property name="spacing">790 <property name="minimumSize">
791 <size>
792 <width>0</width>
793 <height>0</height>
794 </size>
795 </property>
796 <property name="sizeIncrement">
797 <size>
798 <width>0</width>
799 <height>0</height>
800 </size>
801 </property>
802 <property name="autoFillBackground">
803 <bool>false</bool>
804 </property>
805 <property name="frameShape">
806 <enum>QFrame::Box</enum>
807 </property>
808 <property name="frameShadow">
809 <enum>QFrame::Plain</enum>
810 </property>
811 <property name="lineWidth">
812 <number>1</number>
813 </property>
814 </widget>
815 </item>
816 <item>
817 <widget class="QFrame" name="testButtonsFrame">
818 <property name="sizePolicy">
819 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
820 <horstretch>6</horstretch>
821 <verstretch>0</verstretch>
822 </sizepolicy>
823 </property>
824 <property name="frameShape">
825 <enum>QFrame::NoFrame</enum>
826 </property>
827 <property name="frameShadow">
828 <enum>QFrame::Plain</enum>
829 </property>
830 <property name="lineWidth">
668 <number>0</number>831 <number>0</number>
669 </property>832 </property>
670 <item>833 <widget class="QPushButton" name="yesTestButton">
671 <widget class="QWidget" name="widget_5" native="true">834 <property name="geometry">
672 <property name="sizePolicy">835 <rect>
673 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">836 <x>10</x>
674 <horstretch>0</horstretch>837 <y>0</y>
675 <verstretch>0</verstretch>838 <width>85</width>
676 </sizepolicy>839 <height>27</height>
677 </property>840 </rect>
678 <layout class="QHBoxLayout" name="horizontalLayout_8">841 </property>
679 <property name="spacing">842 <property name="text">
680 <number>0</number>843 <string>Yes</string>
681 </property>844 </property>
682 <property name="margin">845 </widget>
683 <number>0</number>846 <widget class="QPushButton" name="testTestButton">
684 </property>847 <property name="geometry">
685 <item>848 <rect>
686 <widget class="QScrollArea" name="scrollArea">849 <x>10</x>
687 <property name="sizePolicy">850 <y>40</y>
688 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">851 <width>85</width>
689 <horstretch>0</horstretch>852 <height>27</height>
690 <verstretch>0</verstretch>853 </rect>
691 </sizepolicy>854 </property>
692 </property>855 <property name="text">
693 <property name="frameShape">856 <string>Test</string>
694 <enum>QFrame::NoFrame</enum>857 </property>
695 </property>858 </widget>
696 <property name="frameShadow">859 <widget class="QPushButton" name="noTestButton">
697 <enum>QFrame::Plain</enum>860 <property name="geometry">
698 </property>861 <rect>
699 <property name="lineWidth">862 <x>10</x>
700 <number>0</number>863 <y>80</y>
701 </property>864 <width>85</width>
702 <property name="verticalScrollBarPolicy">865 <height>27</height>
703 <enum>Qt::ScrollBarAsNeeded</enum>866 </rect>
704 </property>867 </property>
705 <property name="horizontalScrollBarPolicy">868 <property name="text">
706 <enum>Qt::ScrollBarAsNeeded</enum>869 <string>No</string>
707 </property>870 </property>
708 <property name="widgetResizable">871 </widget>
709 <bool>true</bool>872 </widget>
710 </property>
711 <widget class="QWidget" name="scrollAreaWidgetContents">
712 <property name="geometry">
713 <rect>
714 <x>0</x>
715 <y>0</y>
716 <width>85</width>
717 <height>178</height>
718 </rect>
719 </property>
720 <layout class="QVBoxLayout" name="verticalLayout_9">
721 <property name="spacing">
722 <number>0</number>
723 </property>
724 <property name="sizeConstraint">
725 <enum>QLayout::SetDefaultConstraint</enum>
726 </property>
727 <property name="margin">
728 <number>0</number>
729 </property>
730 <item>
731 <widget class="QFrame" name="stepsFrame">
732 <property name="sizePolicy">
733 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
734 <horstretch>0</horstretch>
735 <verstretch>0</verstretch>
736 </sizepolicy>
737 </property>
738 <property name="minimumSize">
739 <size>
740 <width>0</width>
741 <height>178</height>
742 </size>
743 </property>
744 <property name="sizeIncrement">
745 <size>
746 <width>0</width>
747 <height>0</height>
748 </size>
749 </property>
750 <property name="autoFillBackground">
751 <bool>false</bool>
752 </property>
753 <property name="frameShape">
754 <enum>QFrame::Box</enum>
755 </property>
756 <property name="frameShadow">
757 <enum>QFrame::Plain</enum>
758 </property>
759 <property name="lineWidth">
760 <number>1</number>
761 </property>
762 </widget>
763 </item>
764 </layout>
765 </widget>
766 </widget>
767 </item>
768 </layout>
769 </widget>
770 </item>
771 <item>
772 <widget class="QWidget" name="widget_4" native="true">
773 <property name="sizePolicy">
774 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
775 <horstretch>0</horstretch>
776 <verstretch>0</verstretch>
777 </sizepolicy>
778 </property>
779 <property name="minimumSize">
780 <size>
781 <width>150</width>
782 <height>0</height>
783 </size>
784 </property>
785 <widget class="QPushButton" name="testTestButton">
786 <property name="geometry">
787 <rect>
788 <x>30</x>
789 <y>70</y>
790 <width>80</width>
791 <height>25</height>
792 </rect>
793 </property>
794 <property name="text">
795 <string>Test</string>
796 </property>
797 </widget>
798 <widget class="QPushButton" name="yesTestButton">
799 <property name="geometry">
800 <rect>
801 <x>30</x>
802 <y>110</y>
803 <width>80</width>
804 <height>25</height>
805 </rect>
806 </property>
807 <property name="text">
808 <string>Yes</string>
809 </property>
810 </widget>
811 <widget class="QPushButton" name="noTestButton">
812 <property name="geometry">
813 <rect>
814 <x>30</x>
815 <y>150</y>
816 <width>80</width>
817 <height>25</height>
818 </rect>
819 </property>
820 <property name="text">
821 <string>No</string>
822 </property>
823 </widget>
824 </widget>
825 </item>
826 </layout>
827 </item>873 </item>
828 </layout>874 </layout>
829 </widget>875 </widget>

Subscribers

People subscribed via source and target branches