Kstars
skymapevents.cpp
112 focus()->setAltRefracted(focus()->altRefracted().Degrees() + step * MINZOOM / Options::zoomFactor());
426 if (QPinchGesture *pinch = static_cast<QPinchGesture * >(gestureEvent->gesture(Qt::PinchGesture)))
452 if (QTapAndHoldGesture *tapAndHold = static_cast<QTapAndHoldGesture * >(gestureEvent->gesture(Qt::TapAndHoldGesture)))
A subclass of TrailObject that provides additional information needed for most solar system objects.
Definition ksplanetbase.h:50
void createEmptyMenu(SkyPoint *nullObj)
Create a popup menu for empty sky.
Definition kspopupmenu.cpp:132
void slotTrack()
action slot: Toggle whether kstars is tracking current position
Definition kstarsactions.cpp:1585
void slotAddObject(const SkyObject *o=nullptr, bool session=false, bool update=false)
add a new object to list o pointer to the object to add to the list session flag toggle adding the ob...
Definition observinglist.cpp:244
virtual SkyPoint fromScreen(const QPointF &p, dms *LST, const dms *lat, bool onlyAltAz=false) const
Determine RA, Dec coordinates of the pixel at (dx, dy), which are the screen pixel coordinate offsets...
Definition projector.cpp:460
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Definition skymapcomposite.cpp:418
void mouseReleaseEvent(QMouseEvent *e) override
set mouseButtonDown==false, slewing==false
Definition skymapevents.cpp:697
void showFocusCoords()
Update object name and coordinates in the Focus InfoBox.
Definition skymap.cpp:327
void setMouseCursorShape(Cursor type)
Sets the shape of the default mouse cursor.
Definition skymap.cpp:1305
SkyPoint * focus()
Retrieve the Focus point; the position on the sky at the center of the skymap.
Definition skymap.h:123
void keyReleaseEvent(QKeyEvent *e) override
When keyRelease is triggered, just set the "slewing" flag to false, and update the display (to draw o...
Definition skymapevents.cpp:477
void resizeEvent(QResizeEvent *) override
If the skymap will be resized, the sky must be new computed.
Definition skymapevents.cpp:32
void setClickedPoint(const SkyPoint *f)
Set the ClickedPoint to the skypoint given as an argument.
Definition skymap.cpp:1008
void slotAddObjectLabel()
Add ClickedObject to KStarsData::ObjLabelList, which stores pointers to SkyObjects which have User La...
Definition skymap.cpp:868
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition skymap.cpp:366
void slotEndRulerMode()
Computes the angular distance, prints the result in the status bar and disables the angular distance ...
Definition skymap.cpp:643
void mouseMoveEvent(QMouseEvent *e) override
This function does several different things depending on the state of the program:
Definition skymapevents.cpp:503
void slotRemoveObjectLabel()
Remove ClickedObject from KStarsData::ObjLabelList, which stores pointers to SkyObjects which have Us...
Definition skymap.cpp:842
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map.
Definition skymap.cpp:1173
void mousePointChanged(SkyPoint *)
Emitted when position under mouse changed.
void slotSetSkyRotation(double angle)
Sets the base sky rotation (before correction) to the given angle.
Definition skymap.cpp:1218
void setDestination(const SkyPoint &f)
sets the destination point of the sky map.
Definition skymap.cpp:980
SkyObject * clickedObject() const
Retrieve the object nearest to a mouse click event.
Definition skymap.h:244
void wheelEvent(QWheelEvent *e) override
Zoom in and out with the mouse wheel.
Definition skymapevents.cpp:689
void setDestinationAltAz(const dms &alt, const dms &az, bool altIsRefracted)
sets the destination point of the sky map, using its alt/az coordinates.
Definition skymap.cpp:992
void mouseDoubleClickEvent(QMouseEvent *e) override
Center SkyMap at double-clicked location
Definition skymapevents.cpp:859
void slotBeginAngularDistance()
Enables the angular distance measuring mode.
Definition skymap.cpp:607
SkyObject * focusObject() const
Retrieve the object which is centered in the sky map.
Definition skymap.h:262
void mosaicCenterChanged(dms dRA, dms dDE)
Emitter when mosaic center is dragged in the sky map.
void mousePressEvent(QMouseEvent *e) override
Determine RA, Dec coordinates of clicked location.
Definition skymapevents.cpp:760
void slotDetail()
Popup menu function: Show the Detailed Information window for ClickedObject.
Definition skymap.cpp:894
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
void showPopupMenu(KSPopupMenu *pmenu, const QPoint &pos)
Show Type-specific popup menu.
Definition skyobject.cpp:56
static constexpr double DegToRad
DegToRad is a const static member equal to the number of radians in one degree (dms::PI/180....
Definition dms.h:390
QString i18n(const char *text, const TYPE &arg...)
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
QPoint pos()
TouchBegin
QGesture * gesture(Qt::GestureType type) const const
virtual bool event(QEvent *event) override
Qt::KeyboardModifiers modifiers() const const
int key() const const
Qt::KeyboardModifiers modifiers() const const
bool isEmpty() const const
QStatusBar * statusBar() const const
int globalX() const const
int globalY() const const
QPoint pos() const const
int x() const const
int y() const const
ChangeFlags
int x() const const
int y() const const
QPoint center() const const
bool isValid() const const
void moveCenter(const QPoint &position)
void setHeight(int height)
void setWidth(int width)
int width() const const
Qt::MouseButton button() const const
void showMessage(const QString &message, int timeout)
GestureFinished
PinchGesture
Key_Left
ShiftModifier
LeftButton
void start()
void hideText()
QPoint angleDelta() const const
height
void setFocus()
void resize(const QSize &)
void update()
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.