[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kstars/bleeding] kstars/ekos: Make profile images scalable without keeping aspect ratio,
From:       Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date:       2016-09-30 20:38:34
Message-ID: E1bq4Zm-00030p-JY () code ! kde ! org
[Download RAW message or body]

Git commit 18580ad8f114a018cdc5f5b8aed4edf151641cd3 by Jasem Mutlaq.
Committed on 30/09/2016 at 10:18.
Pushed by mutlaqja into branch 'bleeding'.

Make profile images scalable without keeping aspect ratio, keep star images \
expandable with aspect ratio set. Use icons for Ekos options

M  +16   -40   kstars/ekos/ekosmanager.cpp
M  +6    -6    kstars/ekos/ekosmanager.h
M  +1011 -101  kstars/ekos/ekosmanager.ui

http://commits.kde.org/kstars/18580ad8f114a018cdc5f5b8aed4edf151641cd3

diff --git a/kstars/ekos/ekosmanager.cpp b/kstars/ekos/ekosmanager.cpp
index c1ebae3..c2baf86 100644
--- a/kstars/ekos/ekosmanager.cpp
+++ b/kstars/ekos/ekosmanager.cpp
@@ -82,7 +82,7 @@ EkosManager::EkosManager(QWidget *parent) : QDialog(parent)
 
     ekosOption     = NULL;
 
-    focusStarPixmap=focusProfilePixmap=guideStarPixmap=guideProfilePixmap=NULL;
+    focusStarPixmap=guideStarPixmap=NULL;
 
     mountPI=capturePI=focusPI=guidePI=NULL;
 
@@ -114,11 +114,7 @@ EkosManager::EkosManager(QWidget *parent) : QDialog(parent)
     connect(clearB, SIGNAL(clicked()), this, SLOT(clearLog()));
 
     // Summary
-    previewPixmap = new QPixmap(QPixmap(":/images/noimage.png"));
-    focusStarFile.open();
-    focusProfileFile.open();
-    guideStarFile.open();
-    guideProfileFile.open();
+    previewPixmap = new QPixmap(QPixmap(":/images/noimage.png"));    
 
     // Profiles
     connect(addProfileB, SIGNAL(clicked()), this, SLOT(addProfile()));
@@ -137,6 +133,10 @@ EkosManager::EkosManager(QWidget *parent) : QDialog(parent)
     // Load add driver profiles
     loadProfiles();
 
+    // INDI Control Panel and Ekos Options
+    controlPanelB->setIcon(QIcon::fromTheme("kstars_indi", \
QIcon(":/icons/indi.png"))); +    optionsB->setIcon(QIcon::fromTheme("configure", \
QIcon(":/icons/ekos_setup.png"))); +
     // Setup Tab
     toolsWidget->tabBar()->setTabIcon(0, QIcon(":/icons/ekos_setup.png"));
     toolsWidget->tabBar()->setTabToolTip(0, i18n("Setup"));
@@ -169,9 +169,7 @@ EkosManager::~EkosManager()
     delete profileModel;
 
     delete previewPixmap;
-    delete focusStarPixmap;
-    delete focusProfilePixmap;
-    delete guideProfilePixmap;
+    delete focusStarPixmap;    
     delete guideStarPixmap;
 }
 
@@ -198,12 +196,12 @@ void EkosManager::resizeEvent(QResizeEvent *)
     previewImage->setPixmap(previewPixmap->scaled(previewImage->width(), \
previewImage->height(), Qt::KeepAspectRatio, Qt::SmoothTransformation));  if \
                (focusStarPixmap)
         focusStarImage->setPixmap(focusStarPixmap->scaled(focusStarImage->width(), \
                focusStarImage->height(), Qt::KeepAspectRatio, \
                Qt::SmoothTransformation));
