Commit 89363d26 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Minor improvements to option dialogs to conserve space

parent 7d34e52f
......@@ -22,7 +22,7 @@
#include "ekosmanager.h"
OpsEkos::OpsEkos()
: QFrame( KStars::Instance() )
: QTabWidget( KStars::Instance() )
{
setupUi(this);
......
......@@ -22,7 +22,7 @@ class KConfigDialog;
*
* @author Jasem Mutlaq
*/
class OpsEkos : public QFrame, public Ui::OpsEkos
class OpsEkos : public QTabWidget, public Ui::OpsEkos
{
Q_OBJECT
......
This diff is collapsed.
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>352</width>
<height>435</height>
<width>435</width>
<height>337</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
......@@ -135,74 +135,81 @@
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="autoGroup">
<property name="toolTip">
<string>Select time and location synchronization settings between KStars and INDI Devices</string>
</property>
<property name="title">
<string>Device Updates</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QRadioButton" name="kcfg_useComputerSource">
<property name="toolTip">
<string>Sync the device to the computer's time and location settings</string>
</property>
<property name="text">
<string>Co&amp;mputer</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="kcfg_useDeviceSource">
<property name="toolTip">
<string>Sync the computer to the device's time and location settings</string>
</property>
<property name="text">
<string>De&amp;vice</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_useTimeUpdate">
<property name="toolTip">
<string>Enable time synchronization upon connection</string>
</property>
<property name="whatsThis">
<string>Synchronize KStars date and time automatically from the update source.</string>
</property>
<property name="text">
<string>Time</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_useGeographicUpdate">
<property name="toolTip">
<string>Enable geographic location synchronization upon connection</string>
</property>
<property name="whatsThis">
<string>Synchronize KStars location settings from the update source</string>
</property>
<property name="text">
<string>&amp;Geographic location</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QRadioButton" name="kcfg_useComputerSource">
<property name="toolTip">
<string>Sync the device to the computer's time and location settings</string>
</property>
<property name="text">
<string>Co&amp;mputer</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="2">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="kcfg_useTimeUpdate">
<property name="toolTip">
<string>Enable time synchronization upon connection between KStars and INDI</string>
</property>
<property name="whatsThis">
<string>Synchronize KStars date and time automatically from the update source.</string>
</property>
<property name="text">
<string>Time</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="kcfg_useDeviceSource">
<property name="toolTip">
<string>Sync the computer to the device's time and location settings</string>
</property>
<property name="text">
<string>De&amp;vice</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="kcfg_useGeographicUpdate">
<property name="toolTip">
<string>Enable geographic location synchronization upon connection between KStars and INDI</string>
</property>
<property name="whatsThis">
<string>Synchronize KStars location settings from the update source</string>
</property>
<property name="text">
<string>&amp;Geographic location</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_2">
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment