Skip to content

Commit

Permalink
SetupWizard: use TAsideLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
gperciva committed Nov 20, 2023
1 parent ba9c373 commit ead7b0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 48 deletions.
30 changes: 6 additions & 24 deletions forms/setupwizard_intro.ui
Original file line number Diff line number Diff line change
Expand Up @@ -82,33 +82,10 @@
</spacer>
</item>
<item>
<widget class="QLabel" name="asideLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<italic>true</italic>
</font>
</property>
<property name="styleSheet">
<string notr="true">QLabel {
margin-left: 0.125em;
border-width: 0 0 0 0.1em;
border-style: solid;
border-color: &quot;#999&quot;;
padding-left: 0.25em;
}</string>
</property>
<widget class="TAsideLabel" name="tasidelabel">
<property name="text">
<string>You can also skip this wizard and set up everything inside the application.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -154,6 +131,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>TAsideLabel</class>
<extends>QLabel</extends>
<header>TAsideLabel.h</header>
</customwidget>
<customwidget>
<class>TWizardPage</class>
<extends>QWidget</extends>
Expand Down
30 changes: 6 additions & 24 deletions forms/setupwizard_register.ui
Original file line number Diff line number Diff line change
Expand Up @@ -57,33 +57,10 @@
</widget>
</item>
<item>
<widget class="QLabel" name="registerPageInfoLabelAside">
<property name="minimumSize">
<size>
<width>0</width>
<height>17</height>
</size>
</property>
<property name="font">
<font>
<italic>true</italic>
</font>
</property>
<property name="styleSheet">
<string notr="true">QLabel {
margin-left: 0.125em;
border-width: 0 0 0 0.1em;
border-style: solid;
border-color: &quot;#999&quot;;
padding-left: 0.25em;
}</string>
</property>
<widget class="TAsideLabel" name="tasidelabel">
<property name="text">
<string>Don't have an account? Register on &lt;a href=&quot;http://tarsnap.com&quot;&gt;tarsnap.com&lt;/a&gt;.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
Expand Down Expand Up @@ -418,6 +395,11 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>TAsideLabel</class>
<extends>QLabel</extends>
<header>TAsideLabel.h</header>
</customwidget>
<customwidget>
<class>TBusyLabel</class>
<extends>QLabel</extends>
Expand Down

0 comments on commit ead7b0d

Please sign in to comment.