-    if (focusProfilePixmap)
-        focusProfileImage->setPixmap(focusProfilePixmap->scaled(focusProfileImage->width(), \
focusProfileImage->height(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); +    \
//if (focusProfilePixmap) +        \
//focusProfileImage->setPixmap(focusProfilePixmap->scaled(focusProfileImage->width(), \
focusProfileImage->height(), Qt::KeepAspectRatio, Qt::SmoothTransformation));  if \
                (guideStarPixmap)
         guideStarImage->setPixmap(guideStarPixmap->scaled(guideStarImage->width(), \
                guideStarImage->height(), Qt::KeepAspectRatio, \
                Qt::SmoothTransformation));
-    if (guideProfilePixmap)
-        guideProfileImage->setPixmap(guideProfilePixmap->scaled(guideProfileImage->width(), \
guideProfileImage->height(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); +    \
//if (guideProfilePixmap) +        \
//guideProfileImage->setPixmap(guideProfilePixmap->scaled(guideProfileImage->width(), \
guideProfileImage->height(), Qt::KeepAspectRatio, Qt::SmoothTransformation));  
 }
 
@@ -1495,7 +1493,7 @@ void EkosManager::initMount()
     if (guideProcess)
     {
         connect(mountProcess, &Ekos::Mount::newStatus, this, \
[&](ISD::Telescope::TelescopeStatus state){if (state == \
                ISD::Telescope::MOUNT_PARKING)
-                guideProcess->stopGuiding();}, Qt::UniqueConnection);
+                guideProcess->abort();}, Qt::UniqueConnection);
     }
 
 }
@@ -1560,7 +1558,7 @@ void EkosManager::initGuide()
         // Parking
         //connect(captureProcess, SIGNAL(mountParking()), guideProcess, \
                SLOT(stopGuiding()));
         connect(mountProcess, &Ekos::Mount::newStatus, this, \
[&](ISD::Telescope::TelescopeStatus state){if (state == \
                ISD::Telescope::MOUNT_PARKING)
-                guideProcess->stopGuiding();}, Qt::UniqueConnection);
+                guideProcess->abort();}, Qt::UniqueConnection);
 
     }
 
@@ -1900,22 +1898,11 @@ void EkosManager::updateFocusStarPixmap(QPixmap &starPixmap)
     focusStarPixmap = new QPixmap(starPixmap);
 
     focusStarImage->setPixmap(focusStarPixmap->scaled(focusStarImage->width(), \
                focusStarImage->height(), Qt::KeepAspectRatio, \
                Qt::SmoothTransformation));
-
-    focusStarPixmap->save(focusStarFile.fileName(), "PNG", 100);
-
-    focusStarImage->setToolTip(QString("<img src='%1' width='100' \
height='100'>").arg(focusStarFile.fileName()));  }
 
 void EkosManager::updateFocusProfilePixmap(QPixmap &profilePixmap)
-{
-    delete (focusProfilePixmap);
-    focusProfilePixmap = new QPixmap(profilePixmap);
-
-    focusProfileImage->setPixmap(focusProfilePixmap->scaled(focusProfileImage->width(), \
                focusProfileImage->height(), Qt::KeepAspectRatio, \
                Qt::SmoothTransformation));
-
-    focusProfilePixmap->save(focusProfileFile.fileName(), "PNG", 100);
-
-    focusProfileImage->setToolTip(QString("<img \
src='%1'>").arg(focusProfileFile.fileName())); +{        
+    focusProfileImage->setPixmap(profilePixmap);
 }
 
 void EkosManager::setFocusStatus(Ekos::FocusState status)
@@ -1969,22 +1956,11 @@ void EkosManager::updateGuideStarPixmap(QPixmap & starPix)
     guideStarPixmap = new QPixmap(starPix);
 
     guideStarImage->setPixmap(guideStarPixmap->scaled(guideStarImage->width(), \
                guideStarImage->height(), Qt::KeepAspectRatio, \
                Qt::SmoothTransformation));
-
-    guideStarPixmap->save(guideStarFile.fileName(), "PNG", 100);
-
-    guideStarImage->setToolTip(QString("<img src='%1' width='100' \
height='100'>").arg(guideStarFile.fileName()));  }
 
 void EkosManager::updateGuideProfilePixmap(QPixmap & profilePix)
 {
-    delete (guideProfilePixmap);
-    guideProfilePixmap = new QPixmap(profilePix);
-
-    guideProfileImage->setPixmap(guideProfilePixmap->scaled(guideProfileImage->width(), \
                guideProfileImage->height(), Qt::KeepAspectRatio, \
                Qt::SmoothTransformation));
-
-    guideProfilePixmap->save(guideProfileFile.fileName(), "PNG", 100);
-
-    guideProfileImage->setToolTip(QString("<img \
src='%1'>").arg(guideProfileFile.fileName())); +    \
guideProfileImage->setPixmap(profilePix);  }
 
 void EkosManager::setTarget(SkyObject *o)
