Skip to content

Commit 942b816

Browse files
committed
Fixed edit button
1 parent d2fe362 commit 942b816

File tree

1 file changed

+37
-12
lines changed

1 file changed

+37
-12
lines changed

plugins/SkyCultureMaker/src/gui/scmSkyCultureDialog.ui

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
</sizepolicy>
5858
</property>
5959
<property name="frameShape">
60-
<enum>QFrame::StyledPanel</enum>
60+
<enum>QFrame::Shape::StyledPanel</enum>
6161
</property>
6262
<layout class="QVBoxLayout" name="verticalLayout_3">
6363
<property name="spacing">
@@ -130,10 +130,13 @@
130130
</property>
131131
<property name="html">
132132
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
133-
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
133+
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
134134
p, li { white-space: pre-wrap; }
135-
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
136-
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
135+
hr { height: 1px; border-width: 0; }
136+
li.unchecked::marker { content: &quot;\2610&quot;; }
137+
li.checked::marker { content: &quot;\2612&quot;; }
138+
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Segoe UI'; font-size:14pt; font-weight:400; font-style:normal;&quot;&gt;
139+
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'.AppleSystemUIFont';&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
137140
</property>
138141
<property name="acceptRichText">
139142
<bool>false</bool>
@@ -182,6 +185,12 @@ p, li { white-space: pre-wrap; }
182185
<layout class="QHBoxLayout" name="overviewConstellationBtnLayout">
183186
<item>
184187
<widget class="QPushButton" name="AddConstellationBtn">
188+
<property name="sizePolicy">
189+
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
190+
<horstretch>0</horstretch>
191+
<verstretch>0</verstretch>
192+
</sizepolicy>
193+
</property>
185194
<property name="minimumSize">
186195
<size>
187196
<width>100</width>
@@ -200,19 +209,36 @@ p, li { white-space: pre-wrap; }
200209
</item>
201210
<item>
202211
<widget class="QPushButton" name="EditConstellationBtn">
212+
<property name="sizePolicy">
213+
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
214+
<horstretch>0</horstretch>
215+
<verstretch>0</verstretch>
216+
</sizepolicy>
217+
</property>
203218
<property name="minimumSize">
204219
<size>
205220
<width>100</width>
206221
<height>0</height>
207222
</size>
208223
</property>
224+
<property name="font">
225+
<font>
226+
<pointsize>13</pointsize>
227+
</font>
228+
</property>
209229
<property name="text">
210230
<string>Edit</string>
211231
</property>
212232
</widget>
213233
</item>
214234
<item>
215235
<widget class="QPushButton" name="RemoveConstellationBtn">
236+
<property name="sizePolicy">
237+
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
238+
<horstretch>0</horstretch>
239+
<verstretch>0</verstretch>
240+
</sizepolicy>
241+
</property>
216242
<property name="minimumSize">
217243
<size>
218244
<width>100</width>
@@ -250,7 +276,7 @@ p, li { white-space: pre-wrap; }
250276
<string>License of the Sky Culture</string>
251277
</property>
252278
<property name="alignment">
253-
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
279+
<set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter</set>
254280
</property>
255281
</widget>
256282
</item>
@@ -306,8 +332,8 @@ p, li { white-space: pre-wrap; }
306332
<rect>
307333
<x>0</x>
308334
<y>0</y>
309-
<width>368</width>
310-
<height>1520</height>
335+
<width>187</width>
336+
<height>1465</height>
311337
</rect>
312338
</property>
313339
<layout class="QVBoxLayout" name="descriptionLayout">
@@ -406,7 +432,7 @@ p, li { white-space: pre-wrap; }
406432
<cursorShape>WhatsThisCursor</cursorShape>
407433
</property>
408434
<property name="contextMenuPolicy">
409-
<enum>Qt::NoContextMenu</enum>
435+
<enum>Qt::ContextMenuPolicy::NoContextMenu</enum>
410436
</property>
411437
<property name="toolTip">
412438
<string>what can the User see here</string>
@@ -589,7 +615,7 @@ p, li { white-space: pre-wrap; }
589615
<item>
590616
<spacer name="horizontalSpacerLeft">
591617
<property name="orientation">
592-
<enum>Qt::Horizontal</enum>
618+
<enum>Qt::Orientation::Horizontal</enum>
593619
</property>
594620
<property name="sizeHint" stdset="0">
595621
<size>
@@ -603,15 +629,14 @@ p, li { white-space: pre-wrap; }
603629
<widget class="QLabel" name="infoLbl">
604630
<property name="font">
605631
<font>
606-
<weight>75</weight>
607632
<bold>true</bold>
608633
</font>
609634
</property>
610635
<property name="text">
611636
<string/>
612637
</property>
613638
<property name="alignment">
614-
<set>Qt::AlignCenter</set>
639+
<set>Qt::AlignmentFlag::AlignCenter</set>
615640
</property>
616641
<property name="wordWrap">
617642
<bool>true</bool>
@@ -621,7 +646,7 @@ p, li { white-space: pre-wrap; }
621646
<item>
622647
<spacer name="horizontalSpacerRight">
623648
<property name="orientation">
624-
<enum>Qt::Horizontal</enum>
649+
<enum>Qt::Orientation::Horizontal</enum>
625650
</property>
626651
<property name="sizeHint" stdset="0">
627652
<size>

0 commit comments

Comments
 (0)