|
30 | 30 | <number>0</number> |
31 | 31 | </property> |
32 | 32 | <item> |
33 | | - <widget class="BarFrame" name="TitleBar"> |
34 | | - <property name="minimumSize"> |
35 | | - <size> |
36 | | - <width>0</width> |
37 | | - <height>25</height> |
38 | | - </size> |
39 | | - </property> |
40 | | - <property name="maximumSize"> |
41 | | - <size> |
42 | | - <width>16777215</width> |
43 | | - <height>30</height> |
44 | | - </size> |
45 | | - </property> |
46 | | - <property name="frameShape"> |
47 | | - <enum>QFrame::StyledPanel</enum> |
48 | | - </property> |
49 | | - <property name="frameShadow"> |
50 | | - <enum>QFrame::Raised</enum> |
51 | | - </property> |
52 | | - <layout class="QHBoxLayout" name="horizontalLayout"> |
53 | | - <property name="spacing"> |
54 | | - <number>0</number> |
55 | | - </property> |
56 | | - <property name="leftMargin"> |
57 | | - <number>0</number> |
58 | | - </property> |
59 | | - <property name="topMargin"> |
60 | | - <number>0</number> |
61 | | - </property> |
62 | | - <property name="rightMargin"> |
63 | | - <number>4</number> |
64 | | - </property> |
65 | | - <property name="bottomMargin"> |
66 | | - <number>0</number> |
67 | | - </property> |
68 | | - <item> |
69 | | - <spacer name="horizontalSpacer"> |
70 | | - <property name="orientation"> |
71 | | - <enum>Qt::Horizontal</enum> |
72 | | - </property> |
73 | | - <property name="sizeHint" stdset="0"> |
74 | | - <size> |
75 | | - <width>235</width> |
76 | | - <height>20</height> |
77 | | - </size> |
78 | | - </property> |
79 | | - </spacer> |
80 | | - </item> |
81 | | - <item> |
82 | | - <widget class="QLabel" name="stelWindowTitle"> |
83 | | - <property name="text"> |
| 33 | + <widget class="TitleBar" name="titleBar"> |
| 34 | + <property name="title" stdset="0"> |
84 | 35 | <string>Planes Configuration</string> |
85 | | - </property> |
86 | | - </widget> |
87 | | - </item> |
88 | | - <item> |
89 | | - <spacer name="horizontalSpacer_2"> |
90 | | - <property name="orientation"> |
91 | | - <enum>Qt::Horizontal</enum> |
92 | | - </property> |
93 | | - <property name="sizeHint" stdset="0"> |
94 | | - <size> |
95 | | - <width>235</width> |
96 | | - <height>20</height> |
97 | | - </size> |
98 | | - </property> |
99 | | - </spacer> |
100 | | - </item> |
101 | | - <item> |
102 | | - <widget class="StelCloseButton" name="closeStelWindow"> |
103 | | - <property name="minimumSize"> |
104 | | - <size> |
105 | | - <width>16</width> |
106 | | - <height>16</height> |
107 | | - </size> |
108 | | - </property> |
109 | | - <property name="maximumSize"> |
110 | | - <size> |
111 | | - <width>16</width> |
112 | | - <height>16</height> |
113 | | - </size> |
114 | | - </property> |
115 | | - <property name="focusPolicy"> |
116 | | - <enum>Qt::NoFocus</enum> |
117 | | - </property> |
118 | | - <property name="text"> |
119 | | - <string/> |
120 | | - </property> |
121 | | - </widget> |
122 | | - </item> |
123 | | - </layout> |
| 36 | + </property> |
124 | 37 | </widget> |
125 | 38 | </item> |
126 | 39 | <item> |
@@ -715,9 +628,9 @@ to the right</string> |
715 | 628 | </property> |
716 | 629 | <layout class="QGridLayout" name="gridLayout_3"> |
717 | 630 | <item row="0" column="0"> |
718 | | - <widget class="QToolButton" name="infoTextColorButton"> |
719 | | - <property name="text"> |
720 | | - <string/> |
| 631 | + <widget class="ColorButton" name="infoTextColorButton"> |
| 632 | + <property name="toolTip"> |
| 633 | + <string>Color for info text</string> |
721 | 634 | </property> |
722 | 635 | </widget> |
723 | 636 | </item> |
@@ -760,16 +673,16 @@ li.checked::marker { content: "\2612"; } |
760 | 673 | </widget> |
761 | 674 | <customwidgets> |
762 | 675 | <customwidget> |
763 | | - <class>BarFrame</class> |
| 676 | + <class>TitleBar</class> |
764 | 677 | <extends>QFrame</extends> |
765 | 678 | <header>Dialog.hpp</header> |
766 | 679 | <container>1</container> |
767 | 680 | </customwidget> |
768 | | - <customwidget> |
769 | | - <class>StelCloseButton</class> |
770 | | - <extends>QPushButton</extends> |
771 | | - <header>gui/StelCloseButton.hpp</header> |
772 | | - </customwidget> |
| 681 | + <customwidget> |
| 682 | + <class>ColorButton</class> |
| 683 | + <extends>QToolButton</extends> |
| 684 | + <header>gui/ColorButton.hpp</header> |
| 685 | + </customwidget> |
773 | 686 | </customwidgets> |
774 | 687 | <tabstops> |
775 | 688 | <tabstop>Tabs</tabstop> |
|
0 commit comments