diff --git a/kstars/ekos/ekosmanager.h b/kstars/ekos/ekosmanager.h
index df9ec22..4c1b740 100644
--- a/kstars/ekos/ekosmanager.h
+++ b/kstars/ekos/ekosmanager.h
@@ -279,16 +279,16 @@ private slots:
     // Focus Summary
     QProgressIndicator *focusPI;
     QPixmap *focusStarPixmap;
-    QPixmap *focusProfilePixmap;
-    QTemporaryFile focusStarFile;
-    QTemporaryFile focusProfileFile;
+    //QPixmap *focusProfilePixmap;
+    //QTemporaryFile focusStarFile;
+    //QTemporaryFile focusProfileFile;
 
     // Guide Summary
     QProgressIndicator *guidePI;
     QPixmap *guideStarPixmap;
-    QPixmap *guideProfilePixmap;
-    QTemporaryFile guideStarFile;
-    QTemporaryFile guideProfileFile;
+    //QPixmap *guideProfilePixmap;
+    //QTemporaryFile guideStarFile;
+    //QTemporaryFile guideProfileFile;
 
 };
 
diff --git a/kstars/ekos/ekosmanager.ui b/kstars/ekos/ekosmanager.ui
index 594e4ba..39a94e0 100644
--- a/kstars/ekos/ekosmanager.ui
+++ b/kstars/ekos/ekosmanager.ui
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>670</width>
-    <height>624</height>
+    <height>636</height>
    </rect>
   </property>
   <property name="maximumSize">
@@ -117,6 +117,12 @@
              </item>
              <item>
               <widget class="QComboBox" name="profileCombo">
+               <property name="sizePolicy">
+                <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+                 <horstretch>0</horstretch>
+                 <verstretch>0</verstretch>
+                </sizepolicy>
+               </property>
                <property name="sizeAdjustPolicy">
                 <enum>QComboBox::AdjustToContents</enum>
                </property>
@@ -202,9 +208,12 @@
                <property name="orientation">
                 <enum>Qt::Horizontal</enum>
                </property>
+               <property name="sizeType">
+                <enum>QSizePolicy::Minimum</enum>
+               </property>
                <property name="sizeHint" stdset="0">
                 <size>
-                 <width>40</width>
+                 <width>1</width>
                  <height>20</height>
                 </size>
                </property>
@@ -244,6 +253,12 @@
                  <property name="enabled">
                   <bool>true</bool>
                  </property>
+                 <property name="minimumSize">
+                  <size>
+                   <width>32</width>
+                   <height>32</height>
+                  </size>
+                 </property>
                  <property name="text">
                   <string>Start INDI</string>
                  </property>
@@ -254,8 +269,17 @@
                  <property name="enabled">
                   <bool>false</bool>
                  </property>
+                 <property name="minimumSize">
+                  <size>
+                   <width>32</width>
+                   <height>32</height>
+                  </size>
+                 </property>
+                 <property name="toolTip">
+                  <string>INDI Control Panel</string>
+                 </property>
                  <property name="text">
-                  <string>Control Panel...</string>
+                  <string/>
                  </property>
                 </widget>
                </item>
