Jason Harris | 1 May 06:52

KDE/kdeedu/kstars/kstars

SVN commit 802895 by harris:

When slewing to a new location, do not allow the "update" heartbeat to interrupt the 
slew and "snap" the focus to the new location.  

CCMAIL: kstars-devel <at> kde.org

 M  +8 -2      skymap.cpp  

--- trunk/KDE/kdeedu/kstars/kstars/skymap.cpp #802894:802895
@@ -659,6 +659,9 @@
 }

 void SkyMap::updateFocus() {
+    if ( slewing ) return;
+
+    //Tracking on an object
     if ( Options::isTracking() && focusObject() != NULL ) {
         if ( Options::useAltAz() ) {
             //Tracking any object in Alt/Az mode requires focus updates
@@ -674,6 +677,8 @@
             focus()->EquatorialToHorizontal( data->LST, data->geo()->lat() );
             setDestination( focus() );
         }
+
+    //Tracking on empty sky
     } else if ( Options::isTracking() && focusPoint() != NULL ) {
         if ( Options::useAltAz() ) {
             //Tracking on empty sky in Alt/Az mode
@@ -681,8 +686,9 @@
(Continue reading)

Jason Harris | 1 May 07:13

KDE/kdeedu/kstars/kstars/skycomponents

SVN commit 802898 by harris:

Make it possible to center on a constellation when it's been selected in the Find 
dialog

CCMAIL: kstars-devel <at> kde.org

 M  +2 -0      skymapcomposite.cpp  

--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skymapcomposite.cpp #802897:802898
@@ -391,6 +391,8 @@
     if ( o ) return o;
     o = m_CustomCatalogs->findByName( name );
     if ( o ) return o;
+    o = m_CNames->findByName( name );
+    if ( o ) return o;
     o = m_Stars->findByName( name );
     if ( o ) return o;
Jason Harris | 1 May 07:18

Re: KDE/kdeedu/kstars/kstars/skycomponents

TODO: when a constellation is centered, the additional label text
should be suppressed.

On Wed, Apr 30, 2008 at 10:13 PM, Jason Harris <kstars <at> 30doradus.org> wrote:
> SVN commit 802898 by harris:
>
> Make it possible to center on a constellation when it's been selected in the Find
> dialog
>
> CCMAIL: kstars-devel <at> kde.org
>
>
>
>  M  +2 -0      skymapcomposite.cpp
>
>
> --- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skymapcomposite.cpp #802897:802898
> @@ -391,6 +391,8 @@
>     if ( o ) return o;
>     o = m_CustomCatalogs->findByName( name );
>     if ( o ) return o;
> +    o = m_CNames->findByName( name );
> +    if ( o ) return o;
>     o = m_Stars->findByName( name );
>     if ( o ) return o;
>
> _______________________________________________
> Kstars-devel mailing list
> Kstars-devel <at> kde.org
> https://mail.kde.org/mailman/listinfo/kstars-devel
(Continue reading)

Jason Harris | 2 May 00:34

KDE/kdeedu/kstars/kstars

SVN commit 803095 by harris:

Make arrow keys work in Find Object tool.
CCMAIL: kstars-devel <at> kde.org

 M  +2 -2      finddialog.cpp  

--- trunk/KDE/kdeedu/kstars/kstars/finddialog.cpp #803094:803095
@@ -264,7 +264,7 @@
         int currentRow = ui->SearchList->currentIndex().row();
         if ( currentRow > 0 ) {
             QModelIndex selectItem = sortModel->index( currentRow-1, sortModel->filterKeyColumn(),
QModelIndex() );
-            ui->SearchList->selectionModel()->select( selectItem, QItemSelectionModel::ClearAndSelect );
+            ui->SearchList->selectionModel()->setCurrentIndex( selectItem,
QItemSelectionModel::SelectCurrent );
         }
         break;
     }
@@ -273,7 +273,7 @@
         int currentRow = ui->SearchList->currentIndex().row();
         if ( currentRow < sortModel->rowCount()-1 ) {
             QModelIndex selectItem = sortModel->index( currentRow+1, sortModel->filterKeyColumn(),
QModelIndex() );
-            ui->SearchList->selectionModel()->select( selectItem, QItemSelectionModel::ClearAndSelect );
+            ui->SearchList->selectionModel()->setCurrentIndex( selectItem,
QItemSelectionModel::SelectCurrent );
         }
         break;
     }
(Continue reading)

Jason Harris | 2 May 00:35

KDE/kdeedu/kstars/kstars/skycomponents

SVN commit 803096 by harris:

Improve rendering of comets and asteroids.  Minimum size is 0.25
instead of 1, and below a threshhold zoom, comets are no longer drawn.
CCMAIL: kstars-devel <at> kde.org

 M  +1 -1      asteroidscomponent.cpp  
 M  +2 -2      cometscomponent.cpp  

--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/asteroidscomponent.cpp #803095:803096
@@ -118,7 +118,7 @@
         if ( ! map->onScreen( o ) ) continue;

         float size = ast->angSize() * sizeFactor;
-        if ( size < 1.0 ) size = 1.0;
+        if ( size < 0.25 ) size = 0.25;
         float x1 = o.x() - 0.5 * size;
         float y1 = o.y() - 0.5 * size;

--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/cometscomponent.cpp #803095:803096
@@ -80,7 +80,7 @@

 void CometsComponent::draw( QPainter& psky )
 {
-    if ( !visible() ) return;
+    if ( !visible() || Options::zoomFactor() < 10*MINZOOM ) return;

     SkyMap *map = SkyMap::Instance();

@@ -101,7 +101,7 @@
(Continue reading)

Jason Harris | 2 May 22:55

Bugsquad thread

Hello,

Are you using KStars from trunk, or at least some 4.x version?  If so,  
please keep an eye out for bugs or other issues, and report them!   
bugs.kde.org is always a good choice, but if you don't want to take  
the time to report a bug there, you can simply reply to this thread to  
let us know about it.

KDE trunk is now feature-frozen for 4.1 (to be released in July), so  
now is the time for us to squash as many bugs as we can.

Thanks in advance for your help!

regards,
Jason
Jason Harris | 2 May 23:05

Re: Bugsquad thread

I'll start:

Bug: Below a threshold zoom level, the asteroids color changes to the
comet color.

On Fri, May 2, 2008 at 1:55 PM, Jason Harris <kstars <at> 30doradus.org> wrote:
> Hello,
>
> Are you using KStars from trunk, or at least some 4.x version?  If so,
> please keep an eye out for bugs or other issues, and report them!
>  bugs.kde.org is always a good choice, but if you don't want to take the
> time to report a bug there, you can simply reply to this thread to let us
> know about it.
>
> KDE trunk is now feature-frozen for 4.1 (to be released in July), so now is
> the time for us to squash as many bugs as we can.
>
> Thanks in advance for your help!
>
> regards,
> Jason
>
>
Jason Harris | 4 May 16:38

KDE/kdeedu/kstars/kstars/tools

SVN commit 803937 by harris:

Conjunction tool improvements:
Use QListWidget::clear() to clear the OutputView.
Friendlier date/Time formatting

CCMAIL: kstars-devel <at> kde.org

 M  +8 -7      conjunctions.cpp  

--- trunk/KDE/kdeedu/kstars/kstars/tools/conjunctions.cpp #803936:803937
@@ -126,16 +126,17 @@
   KStarsDateTime dt;
   QMap<long double, dms>::Iterator it;

-  // TODO: Find a better way to clear the OutputView QListWidget
-  QList<QListWidgetItem *>::Iterator qlit;
-  QList<QListWidgetItem *> rowlist = OutputView -> findItems("", Qt::MatchContains); // Dirty way to
get the whole list of items
-  for(qlit = rowlist.begin(); qlit != rowlist.end(); ++qlit) {
-    OutputView -> removeItemWidget(*qlit);
-  }
+  OutputView->clear();
+//   // TODO: Find a better way to clear the OutputView QListWidget
+//   QList<QListWidgetItem *>::Iterator qlit;
+//   QList<QListWidgetItem *> rowlist = OutputView -> findItems("", Qt::MatchContains); // Dirty way to
get the whole list of items
+//   for(qlit = rowlist.begin(); qlit != rowlist.end(); ++qlit) {
+//     OutputView -> removeItemWidget(*qlit);
+//   }
(Continue reading)

Jason Harris | 14 May 00:30

KDE/kdeedu/kstars/kstars

SVN commit 807477 by harris:

Don't activate "slewing" when zooming in/out with the hotkeys.  This 
prevents objects from being hidden while zooming.

CCMAIL: kstars-devel <at> kde.org

 M  +0 -2      skymapevents.cpp  

--- trunk/KDE/kdeedu/kstars/kstars/skymapevents.cpp #807476:807477
@@ -143,13 +143,11 @@
     case Qt::Key_Plus:   //Zoom in
     case Qt::Key_Equal:
         if ( ks ) ks->slotZoomIn();
-        slewing = true;
         break;

     case Qt::Key_Minus:  //Zoom out
     case Qt::Key_Underscore:
         if ( ks ) ks->slotZoomOut();
-        slewing = true;
         break;

     //In the following cases, we set slewing=true in order to disengage tracking

James Bowlin | 14 May 03:08
Picon

Re: KDE/kdeedu/kstars/kstars

On Tue May 13 2008, Jason Harris wrote:
> Don't activate "slewing" when zooming in/out with the hotkeys.  This
> prevents objects from being hidden while zooming.

I had activated the slewing while zooming in/out with the hotkeys to
make the zooming smoother when the keys were held down.

If the user wants to make a large change in the zoom level, it can
be a little frustrating.  An alternative solution might be to use
Ctrl+(zoom key) to zoom in or out at with a larger step size but
that looked like it might be slightly non-trivial to implement.

--

-- 
Peace, James
_______________________________________________
Kstars-devel mailing list
Kstars-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel

Gmane