kstars
skymap.h
Go to the documentation of this file.
266 // NOTE: These dynamic casts must not segfault. If they do, it's good because we know that there is a problem.
270 inline void exportSkyImage( QPaintDevice *pd, bool scale = false ) { dynamic_cast<SkyMapDrawAbstract *>(m_SkyMapDraw)->exportSkyImage( pd, scale ); }
272 inline void exportSkyImage( SkyQPainter *painter, bool scale = false ) { dynamic_cast<SkyMapDrawAbstract *>(m_SkyMapDraw)->exportSkyImage( painter, scale ); }
274 SkyMapDrawAbstract* getSkyMapDrawAbstract() { return dynamic_cast<SkyMapDrawAbstract *>(m_SkyMapDraw); }
279 inline void drawObjectLabels( QList< SkyObject* >& labelObjects ) { dynamic_cast<SkyMapDrawAbstract *>(m_SkyMapDraw)->drawObjectLabels( labelObjects ); }
virtual void mouseDoubleClickEvent(QMouseEvent *e)
Center SkyMap at double-clicked location.
Definition: skymapevents.cpp:611
void slotClockSlewing()
Checks whether the timestep exceeds a threshold value.
Definition: skymap.cpp:777
Definition: skymap.h:97
Definition: skymap.h:102
void setFocusObject(SkyObject *o)
Set the FocusObject pointer to the argument.
Definition: skymap.cpp:365
void slotInfo()
Popup menu function: Show webpage about ClickedObject (only available for some objects).
Definition: skymap.cpp:672
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
Definition: skymap.h:101
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
Definition: infoboxwidget.h:31
Definition: skymap.h:96
void addLink()
Popup menu function: Add a custom Image or Information URL.
Definition: skymap.cpp:1074
void slotAddFlag()
Open Flag Manager window with clickedObject() RA and Dec entered.
Definition: skymap.cpp:614
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
A series of connected line segments in the sky, composed of SkyPoints at its vertices.
Definition: skyline.h:38
void slotImage()
Popup menu function: Show image of ClickedObject (only available for some objects).
Definition: skymap.cpp:643
void setFocusAltAz(const dms &alt, const dms &az)
sets the focus point of the sky map, using its alt/az coordinates
Definition: skymap.cpp:801
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 destinationChanged()
Emitted by setDestination(), and connected to slewFocus().
Small optianally transparent box for display of text messages.
Definition: infoboxwidget.h:48
Definition: skymap.h:99
Legend class is used for painting legends on class inheriting QPaintDevice.
Definition: legend.h:45
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
This class defines the methods that both rendering engines (GLPainter and QPainter) must implement...
Definition: skymapdrawabstract.h:40
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
void exportSkyImage(QPaintDevice *pd, bool scale=false)
Proxy method for SkyMapDrawAbstract::exportSkyImage()
Definition: skymap.h:270
void slotDSS()
Popup menu function: Display 1st-Generation DSS image with the Image Viewer.
Definition: skymap.cpp:434
void slotEditFlag(int flagIdx)
Open Flag Manager window with selected flag focused and ready to edit.
Definition: skymap.cpp:623
void updateFocus()
Update the focus position according to current options.
Definition: skymap.cpp:833
Definition: skymap.h:100
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
void setFocusPoint(SkyPoint *f)
set the FocusPoint; the position that is to be the next Destination.
Definition: skymap.h:191
SkyObject * focusObject() const
Retrieve the object which is centered in the sky map.
Definition: skymap.h:229
Definition: skymap.h:98
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
void exportSkyImage(SkyQPainter *painter, bool scale=false)
Definition: skymap.h:272
void drawObjectLabels(QList< SkyObject * > &labelObjects)
Proxy method for SkyMapDrawAbstract::drawObjectLabels()
Definition: skymap.h:279
void slotSDSS()
Popup menu function: Display Sloan Digital Sky Survey image with the Image Viewer.
Definition: skymap.cpp:460
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.