@@ -264,8 +288,17 @@
                  <property name="enabled">
                   <bool>true</bool>
                  </property>
+                 <property name="minimumSize">
+                  <size>
+                   <width>32</width>
+                   <height>32</height>
+                  </size>
+                 </property>
+                 <property name="toolTip">
+                  <string>Ekos Options</string>
+                 </property>
                  <property name="text">
-                  <string>Options...</string>
+                  <string/>
                  </property>
                 </widget>
                </item>
@@ -305,6 +338,12 @@
                  <property name="enabled">
                   <bool>false</bool>
                  </property>
+                 <property name="minimumSize">
+                  <size>
+                   <width>32</width>
+                   <height>32</height>
+                  </size>
+                 </property>
                  <property name="text">
                   <string>Connect</string>
                  </property>
@@ -315,6 +354,12 @@
                  <property name="enabled">
                   <bool>false</bool>
                  </property>
+                 <property name="minimumSize">
+                  <size>
+                   <width>32</width>
+                   <height>32</height>
+                  </size>
+                 </property>
                  <property name="text">
                   <string>Disconnect</string>
                  </property>
@@ -867,7 +912,7 @@
                </property>
                <layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,3">
                 <property name="spacing">
-                 <number>3</number>
+                 <number>1</number>
                 </property>
                 <property name="leftMargin">
                  <number>3</number>
@@ -922,7 +967,7 @@
                  </layout>
                 </item>
                 <item>
-                 <layout class="QHBoxLayout" name="horizontalLayout_9" \
stretch="0,0"> +                 <layout class="QHBoxLayout" \
name="horizontalLayout_9" stretch="3,1">  <property name="spacing">
                    <number>1</number>
                   </property>
@@ -939,7 +984,7 @@
                     </property>
                     <property name="minimumSize">
                      <size>
-                      <width>70</width>
+                      <width>150</width>
                       <height>70</height>
                      </size>
                     </property>
@@ -952,35 +997,188 @@
                     <property name="palette">
                      <palette>
                       <active>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </active>
                       <inactive>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </inactive>
                       <disabled>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>239</red>
-                          <green>240</green>
-                          <blue>241</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </disabled>
@@ -993,7 +1191,11 @@
                      <string>Focus Profile</string>
                     </property>
                     <property name="autoFillBackground">
-                     <bool>true</bool>
+                     <bool>false</bool>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">background-color: qlineargradient(x1:0, \
y1:0, x2:0, y2:1, +                                      stop:0 lightgray, stop:1 \
darkgray);</string>  </property>
                     <property name="frameShape">
                      <enum>QFrame::Panel</enum>
@@ -1001,11 +1203,8 @@
                     <property name="text">
                      <string/>
                     </property>
-                    <property name="pixmap">
-                     <pixmap \
                resource="../data/kstars.qrc">:/images/noimage.png</pixmap>
-                    </property>
                     <property name="scaledContents">
-                     <bool>false</bool>
+                     <bool>true</bool>
                     </property>
                     <property name="alignment">
                      <set>Qt::AlignCenter</set>
@@ -1029,35 +1228,314 @@
                     <property name="palette">
                      <palette>
                       <active>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </active>
                       <inactive>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </inactive>
                       <disabled>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>239</red>
-                          <green>240</green>
-                          <blue>241</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </disabled>
@@ -1067,7 +1545,12 @@
                      <string>Focus Star</string>
                     </property>
                     <property name="autoFillBackground">
-                     <bool>true</bool>
+                     <bool>false</bool>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">background: qlineargradient(x1: 0, y1: 0, \
x2: 0, y2: 1, +                                stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
+                                stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);</string>
                     </property>
                     <property name="frameShape">
                      <enum>QFrame::Panel</enum>
@@ -1075,9 +1558,6 @@
                     <property name="text">
                      <string/>
                     </property>
-                    <property name="pixmap">
-                     <pixmap \
                resource="../data/kstars.qrc">:/images/noimage.png</pixmap>
