kstars
skymapevents.cpp
Go to the documentation of this file.
96 focus()->setAz( dms( focus()->az().Degrees() - step * MINZOOM/Options::zoomFactor() ).reduce() );
109 focus()->setAz( dms( focus()->az().Degrees() + step * MINZOOM/Options::zoomFactor() ).reduce() );
511 SkyPoint newcenter = projector()->fromScreen( ZoomRect.center(), data->lst(), data->geo()->lat() );
virtual void mouseDoubleClickEvent(QMouseEvent *e)
Center SkyMap at double-clicked location.
Definition: skymapevents.cpp:611
static void setStarDensity(int v)
Set Density of stars in the field of view.
Definition: Options.h:2616
Definition: ksplanetbase.h:82
Definition: ksplanetbase.h:82
Definition: ksplanetbase.h:82
void setDestination(const SkyPoint &f)
sets the destination point of the sky map.
Definition: skymap.cpp:812
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition: skymap.cpp:361
static void setUseRelativistic(bool v)
Set Apply relativistic corrections due to the bending of light in sun's gravitational field...
Definition: Options.h:2471
void slotDetail()
Popup menu function: Show the Detailed Information window for ClickedObject.
Definition: skymap.cpp:740
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map.
Definition: skymap.cpp:985
void slotRemoveObjectLabel()
Remove ClickedObject from KStarsData::ObjLabelList, which stores pointers to SkyObjects which have Us...
Definition: skymap.cpp:714
void createEmptyMenu(SkyPoint *nullObj)
Create a popup menu for empty sky.
Definition: kspopupmenu.cpp:124
static bool useRelativistic()
Get Apply relativistic corrections due to the bending of light in sun's gravitational field...
Definition: Options.h:2481
Definition: ksplanetbase.h:82
virtual SkyObject * objectNearest(SkyPoint *p, double &maxrad)
Definition: skymapcomposite.cpp:309
void slotBeginAngularDistance()
Enables the angular distance measuring mode.
Definition: skymap.cpp:496
void slotEndRulerMode()
Computes the angular distance, prints the result in the status bar and disables the angular distance ...
Definition: skymap.cpp:524
virtual void mouseReleaseEvent(QMouseEvent *e)
set mouseButtonDown==false, slewing==false
Definition: skymapevents.cpp:508
void showFocusCoords()
Update object name and coordinates in the Focus InfoBox.
Definition: skymap.cpp:331
SkyPoint * focus()
Retrieve the Focus point; the position on the sky at the center of the skymap.
Definition: skymap.h:120
virtual SkyPoint fromScreen(const QPointF &p, dms *LST, const dms *lat) const
Determine RA, Dec coordinates of the pixel at (dx, dy), which are the screen pixel coordinate offsets...
Definition: projector.cpp:353
Definition: ksplanetbase.h:82
void showPopupMenu(KSPopupMenu *pmenu, const QPoint &pos)
Show Type-specific popup menu.
Definition: skyobject.cpp:83
void HorizontalToEquatorial(const dms *LST, const dms *lat)
Determine the (RA, Dec) coordinates of the SkyPoint from its (Altitude, Azimuth) coordinates, given the local sidereal time and the observer's latitude.
Definition: skypoint.cpp:102
void mousePointChanged(SkyPoint *)
Emitted when position under mouse changed.
virtual void resizeEvent(QResizeEvent *)
If the skymap will be resized, the sky must be new computed.
Definition: skymapevents.cpp:55
void slotTrack()
action slot: Toggle whether kstars is tracking current position
Definition: kstarsactions.cpp:892
void EquatorialToHorizontal(const dms *LST, const dms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates, given the local sidereal time and the observer's latitude.
Definition: skypoint.cpp:55
Definition: ksplanetbase.h:82
Definition: ksplanetbase.h:82
virtual void keyReleaseEvent(QKeyEvent *e)
When keyRelease is triggered, just set the "slewing" flag to false, and update the display (to draw o...
Definition: skymapevents.cpp:381
void setClickedPoint(SkyPoint *f)
Set the ClickedPoint to the skypoint given as an argument.
Definition: skymap.cpp:829
void slotAddObjectLabel()
Add ClickedObject to KStarsData::ObjLabelList, which stores pointers to SkyObjects which have User La...
Definition: skymap.cpp:719
A subclass of TrailObject that provides additional information needed for most solar system objects...
Definition: ksplanetbase.h:63
static void setUseAntialias(bool v)
Set Use antialiasing when drawing the screen?
Definition: Options.h:2490
Definition: ksplanetbase.h:82
virtual void mousePressEvent(QMouseEvent *e)
Determine RA, Dec coordinates of clicked location.
Definition: skymapevents.cpp:543
SkyObject * clickedObject() const
Retrieve the object nearest to a mouse click event.
Definition: skymap.h:214
virtual void wheelEvent(QWheelEvent *e)
Zoom in and out with the mouse wheel.
Definition: skymapevents.cpp:501
Definition: ksplanetbase.h:82
SkyObject * focusObject() const
Retrieve the object which is centered in the sky map.
Definition: skymap.h:229
virtual bool unusablePoint(const QPointF &p) const
Check if the current point on screen is a valid point on the sky.
Definition: projector.cpp:338
Provides all necessary information about an object in the sky: its coordinates, name(s), type, magnitude, and QStringLists of URLs for images and webpages regarding the object.
Definition: skyobject.h:46
Definition: ksplanetbase.h:82
void setDestinationAltAz(const dms &alt, const dms &az)
sets the destination point of the sky map, using its alt/az coordinates.
Definition: skymap.cpp:822
virtual void mouseMoveEvent(QMouseEvent *e)
This function does several different things depending on the state of the program: ...
Definition: skymapevents.cpp:405
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.