Kstars
skymapevents.cpp
112 focus()->setAltRefracted(focus()->altRefracted().Degrees() + step * MINZOOM / Options::zoomFactor());
132 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)))
662 focus()->setAltRefracted(KSUtils::clamp(focus()->altRefracted().Degrees() - dAlt.Degrees(), -90.0, 90.0));
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 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:242
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:1309
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:1012
void slotAddObjectLabel()
Add ClickedObject to KStarsData::ObjLabelList, which stores pointers to SkyObjects which have User La...
Definition skymap.cpp:872
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:647
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:846
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map.
Definition skymap.cpp:1177
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:1222
void setDestination(const SkyPoint &f)
sets the destination point of the sky map.
Definition skymap.cpp:984
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:996
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:611
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:898
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
void setAltRefracted(dms alt_apparent)
Sets the apparent altitude, checking whether refraction corrections are enabled.
Definition skypoint.cpp:1055
void EquatorialToHorizontal(const CachingDms *LST, const CachingDms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates,...
Definition skypoint.cpp:77
void HorizontalToEquatorial(const dms *LST, const dms *lat)
Determine the (RA, Dec) coordinates of the SkyPoint from its (Altitude, Azimuth) coordinates,...
Definition skypoint.cpp:143
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
int globalX() const const
int globalY() const const
QPoint pos() const const
int x() const const
int y() const const
typedef 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
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 Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.