Tweak the Astro Window layout.

This commit is contained in:
Joe Taylor 2024-01-05 13:17:51 -05:00
parent bb4564f734
commit d594d14a1e
2 changed files with 35 additions and 17 deletions

View File

@ -83,7 +83,7 @@ void Astro::astroUpdate(QDateTime t, QString mygrid, QString azelDir, double xav
"Dgrd: %6.1f", "Dgrd: %6.1f",
azmoon,elmoon,ndop00,decmoon,azsun,elsun, azmoon,elmoon,ndop00,decmoon,azsun,elsun,
nfreq,ntsky,xnr,dgrd); nfreq,ntsky,xnr,dgrd);
ui->astroTextBrowser->setText(" "+ date + "\nUTC: " + utc + "\n" + cc); ui->astroTextBrowser->setText(" "+ date + "\nUTC: " + utc + "\n" + cc);
double azOffset=0.0; double azOffset=0.0;
double elOffset=0.0; double elOffset=0.0;

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>441</width> <width>431</width>
<height>483</height> <height>393</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -19,7 +19,7 @@
<x>269</x> <x>269</x>
<y>19</y> <y>19</y>
<width>151</width> <width>151</width>
<height>431</height> <height>361</height>
</rect> </rect>
</property> </property>
<property name="title"> <property name="title">
@ -29,7 +29,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>100</y> <y>70</y>
<width>30</width> <width>30</width>
<height>17</height> <height>17</height>
</rect> </rect>
@ -42,7 +42,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>60</x> <x>60</x>
<y>100</y> <y>70</y>
<width>40</width> <width>40</width>
<height>17</height> <height>17</height>
</rect> </rect>
@ -58,7 +58,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>110</x> <x>110</x>
<y>100</y> <y>70</y>
<width>30</width> <width>30</width>
<height>17</height> <height>17</height>
</rect> </rect>
@ -71,7 +71,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>60</x> <x>60</x>
<y>150</y> <y>120</y>
<width>30</width> <width>30</width>
<height>17</height> <height>17</height>
</rect> </rect>
@ -84,7 +84,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>60</x> <x>60</x>
<y>50</y> <y>20</y>
<width>30</width> <width>30</width>
<height>17</height> <height>17</height>
</rect> </rect>
@ -97,7 +97,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>230</y> <y>180</y>
<width>130</width> <width>130</width>
<height>22</height> <height>22</height>
</rect> </rect>
@ -131,7 +131,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>30</x> <x>30</x>
<y>330</y> <y>260</y>
<width>91</width> <width>91</width>
<height>17</height> <height>17</height>
</rect> </rect>
@ -144,7 +144,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>30</x> <x>30</x>
<y>380</y> <y>300</y>
<width>70</width> <width>70</width>
<height>17</height> <height>17</height>
</rect> </rect>
@ -157,7 +157,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>280</y> <y>220</y>
<width>130</width> <width>130</width>
<height>22</height> <height>22</height>
</rect> </rect>
@ -188,12 +188,30 @@
<x>0</x> <x>0</x>
<y>10</y> <y>10</y>
<width>258</width> <width>258</width>
<height>471</height> <height>371</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QTextBrowser" name="astroTextBrowser"> <widget class="QTextBrowser" name="astroTextBrowser">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>325</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<family>Courier New</family> <family>Courier New</family>
@ -207,7 +225,7 @@
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<spacer name="horizontalSpacer_2"> <spacer name="horizontalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
@ -227,7 +245,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
@ -252,7 +270,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>90</height> <height>10</height>
</size> </size>
</property> </property>
</spacer> </spacer>