-                    </property>
                     <property name="scaledContents">
                      <bool>false</bool>
                     </property>
@@ -1171,35 +1651,188 @@
                     <property name="palette">
                      <palette>
                       <active>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </active>
                       <inactive>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </inactive>
                       <disabled>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>239</red>
-                          <green>240</green>
-                          <blue>241</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>169</red>
+                            <green>169</green>
+                            <blue>169</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </disabled>
@@ -1209,7 +1842,11 @@
                      <string>Guide Profile</string>
                     </property>
                     <property name="autoFillBackground">
-                     <bool>true</bool>
+                     <bool>false</bool>
+                    </property>
+                    <property name="styleSheet">
+                     <string notr="true">background-color: qlineargradient(x1:0, \
y1:0, x2:0, y2:1, +                                      stop:0 lightgray, stop:1 \
darkgray);</string>  </property>
                     <property name="frameShape">
                      <enum>QFrame::Panel</enum>
@@ -1217,11 +1854,8 @@
                     <property name="text">
                      <string/>
                     </property>
-                    <property name="pixmap">
-                     <pixmap \
                resource="../data/kstars.qrc">:/images/noimage.png</pixmap>
-                    </property>
                     <property name="scaledContents">
-                     <bool>false</bool>
+                     <bool>true</bool>
                     </property>
                     <property name="alignment">
                      <set>Qt::AlignCenter</set>
@@ -1239,35 +1873,314 @@
                     <property name="palette">
                      <palette>
                       <active>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </active>
                       <inactive>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>0</red>
-                          <green>0</green>
-                          <blue>0</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </inactive>
                       <disabled>
+                       <colorrole role="Button">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
+                       <colorrole role="Base">
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
+                        </brush>
+                       </colorrole>
                        <colorrole role="Window">
-                        <brush brushstyle="SolidPattern">
-                         <color alpha="255">
-                          <red>239</red>
-                          <green>240</green>
-                          <blue>241</blue>
-                         </color>
+                        <brush brushstyle="LinearGradientPattern">
+                         <gradient startx="0.000000000000000" \
starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" \
type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode"> +       \
<gradientstop position="0.000000000000000"> +                           <color \
alpha="255"> +                            <red>225</red>
+                            <green>225</green>
+                            <blue>225</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.400000000000000">
+                           <color alpha="255">
+                            <red>221</red>
+                            <green>221</green>
+                            <blue>221</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="0.500000000000000">
+                           <color alpha="255">
+                            <red>216</red>
+                            <green>216</green>
+                            <blue>216</blue>
+                           </color>
+                          </gradientstop>
+                          <gradientstop position="1.000000000000000">
+                           <color alpha="255">
+                            <red>211</red>
+                            <green>211</green>
+                            <blue>211</blue>
+                           </color>
+                          </gradientstop>
+                         </gradient>
                         </brush>
                        </colorrole>
                       </disabled>
@@ -1280,10 +2193,12 @@
                      <string>Guide Star</string>
                     </property>
                     <property name="autoFillBackground">
-                     <bool>true</bool>
+                     <bool>false</bool>
                     </property>
                     <property name="styleSheet">
-                     <string notr="true"/>
+                     <string notr="true">background: qlineargradient(x1: 0, y1: 0, \
x2: 0, y2: 1, +                                stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
+                                stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);</string>
                     </property>
                     <property name="frameShape">
                      <enum>QFrame::Panel</enum>
@@ -1291,9 +2206,6 @@
                     <property name="text">
                      <string/>
                     </property>
-                    <property name="pixmap">
-                     <pixmap \
                resource="../data/kstars.qrc">:/images/noimage.png</pixmap>
-                    </property>
                     <property name="scaledContents">
                      <bool>false</bool>
                     </property>
@@ -1402,8 +2314,6 @@
    <container>1</container>
   </customwidget>
  </customwidgets>
- <resources>
-  <include location="../data/kstars.qrc"/>
- </resources>
+ <resources/>
  <connections/>
 </ui>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic