Close #14 Make font customizable. Also manage user settings via a settings.json
file. Also improve 'dark' and 'elegant_dark' themes. Finally improve 'Signal's wiki' button behaviour. Also fix a bug in forecast/now view which caused a crash if solar activity was inactive
This commit is contained in:
@@ -1255,7 +1255,7 @@
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_17">
|
||||
<item>
|
||||
<widget class="QPushButton" name="url_button">
|
||||
<widget class="UrlButton" name="url_button">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
@@ -6949,7 +6949,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -6977,7 +6979,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -7005,7 +7009,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -7033,7 +7039,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -7061,7 +7069,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -7092,7 +7102,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -7120,7 +7132,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -7148,7 +7162,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -7176,7 +7192,9 @@ STORM</string>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>13</pointsize>
|
||||
<weight>75</weight>
|
||||
<italic>false</italic>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
@@ -9516,11 +9534,6 @@ QSlider::handle:horizontal {
|
||||
<addaction name="action_update_database"/>
|
||||
<addaction name="action_check_software_version"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_themes">
|
||||
<property name="title">
|
||||
<string>Themes</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuSigidwiki">
|
||||
<property name="title">
|
||||
<string>Sigidwiki</string>
|
||||
@@ -9537,10 +9550,16 @@ QSlider::handle:horizontal {
|
||||
<addaction name="action_rtl_sdr_com"/>
|
||||
<addaction name="action_github"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="settings_menu">
|
||||
<property name="title">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<addaction name="action_font"/>
|
||||
</widget>
|
||||
<addaction name="menuFile"/>
|
||||
<addaction name="menuUpdates"/>
|
||||
<addaction name="menu_themes"/>
|
||||
<addaction name="menuSigidwiki"/>
|
||||
<addaction name="settings_menu"/>
|
||||
<addaction name="menuAbout"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar">
|
||||
@@ -9598,6 +9617,21 @@ QSlider::handle:horizontal {
|
||||
<string>Check software version</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_themes">
|
||||
<property name="text">
|
||||
<string>Themes</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_font">
|
||||
<property name="text">
|
||||
<string>Font...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionThemes">
|
||||
<property name="text">
|
||||
<string>Themes</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
@@ -9636,6 +9670,11 @@ QSlider::handle:horizontal {
|
||||
<extends>QLabel</extends>
|
||||
<header>switchable_label.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>UrlButton</class>
|
||||
<extends>QPushButton</extends>
|
||||
<header>urlbutton.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="default_imgs.qrc"/>
|
||||
|
||||
Reference in New Issue
Block a user