KStars
#include <kstars.h>
Signals | |
void | colorSchemeChanged () |
Public Slots | |
Q_SCRIPTABLE Q_NOREPLY void | addLabel (const QString &name) |
Q_SCRIPTABLE Q_NOREPLY void | addTrail (const QString &name) |
Q_SCRIPTABLE Q_NOREPLY void | changeViewOption (const QString &option, const QString &value) |
void | clearCachedFindDialog () |
Q_SCRIPTABLE Q_NOREPLY void | defaultZoom () |
Q_SCRIPTABLE Q_NOREPLY void | drawLine (int x1, int y1, int x2, int y2, int speed) |
Q_SCRIPTABLE Q_NOREPLY void | exportImage (const QString &filename, int width=-1, int height=-1, bool includeLegend=false) |
Q_SCRIPTABLE QString | getDSSURL (const QString &objectName) |
Q_SCRIPTABLE QString | getDSSURL (double RA_J2000, double Dec_J2000, float width=15, float height=15) |
Q_SCRIPTABLE QString | getFocusInformationXML () |
Q_SCRIPTABLE QString | getObjectDataXML (const QString &objectName, bool fallbackToInternet=false, bool storeInternetResolved=true) |
Q_SCRIPTABLE QString | getObjectPositionInfo (const QString &objectName) |
Q_SCRIPTABLE QString | getObservingSessionPlanObjectNames () |
Q_SCRIPTABLE QString | getObservingWishListObjectNames () |
Q_DECL_DEPRECATED Q_SCRIPTABLE QString | getOption (const QString &name) |
Q_SCRIPTABLE QString | getSkyMapDimensions () |
bool | isWIVisible () |
Q_SCRIPTABLE Q_NOREPLY void | loadColorScheme (const QString &name) |
Q_SCRIPTABLE QString | location () |
Q_SCRIPTABLE Q_NOREPLY void | lookTowards (const QString &direction) |
Q_SCRIPTABLE Q_NOREPLY void | openFITS (const QUrl &imageUrl) |
Q_SCRIPTABLE Q_NOREPLY void | popupMessage (int x, int y, const QString &message) |
Q_SCRIPTABLE Q_NOREPLY void | printImage (bool usePrintDialog, bool useChartColors) |
Q_SCRIPTABLE Q_NOREPLY void | readConfig () |
Q_SCRIPTABLE Q_NOREPLY void | removeLabel (const QString &name) |
Q_SCRIPTABLE Q_NOREPLY void | removeTrail (const QString &name) |
Q_SCRIPTABLE Q_NOREPLY void | renderEyepieceView (const QString &objectName, const QString &destPathChart, const double fovWidth=-1.0, const double fovHeight=-1.0, const double rotation=0.0, const double scale=1.0, const bool flip=false, const bool invert=false, QString imagePath=QString(), const QString &destPathImage=QString(), const bool overlay=false, const bool invertColors=false) |
Q_SCRIPTABLE Q_NOREPLY void | setAltAz (double alt, double az, bool altIsRefracted=false) |
Q_SCRIPTABLE Q_NOREPLY void | setApproxFOV (double FOV_Degrees) |
Q_SCRIPTABLE Q_NOREPLY void | setColor (const QString &colorName, const QString &value) |
Q_SCRIPTABLE bool | setGeoLocation (const QString &city, const QString &province, const QString &country) |
Q_SCRIPTABLE bool | setGPSLocation (double longitude, double latitude, double elevation, double tz0) |
Q_SCRIPTABLE Q_NOREPLY void | setLocalTime (int yr, int mth, int day, int hr, int min, int sec) |
Q_SCRIPTABLE Q_NOREPLY void | setRaDec (double ra, double dec) |
Q_SCRIPTABLE Q_NOREPLY void | setRaDecJ2000 (double ra0, double dec0) |
Q_SCRIPTABLE Q_NOREPLY void | setTimeToNow () |
Q_SCRIPTABLE Q_NOREPLY void | setTracking (bool track) |
void | slotApplyConfigChanges () |
void | slotApplyWIConfigChanges () |
void | slotClearAllTrails () |
void | slotDownload () |
void | slotDSOCatalogGUI () |
void | slotFlagManager () |
void | slotGeoLocator () |
void | slotSetDomeEnabled (bool enable) |
void | slotSetTelescopeEnabled (bool enable) |
void | slotSetTimeToNow () |
void | slotSetZoom () |
void | slotShowPositionBar (SkyPoint *) |
void | slotToggleWIView () |
void | slotTrack () |
void | slotWISettings () |
void | slotWizard () |
void | slotZoomChanged () |
void | updateLocationFromWizard (const GeoLocation &geo) |
void | updateTime (const bool automaticDSTchange=true) |
Q_SCRIPTABLE Q_NOREPLY void | waitFor (double t) |
Q_SCRIPTABLE Q_NOREPLY void | waitForKey (const QString &k) |
WIView * | wiView () |
Q_SCRIPTABLE Q_NOREPLY void | writeConfig () |
Q_SCRIPTABLE Q_NOREPLY void | zoom (double z) |
Q_SCRIPTABLE Q_NOREPLY void | zoomIn () |
Q_SCRIPTABLE Q_NOREPLY void | zoomOut () |
Public Slots inherited from KXmlGuiWindow | |
virtual void | configureToolbars () |
virtual void | slotStateChanged (const QString &newstate) |
void | slotStateChanged (const QString &newstate, bool reverse) |
Public Slots inherited from KMainWindow | |
void | appHelpActivated () |
virtual void | setCaption (const QString &caption) |
virtual void | setCaption (const QString &caption, bool modified) |
virtual void | setPlainCaption (const QString &caption) |
void | setSettingsDirty () |
Public Member Functions | |
~KStars () override | |
void | addColorMenuItem (QString name, const QString &actionName) |
void | applyConfig (bool doApplyFocus=true) |
Q_SCRIPTABLE QString | colorScheme () const |
KStarsData * | data () const |
FlagManager * | flagManager () const |
WIEquipSettings * | getWIEquipSettings () |
void | hideAllFovExceptFirst () |
bool | isGUIReady () |
bool | isStartedWithClockRunning () |
SkyMap * | map () const |
PrintingWizard * | printingWizard () const |
void | releaseResources () |
void | removeColorMenuItem (const QString &actionName) |
void | repopulateHIPS () |
void | repopulateOrientation () |
void | repopulateViews () |
void | selectNextFov () |
void | selectNextView () |
void | selectPreviousFov () |
void | selectPreviousView () |
void | showImgExportDialog () |
void | showWI (ObsConditions *obs) |
void | showWISettingsUI () |
void | syncFOVActions () |
void | syncOps () |
Public Member Functions inherited from KXmlGuiWindow | |
KXmlGuiWindow (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) | |
void | applyMainWindowSettings (const KConfigGroup &config) override |
void | createGUI (const QString &xmlfile=QString()) |
void | createStandardStatusBarAction () |
void | finalizeGUI (bool force) |
bool | isCommandBarEnabled () const |
bool | isHelpMenuEnabled () const |
bool | isStandardToolBarMenuEnabled () const |
void | setCommandBarEnabled (bool showCommandBar) |
void | setHelpMenuEnabled (bool showHelpMenu=true) |
void | setStandardToolBarMenuEnabled (bool showToolBarMenu) |
void | setupGUI (const QSize &defaultSize, StandardWindowOptions options=Default, const QString &xmlfile=QString()) |
void | setupGUI (StandardWindowOptions options=Default, const QString &xmlfile=QString()) |
void | setupToolbarMenuActions () |
QAction * | toolBarMenuAction () |
Public Member Functions inherited from KMainWindow | |
KMainWindow (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) | |
KConfigGroup | autoSaveConfigGroup () const |
QString | autoSaveGroup () const |
bool | autoSaveSettings () const |
QString | dbusName () const |
bool | hasMenuBar () |
void | resetAutoSaveSettings () |
bool | restore (int numberOfInstances, bool show=true) |
void | saveMainWindowSettings (KConfigGroup &config) |
void | setAutoSaveSettings (const KConfigGroup &group, bool saveWindowSize=true) |
void | setAutoSaveSettings (const QString &groupName=QStringLiteral("MainWindow"), bool saveWindowSize=true) |
void | setStateConfigGroup (const QString &configGroup) |
KConfigGroup | stateConfigGroup () const |
KToolBar * | toolBar (const QString &name=QString()) |
QList< KToolBar * > | toolBars () const |
Public Member Functions inherited from QMainWindow | |
QMainWindow (QWidget *parent, Qt::WindowFlags flags) | |
void | addDockWidget (Qt::DockWidgetArea area, QDockWidget *dockwidget) |
void | addDockWidget (Qt::DockWidgetArea area, QDockWidget *dockwidget, Qt::Orientation orientation) |
QToolBar * | addToolBar (const QString &title) |
void | addToolBar (Qt::ToolBarArea area, QToolBar *toolbar) |
void | addToolBar (QToolBar *toolbar) |
void | addToolBarBreak (Qt::ToolBarArea area) |
QWidget * | centralWidget () const const |
Qt::DockWidgetArea | corner (Qt::Corner corner) const const |
virtual QMenu * | createPopupMenu () |
DockOptions | dockOptions () const const |
Qt::DockWidgetArea | dockWidgetArea (QDockWidget *dockwidget) const const |
bool | documentMode () const const |
QSize | iconSize () const const |
void | iconSizeChanged (const QSize &iconSize) |
void | insertToolBar (QToolBar *before, QToolBar *toolbar) |
void | insertToolBarBreak (QToolBar *before) |
bool | isAnimated () const const |
bool | isDockNestingEnabled () const const |
QMenuBar * | menuBar () const const |
QWidget * | menuWidget () const const |
void | removeDockWidget (QDockWidget *dockwidget) |
void | removeToolBar (QToolBar *toolbar) |
void | removeToolBarBreak (QToolBar *before) |
void | resizeDocks (const QList< QDockWidget * > &docks, const QList< int > &sizes, Qt::Orientation orientation) |
bool | restoreDockWidget (QDockWidget *dockwidget) |
bool | restoreState (const QByteArray &state, int version) |
QByteArray | saveState (int version) const const |
void | setAnimated (bool enabled) |
void | setCentralWidget (QWidget *widget) |
void | setCorner (Qt::Corner corner, Qt::DockWidgetArea area) |
void | setDockNestingEnabled (bool enabled) |
void | setDockOptions (DockOptions options) |
void | setDocumentMode (bool enabled) |
void | setIconSize (const QSize &iconSize) |
void | setMenuBar (QMenuBar *menuBar) |
void | setMenuWidget (QWidget *menuBar) |
void | setStatusBar (QStatusBar *statusbar) |
void | setTabPosition (Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition) |
void | setTabShape (QTabWidget::TabShape tabShape) |
void | setToolButtonStyle (Qt::ToolButtonStyle toolButtonStyle) |
void | setUnifiedTitleAndToolBarOnMac (bool set) |
void | splitDockWidget (QDockWidget *first, QDockWidget *second, Qt::Orientation orientation) |
QStatusBar * | statusBar () const const |
void | tabifiedDockWidgetActivated (QDockWidget *dockWidget) |
QList< QDockWidget * > | tabifiedDockWidgets (QDockWidget *dockwidget) const const |
void | tabifyDockWidget (QDockWidget *first, QDockWidget *second) |
QTabWidget::TabPosition | tabPosition (Qt::DockWidgetArea area) const const |
QTabWidget::TabShape | tabShape () const const |
QWidget * | takeCentralWidget () |
Qt::ToolBarArea | toolBarArea (const QToolBar *toolbar) const const |
bool | toolBarBreak (QToolBar *toolbar) const const |
Qt::ToolButtonStyle | toolButtonStyle () const const |
void | toolButtonStyleChanged (Qt::ToolButtonStyle toolButtonStyle) |
bool | unifiedTitleAndToolBarOnMac () const const |
Public Member Functions inherited from QWidget | |
QWidget (QWidget *parent, Qt::WindowFlags f) | |
bool | acceptDrops () const const |
QString | accessibleDescription () const const |
QString | accessibleName () const const |
QList< QAction * > | actions () const const |
void | activateWindow () |
QAction * | addAction (const QIcon &icon, const QString &text) |
QAction * | addAction (const QIcon &icon, const QString &text, Args &&... args) |
QAction * | addAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut) |
QAction * | addAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, Args &&... args) |
QAction * | addAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type) |
QAction * | addAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type) |
QAction * | addAction (const QString &text) |
QAction * | addAction (const QString &text, Args &&... args) |
QAction * | addAction (const QString &text, const QKeySequence &shortcut) |
QAction * | addAction (const QString &text, const QKeySequence &shortcut, Args &&... args) |
QAction * | addAction (const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type) |
QAction * | addAction (const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type) |
void | addAction (QAction *action) |
void | addActions (const QList< QAction * > &actions) |
void | adjustSize () |
bool | autoFillBackground () const const |
QPalette::ColorRole | backgroundRole () const const |
QBackingStore * | backingStore () const const |
QSize | baseSize () const const |
QWidget * | childAt (const QPoint &p) const const |
QWidget * | childAt (int x, int y) const const |
QRect | childrenRect () const const |
QRegion | childrenRegion () const const |
void | clearFocus () |
void | clearMask () |
bool | close () |
QMargins | contentsMargins () const const |
QRect | contentsRect () const const |
Qt::ContextMenuPolicy | contextMenuPolicy () const const |
QCursor | cursor () const const |
void | customContextMenuRequested (const QPoint &pos) |
WId | effectiveWinId () const const |
void | ensurePolished () const const |
Qt::FocusPolicy | focusPolicy () const const |
QWidget * | focusProxy () const const |
QWidget * | focusWidget () const const |
const QFont & | font () const const |
QFontInfo | fontInfo () const const |
QFontMetrics | fontMetrics () const const |
QPalette::ColorRole | foregroundRole () const const |
QRect | frameGeometry () const const |
QSize | frameSize () const const |
const QRect & | geometry () const const |
QPixmap | grab (const QRect &rectangle) |
void | grabGesture (Qt::GestureType gesture, Qt::GestureFlags flags) |
void | grabKeyboard () |
void | grabMouse () |
void | grabMouse (const QCursor &cursor) |
int | grabShortcut (const QKeySequence &key, Qt::ShortcutContext context) |
QGraphicsEffect * | graphicsEffect () const const |
QGraphicsProxyWidget * | graphicsProxyWidget () const const |
bool | hasEditFocus () const const |
bool | hasFocus () const const |
virtual bool | hasHeightForWidth () const const |
bool | hasMouseTracking () const const |
bool | hasTabletTracking () const const |
int | height () const const |
virtual int | heightForWidth (int w) const const |
void | hide () |
Qt::InputMethodHints | inputMethodHints () const const |
virtual QVariant | inputMethodQuery (Qt::InputMethodQuery query) const const |
void | insertAction (QAction *before, QAction *action) |
void | insertActions (QAction *before, const QList< QAction * > &actions) |
bool | isActiveWindow () const const |
bool | isAncestorOf (const QWidget *child) const const |
bool | isEnabled () const const |
bool | isEnabledTo (const QWidget *ancestor) const const |
bool | isFullScreen () const const |
bool | isHidden () const const |
bool | isMaximized () const const |
bool | isMinimized () const const |
bool | isModal () const const |
bool | isTopLevel () const const |
bool | isVisible () const const |
bool | isVisibleTo (const QWidget *ancestor) const const |
bool | isWindow () const const |
bool | isWindowModified () const const |
QLayout * | layout () const const |
Qt::LayoutDirection | layoutDirection () const const |
QLocale | locale () const const |
void | lower () |
QPoint | mapFrom (const QWidget *parent, const QPoint &pos) const const |
QPointF | mapFrom (const QWidget *parent, const QPointF &pos) const const |
QPoint | mapFromGlobal (const QPoint &pos) const const |
QPointF | mapFromGlobal (const QPointF &pos) const const |
QPoint | mapFromParent (const QPoint &pos) const const |
QPointF | mapFromParent (const QPointF &pos) const const |
QPoint | mapTo (const QWidget *parent, const QPoint &pos) const const |
QPointF | mapTo (const QWidget *parent, const QPointF &pos) const const |
QPoint | mapToGlobal (const QPoint &pos) const const |
QPointF | mapToGlobal (const QPointF &pos) const const |
QPoint | mapToParent (const QPoint &pos) const const |
QPointF | mapToParent (const QPointF &pos) const const |
QRegion | mask () const const |
int | maximumHeight () const const |
QSize | maximumSize () const const |
int | maximumWidth () const const |
int | minimumHeight () const const |
QSize | minimumSize () const const |
virtual QSize | minimumSizeHint () const const |
int | minimumWidth () const const |
void | move (const QPoint &) |
void | move (int x, int y) |
QWidget * | nativeParentWidget () const const |
QWidget * | nextInFocusChain () const const |
QRect | normalGeometry () const const |
void | overrideWindowFlags (Qt::WindowFlags flags) |
virtual QPaintEngine * | paintEngine () const const override |
const QPalette & | palette () const const |
QWidget * | parentWidget () const const |
QPoint | pos () const const |
QWidget * | previousInFocusChain () const const |
QWIDGETSIZE_MAX QWIDGETSIZE_MAX | |
void | raise () |
QRect | rect () const const |
void | releaseKeyboard () |
void | releaseMouse () |
void | releaseShortcut (int id) |
void | removeAction (QAction *action) |
void | render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, RenderFlags renderFlags) |
void | render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, RenderFlags renderFlags) |
void | repaint () |
void | repaint (const QRect &rect) |
void | repaint (const QRegion &rgn) |
void | repaint (int x, int y, int w, int h) |
void | resize (const QSize &) |
void | resize (int w, int h) |
bool | restoreGeometry (const QByteArray &geometry) |
QByteArray | saveGeometry () const const |
QScreen * | screen () const const |
void | scroll (int dx, int dy) |
void | scroll (int dx, int dy, const QRect &r) |
void | setAcceptDrops (bool on) |
void | setAccessibleDescription (const QString &description) |
void | setAccessibleName (const QString &name) |
void | setAttribute (Qt::WidgetAttribute attribute, bool on) |
void | setAutoFillBackground (bool enabled) |
void | setBackgroundRole (QPalette::ColorRole role) |
void | setBaseSize (const QSize &) |
void | setBaseSize (int basew, int baseh) |
void | setContentsMargins (const QMargins &margins) |
void | setContentsMargins (int left, int top, int right, int bottom) |
void | setContextMenuPolicy (Qt::ContextMenuPolicy policy) |
void | setCursor (const QCursor &) |
void | setDisabled (bool disable) |
void | setEditFocus (bool enable) |
void | setEnabled (bool) |
void | setFixedHeight (int h) |
void | setFixedSize (const QSize &s) |
void | setFixedSize (int w, int h) |
void | setFixedWidth (int w) |
void | setFocus () |
void | setFocus (Qt::FocusReason reason) |
void | setFocusPolicy (Qt::FocusPolicy policy) |
void | setFocusProxy (QWidget *w) |
void | setFont (const QFont &) |
void | setForegroundRole (QPalette::ColorRole role) |
void | setGeometry (const QRect &) |
void | setGeometry (int x, int y, int w, int h) |
void | setGraphicsEffect (QGraphicsEffect *effect) |
void | setHidden (bool hidden) |
void | setInputMethodHints (Qt::InputMethodHints hints) |
void | setLayout (QLayout *layout) |
void | setLayoutDirection (Qt::LayoutDirection direction) |
void | setLocale (const QLocale &locale) |
void | setMask (const QBitmap &bitmap) |
void | setMask (const QRegion ®ion) |
void | setMaximumHeight (int maxh) |
void | setMaximumSize (const QSize &) |
void | setMaximumSize (int maxw, int maxh) |
void | setMaximumWidth (int maxw) |
void | setMinimumHeight (int minh) |
void | setMinimumSize (const QSize &) |
void | setMinimumSize (int minw, int minh) |
void | setMinimumWidth (int minw) |
void | setMouseTracking (bool enable) |
void | setPalette (const QPalette &) |
void | setParent (QWidget *parent) |
void | setParent (QWidget *parent, Qt::WindowFlags f) |
void | setScreen (QScreen *screen) |
void | setShortcutAutoRepeat (int id, bool enable) |
void | setShortcutEnabled (int id, bool enable) |
void | setSizeIncrement (const QSize &) |
void | setSizeIncrement (int w, int h) |
void | setSizePolicy (QSizePolicy) |
void | setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) |
void | setStatusTip (const QString &) |
void | setStyle (QStyle *style) |
void | setStyleSheet (const QString &styleSheet) |
void | setTabletTracking (bool enable) |
void | setToolTip (const QString &) |
void | setToolTipDuration (int msec) |
void | setUpdatesEnabled (bool enable) |
void | setupUi (QWidget *widget) |
virtual void | setVisible (bool visible) |
void | setWhatsThis (const QString &) |
void | setWindowFilePath (const QString &filePath) |
void | setWindowFlag (Qt::WindowType flag, bool on) |
void | setWindowFlags (Qt::WindowFlags type) |
void | setWindowIcon (const QIcon &icon) |
void | setWindowIconText (const QString &) |
void | setWindowModality (Qt::WindowModality windowModality) |
void | setWindowModified (bool) |
void | setWindowOpacity (qreal level) |
void | setWindowRole (const QString &role) |
void | setWindowState (Qt::WindowStates windowState) |
void | setWindowTitle (const QString &) |
void | show () |
void | showFullScreen () |
void | showMaximized () |
void | showMinimized () |
void | showNormal () |
QSize | size () const const |
virtual QSize | sizeHint () const const |
QSize | sizeIncrement () const const |
QSizePolicy | sizePolicy () const const |
void | stackUnder (QWidget *w) |
QString | statusTip () const const |
QStyle * | style () const const |
QString | styleSheet () const const |
bool | testAttribute (Qt::WidgetAttribute attribute) const const |
QString | toolTip () const const |
int | toolTipDuration () const const |
QWidget * | topLevelWidget () const const |
bool | underMouse () const const |
void | ungrabGesture (Qt::GestureType gesture) |
void | unsetCursor () |
void | unsetLayoutDirection () |
void | unsetLocale () |
void | update () |
void | update (const QRect &rect) |
void | update (const QRegion &rgn) |
void | update (int x, int y, int w, int h) |
void | updateGeometry () |
bool | updatesEnabled () const const |
QRegion | visibleRegion () const const |
QString | whatsThis () const const |
int | width () const const |
QWidget * | window () const const |
QString | windowFilePath () const const |
Qt::WindowFlags | windowFlags () const const |
QWindow * | windowHandle () const const |
QIcon | windowIcon () const const |
void | windowIconChanged (const QIcon &icon) |
QString | windowIconText () const const |
void | windowIconTextChanged (const QString &iconText) |
Qt::WindowModality | windowModality () const const |
qreal | windowOpacity () const const |
QString | windowRole () const const |
Qt::WindowStates | windowState () const const |
QString | windowTitle () const const |
void | windowTitleChanged (const QString &title) |
Qt::WindowType | windowType () const const |
WId | winId () const const |
int | x () const const |
int | y () const const |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QBindable< QString > | bindableObjectName () |
bool | blockSignals (bool block) |
const QObjectList & | children () const const |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
bool | disconnect (const QObject *receiver, const char *method) const const |
void | dumpObjectInfo () const const |
void | dumpObjectTree () const const |
QList< QByteArray > | dynamicPropertyNames () const const |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
QList< T > | findChildren (Qt::FindChildOptions options) const const |
bool | inherits (const char *className) const const |
void | installEventFilter (QObject *filterObj) |
bool | isQuickItemType () const const |
bool | isWidgetType () const const |
bool | isWindowType () const const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const const |
void | moveToThread (QThread *targetThread) |
QString | objectName () const const |
void | objectNameChanged (const QString &objectName) |
QObject * | parent () const const |
QVariant | property (const char *name) const const |
Q_CLASSINFO (Name, Value) | |
Q_EMIT Q_EMIT | |
Q_ENUM (...) | |
Q_ENUM_NS (...) | |
Q_ENUMS (...) | |
Q_FLAG (...) | |
Q_FLAG_NS (...) | |
Q_FLAGS (...) | |
Q_GADGET Q_GADGET | |
Q_GADGET_EXPORT (EXPORT_MACRO) | |
Q_INTERFACES (...) | |
Q_INVOKABLE Q_INVOKABLE | |
Q_MOC_INCLUDE Q_MOC_INCLUDE | |
Q_NAMESPACE Q_NAMESPACE | |
Q_NAMESPACE_EXPORT (EXPORT_MACRO) | |
Q_OBJECT Q_OBJECT | |
Q_PROPERTY (...) | |
Q_REVISION Q_REVISION | |
Q_SET_OBJECT_NAME (Object) | |
Q_SIGNAL Q_SIGNAL | |
Q_SIGNALS Q_SIGNALS | |
Q_SLOT Q_SLOT | |
Q_SLOTS Q_SLOTS | |
T | qobject_cast (const QObject *object) |
T | qobject_cast (QObject *object) |
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
void | removeEventFilter (QObject *obj) |
void | setObjectName (const QString &name) |
void | setObjectName (QAnyStringView name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | setProperty (const char *name, QVariant &&value) |
bool | signalsBlocked () const const |
int | startTimer (int interval, Qt::TimerType timerType) |
int | startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType) |
QThread * | thread () const const |
Public Member Functions inherited from QPaintDevice | |
int | colorCount () const const |
int | depth () const const |
qreal | devicePixelRatio () const const |
qreal | devicePixelRatioF () const const |
int | height () const const |
int | heightMM () const const |
int | logicalDpiX () const const |
int | logicalDpiY () const const |
bool | paintingActive () const const |
int | physicalDpiX () const const |
int | physicalDpiY () const const |
int | width () const const |
int | widthMM () const const |
Public Member Functions inherited from KXMLGUIBuilder | |
virtual QWidget * | createContainer (QWidget *parent, int index, const QDomElement &element, QAction *&containerAction) |
virtual void | removeContainer (QWidget *container, QWidget *parent, QDomElement &element, QAction *containerAction) |
Public Member Functions inherited from KXMLGUIClient | |
KXMLGUIClient (KXMLGUIClient *parent) | |
virtual QAction * | action (const QDomElement &element) const |
QAction * | action (const QString &name) const |
virtual KActionCollection * | actionCollection () const |
QList< KXMLGUIClient * > | childClients () |
KXMLGUIBuilder * | clientBuilder () const |
virtual QString | componentName () const |
virtual QDomDocument | domDocument () const |
KXMLGUIFactory * | factory () const |
void | insertChildClient (KXMLGUIClient *child) |
KXMLGUIClient * | parentClient () const |
void | plugActionList (const QString &name, const QList< QAction * > &actionList) |
void | reloadXML () |
void | removeChildClient (KXMLGUIClient *child) |
void | replaceXMLFile (const QString &xmlfile, const QString &localxmlfile, bool merge=false) |
void | setClientBuilder (KXMLGUIBuilder *builder) |
void | setFactory (KXMLGUIFactory *factory) |
void | setXMLGUIBuildDocument (const QDomDocument &doc) |
void | unplugActionList (const QString &name) |
virtual QString | xmlFile () const |
QDomDocument | xmlguiBuildDocument () const |
Static Public Member Functions | |
static KStars * | createInstance (bool doSplash, bool clockrunning=true, const QString &startDateString=QString()) |
static KStars * | Instance () |
static bool | setResourceFile (QString const rc) |
Static Public Member Functions inherited from KMainWindow | |
static bool | canBeRestored (int numberOfInstances) |
static const QString | classNameOfToplevel (int instanceNumber) |
static QList< KMainWindow * > | memberList () |
Static Public Member Functions inherited from QWidget | |
QWidget * | createWindowContainer (QWindow *window, QWidget *parent, Qt::WindowFlags flags) |
QWidget * | find (WId id) |
QWidget * | keyboardGrabber () |
QWidget * | mouseGrabber () |
void | setTabOrder (QWidget *first, QWidget *second) |
void | setTabOrder (std::initializer_list< QWidget * > widgets) |
Static Public Member Functions inherited from QObject | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
bool | disconnect (const QMetaObject::Connection &connection) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
Static Public Member Functions inherited from KXMLGUIClient | |
static QString | findVersionNumber (const QString &xml) |
Static Public Attributes | |
static bool | Closing = false |
Additional Inherited Members | |
Public Types inherited from KXmlGuiWindow | |
enum | StandardWindowOption |
typedef QFlags< StandardWindowOption > | StandardWindowOptions |
Public Types inherited from QMainWindow | |
enum | DockOption |
typedef | DockOptions |
Public Types inherited from QWidget | |
enum | RenderFlag |
typedef | RenderFlags |
Public Types inherited from QObject | |
typedef | QObjectList |
Public Types inherited from QPaintDevice | |
enum | PaintDeviceMetric |
Public Attributes inherited from KXmlGuiWindow | |
Create | |
Default | |
Keys | |
Save | |
StatusBar | |
ToolBar | |
Public Attributes inherited from QMainWindow | |
AllowNestedDocks | |
AllowTabbedDocks | |
AnimatedDocks | |
ForceTabbedDocks | |
GroupedDragging | |
VerticalTabs | |
Public Attributes inherited from QWidget | |
DrawChildren | |
DrawWindowBackground | |
IgnoreMask | |
Public Attributes inherited from QPaintDevice | |
PdmDepth | |
PdmDevicePixelRatio | |
PdmDevicePixelRatioScaled | |
PdmDpiX | |
PdmDpiY | |
PdmHeight | |
PdmHeightMM | |
PdmNumColors | |
PdmPhysicalDpiX | |
PdmPhysicalDpiY | |
PdmWidth | |
PdmWidthMM | |
Protected Slots inherited from KXmlGuiWindow | |
virtual void | saveNewToolbarConfig () |
Protected Slots inherited from KMainWindow | |
void | saveAutoSaveSettings () |
Protected Member Functions inherited from KXmlGuiWindow | |
void | checkAmbiguousShortcuts () |
bool | event (QEvent *event) override |
Protected Member Functions inherited from KMainWindow | |
void | keyPressEvent (QKeyEvent *keyEvent) override |
virtual bool | queryClose () |
virtual void | readGlobalProperties (KConfig *sessionConfig) |
virtual void | readProperties (const KConfigGroup &) |
virtual void | saveGlobalProperties (KConfig *sessionConfig) |
virtual void | saveProperties (KConfigGroup &) |
bool | settingsDirty () const |
Protected Member Functions inherited from QMainWindow | |
virtual void | contextMenuEvent (QContextMenuEvent *event) override |
Protected Member Functions inherited from QWidget | |
virtual void | actionEvent (QActionEvent *event) |
virtual void | changeEvent (QEvent *event) |
void | create (WId window, bool initializeWindow, bool destroyOldWindow) |
void | destroy (bool destroyWindow, bool destroySubWindows) |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
virtual void | dragMoveEvent (QDragMoveEvent *event) |
virtual void | dropEvent (QDropEvent *event) |
virtual void | enterEvent (QEnterEvent *event) |
virtual void | focusInEvent (QFocusEvent *event) |
bool | focusNextChild () |
virtual bool | focusNextPrevChild (bool next) |
virtual void | focusOutEvent (QFocusEvent *event) |
bool | focusPreviousChild () |
virtual void | hideEvent (QHideEvent *event) |
virtual void | initPainter (QPainter *painter) const const override |
virtual void | inputMethodEvent (QInputMethodEvent *event) |
virtual void | keyReleaseEvent (QKeyEvent *event) |
virtual void | leaveEvent (QEvent *event) |
virtual int | metric (PaintDeviceMetric m) const const override |
virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
virtual void | moveEvent (QMoveEvent *event) |
virtual bool | nativeEvent (const QByteArray &eventType, void *message, qintptr *result) |
virtual void | paintEvent (QPaintEvent *event) |
virtual void | resizeEvent (QResizeEvent *event) |
virtual void | showEvent (QShowEvent *event) |
virtual void | tabletEvent (QTabletEvent *event) |
void | updateMicroFocus (Qt::InputMethodQuery query) |
virtual void | wheelEvent (QWheelEvent *event) |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Member Functions inherited from QPaintDevice | |
Protected Member Functions inherited from KXMLGUIClient | |
void | loadStandardsXmlFile () |
virtual void | setComponentName (const QString &componentName, const QString &componentDisplayName) |
virtual void | setDOMDocument (const QDomDocument &document, bool merge=false) |
virtual void | setLocalXMLFile (const QString &file) |
virtual void | setXML (const QString &document, bool merge=false) |
virtual void | setXMLFile (const QString &file, bool merge=false, bool setXMLDoc=true) |
virtual void | stateChanged (const QString &newstate, ReverseStateChange reverse=StateNoReverse) |
Static Protected Member Functions inherited from KXMLGUIClient | |
static QString | standardsXmlFileLocation () |
Detailed Description
This is the main window for KStars.
In addition to the GUI elements, the class contains the program clock, KStarsData, and SkyMap objects. It also contains functions for the DBus Interface D-Bus interface. KStars is now a singleton class. Use KStars::createInstance() to create an instance and KStars::Instance() to get a pointer to the instance
- Version
- 1.1
Property Documentation
◆ colorScheme
Constructor & Destructor Documentation
◆ ~KStars()
|
override |
Destructor.
Definition at line 248 of file kstars.cpp.
Member Function Documentation
◆ addColorMenuItem()
Add an item to the color-scheme action manu.
- Parameters
-
name The name to use in the menu actionName The internal name for the action (derived from filename)
Definition at line 2086 of file kstarsactions.cpp.
◆ addLabel
|
slot |
DBUS interface function.
Add a name label to the named object
- Parameters
-
name the name of the object to which the label will be attached
Definition at line 142 of file kstarsdbus.cpp.
◆ addTrail
|
slot |
DBUS interface function.
Add a trail to the named solar system body
- Parameters
-
name the name of the body to which the trail will be attached
Definition at line 162 of file kstarsdbus.cpp.
◆ applyConfig()
void KStars::applyConfig | ( | bool | doApplyFocus = true | ) |
Apply config options throughout the program.
In most cases, options are set in the "Options" object directly, but for some things we have to manually react to config changes.
- Parameters
-
doApplyFocus If true, then focus position will be set from config file
Note: This uses style sheets to set the dark colors, this should be cross platform. Palettes have a different behavior on OS X and Windows as opposed to Linux. It might be a good idea to use stylesheets in the future instead of palettes but this will work for now for OS X. This is also in KStarsDbus.cpp. If you change it, change it in BOTH places.
Definition at line 311 of file kstars.cpp.
◆ changeViewOption
DBUS interface function.
modify a view option.
- Parameters
-
option the name of the option to be modified value the option's new value
Definition at line 419 of file kstarsdbus.cpp.
◆ clearCachedFindDialog
|
slot |
Delete FindDialog because ObjNames list has changed in KStarsData due to reloading star data.
So list in FindDialog must be new filled with current data.
Definition at line 293 of file kstars.cpp.
◆ colorScheme()
QString KStars::colorScheme | ( | ) | const |
Definition at line 626 of file kstarsdbus.cpp.
◆ colorSchemeChanged
|
signal |
DBUS interface notification.
Color scheme was updated.
◆ createInstance()
|
static |
Create an instance of this class.
Destroy any previous instance
- Parameters
-
doSplash clockrunning startDateString
- Note
- See KStars::KStars for details on parameters
- Returns
- a pointer to the instance
Definition at line 239 of file kstars.cpp.
◆ data()
|
inline |
- Returns
- pointer to KStarsData object which contains application data.
◆ defaultZoom
|
slot |
DBUS interface function.
reset to the default zoom level.
Definition at line 197 of file kstarsdbus.cpp.
◆ drawLine
|
slot |
DBUS interface function.
Draw a line on the sky map.
- Note
- Not Yet Implemented
- Parameters
-
x1 starting x-coordinate of line y1 starting y-coordinate of line x2 ending x-coordinate of line y2 ending y-coordinate of line speed speed at which line should appear from start to end points (in pixels per second)
Definition at line 248 of file kstarsdbus.cpp.
◆ exportImage
|
slot |
DBUS interface function.
Export the sky image to a file.
- Parameters
-
filename the filename for the exported image width the width for the exported image. Map's width will be used if nothing or an invalid value is supplied. height the height for the exported image. Map's height will be used if nothing or an invalid value is supplied. includeLegend should we include a legend?
Definition at line 703 of file kstarsdbus.cpp.
◆ flagManager()
|
inline |
◆ getDSSURL [1/2]
DBUS interface function.
Return a URL to retrieve Digitized Sky Survey image.
- Parameters
-
objectName name of the object.
- Note
- If the object is note found, the string "ERROR" is returned.
Definition at line 719 of file kstarsdbus.cpp.
◆ getDSSURL [2/2]
|
slot |
DBUS interface function.
Return a URL to retrieve Digitized Sky Survey image.
- Parameters
-
RA_J2000 J2000.0 RA Dec_J2000 J2000.0 Declination width width of the image, in arcminutes (default = 15) height height of the image, in arcminutes (default = 15)
Definition at line 732 of file kstarsdbus.cpp.
◆ getFocusInformationXML
|
slot |
DBUS interface function.
Get the focus information as XML.
Definition at line 395 of file kstarsdbus.cpp.
◆ getObjectDataXML
|
slot |
DBUS interface function.
Return XML containing information about a sky object
- Parameters
-
objectName name of the object. fallbackToInternet Attempt to resolve the name using internet databases if not found storeInternetResolved If we fell back to the internet, save the result in DSO database for future offline access
- Note
- If the object was not found, the XML is empty.
Definition at line 738 of file kstarsdbus.cpp.
◆ getObjectPositionInfo
DBUS interface function.
Return XML containing position info about a sky object
- Parameters
-
objectName name of the object.
- Note
- If the object was not found, the XML is empty.
Definition at line 819 of file kstarsdbus.cpp.
◆ getObservingSessionPlanObjectNames
|
slot |
DBUS interface function.
Return a newline-separated list of objects in the observing session plan.
- Note
- Unfortunately, unnamed objects are troublesome. Hopefully, we don't have them on the observing list.
Definition at line 982 of file kstarsdbus.cpp.
◆ getObservingWishListObjectNames
|
slot |
DBUS interface function.
Return a newline-separated list of objects in the observing wishlist.
- Note
- Unfortunately, unnamed objects are troublesome. Hopefully, we don't have them on the observing list.
Definition at line 971 of file kstarsdbus.cpp.
◆ getOption
DBUS interface function.
- Parameters
-
name the name of the option to query
- Returns
- the current value of the named option
- Note
- Deprecated because it's not clear how to list the options
Definition at line 375 of file kstarsdbus.cpp.
◆ getSkyMapDimensions
|
slot |
DBUS interface function.
Get the dimensions of the Sky Map.
- Returns
- a string containing widthxheight in pixels.
Definition at line 998 of file kstarsdbus.cpp.
◆ getWIEquipSettings()
|
inline |
◆ hideAllFovExceptFirst()
void KStars::hideAllFovExceptFirst | ( | ) |
Definition at line 457 of file kstars.cpp.
◆ Instance()
|
inlinestatic |
◆ isGUIReady()
|
inline |
◆ isStartedWithClockRunning()
|
inline |
◆ isWIVisible
◆ loadColorScheme
|
slot |
DBUS interface function.
Load a color scheme.
- Parameters
-
name the name of the color scheme to load (e.g., "Moonless Night")
Definition at line 631 of file kstarsdbus.cpp.
◆ location
|
slot |
location Returns a JSON Object (as string) that contains the following information: name: String province: String country: String longitude: Double (-180 to +180) latitude: Double (-90 to +90) tz0 (Time zone without DST): Double tz (Time zone with DST): Double
- Returns
- Stringified JSON object as described above.
Definition at line 253 of file kstarsdbus.cpp.
◆ lookTowards
|
slot |
DBUS interface function.
Point in the direction described by the string argument.
- Parameters
-
direction either an object name, a compass direction (e.g., "north"), or "zenith"
Definition at line 75 of file kstarsdbus.cpp.
◆ map()
|
inline |
◆ openFITS
|
slot |
DBUS interface function.
Open FITS image.
- Parameters
-
imageUrl URL of FITS image to load. For a local file the prefix must be file:// For example if the file is located at /home/john/m42.fits then the full URL is file:///home/john/m42.fits
Definition at line 1057 of file kstarsdbus.cpp.
◆ popupMessage
|
slot |
DBUS interface function.
Show text message in a popup window.
- Note
- Not Yet Implemented
- Parameters
-
x x-coordinate for message window y y-coordinate for message window message the text to display in the message window
Definition at line 243 of file kstarsdbus.cpp.
◆ printImage
|
slot |
DBUS interface function.
Print the sky image.
- Parameters
-
usePrintDialog if true, the KDE print dialog will be shown; otherwise, default parameters will be used useChartColors if true, the "Star Chart" color scheme will be used for the printout, which will save ink.
Definition at line 1002 of file kstarsdbus.cpp.
◆ printingWizard()
|
inline |
◆ readConfig
|
slot |
DBUS interface function.
Read config file. This function is useful for restoring the user settings from the config file, after having modified the settings in memory.
- See also
- writeConfig()
Definition at line 350 of file kstarsdbus.cpp.
◆ releaseResources()
void KStars::releaseResources | ( | ) |
◆ removeColorMenuItem()
void KStars::removeColorMenuItem | ( | const QString & | actionName | ) |
Remove an item from the color-scheme action manu.
- Parameters
-
actionName The internal name of the action (derived from filename)
Definition at line 2108 of file kstarsactions.cpp.
◆ removeLabel
|
slot |
DBUS interface function.
Remove a name label from the named object
- Parameters
-
name the name of the object from which the label will be removed
Definition at line 152 of file kstarsdbus.cpp.
◆ removeTrail
|
slot |
DBUS interface function.
Remove a trail from the named solar system body
- Parameters
-
name the name of the object from which the trail will be removed
Definition at line 172 of file kstarsdbus.cpp.
◆ renderEyepieceView
|
slot |
DBUS interface function.
Render eyepiece view and save it in the file(s) specified
- Note
- See EyepieceField::renderEyepieceView() for more info. This is a DBus proxy that calls that method, and then writes the resulting image(s) to file(s).
- Important: If imagePath is empty, but overlay is true, or destPathImage is supplied, this method will make a blocking DSS download.
Definition at line 918 of file kstarsdbus.cpp.
◆ repopulateHIPS()
void KStars::repopulateHIPS | ( | ) |
Load HIPS information and repopulate menu.
Definition at line 852 of file kstarsinit.cpp.
◆ repopulateOrientation()
void KStars::repopulateOrientation | ( | ) |
Definition at line 731 of file kstarsinit.cpp.
◆ repopulateViews()
void KStars::repopulateViews | ( | ) |
Load Views and repopulate menu.
Definition at line 797 of file kstarsinit.cpp.
◆ selectNextFov()
void KStars::selectNextFov | ( | ) |
Definition at line 485 of file kstars.cpp.
◆ selectNextView()
void KStars::selectNextView | ( | ) |
Definition at line 558 of file kstars.cpp.
◆ selectPreviousFov()
void KStars::selectPreviousFov | ( | ) |
Definition at line 521 of file kstars.cpp.
◆ selectPreviousView()
void KStars::selectPreviousView | ( | ) |
Definition at line 571 of file kstars.cpp.
◆ setAltAz
|
slot |
DBUS interface function.
Set focus to given Alt/Az coordinates.
- Parameters
-
alt the Altitude coordinate for the focus (in Degrees) az the Azimuth coordinate for the focus (in Degrees) altIsRefracted If set to true, the altitude is interpreted as if it were corrected for atmospheric refraction (i.e. the altitude is an apparent altitude)
Definition at line 61 of file kstarsdbus.cpp.
◆ setApproxFOV
|
slot |
DBUS interface function.
Set the approx field-of-view
- Parameters
-
FOV_Degrees field of view in degrees
Definition at line 993 of file kstarsdbus.cpp.
◆ setColor
DBUS interface function.
Modify a color.
- Parameters
-
colorName the name of the color to be modified (e.g., "SkyColor") value the new color to use
Definition at line 616 of file kstarsdbus.cpp.
◆ setGeoLocation
|
slot |
DBUS interface function.
Set the geographic location.
- Parameters
-
city the city name of the location province the province name of the location country the country name of the location
- Returns
- True if geographic location is found and set, false otherwise.
Definition at line 271 of file kstarsdbus.cpp.
◆ setGPSLocation
|
slot |
DBUS interface function.
Set the GPS geographic location.
- Parameters
-
longitude longitude in degrees (-180 West to +180 East) latitude latitude in degrees (-90 South to +90 North) elevation site elevation in meters tz0 Time zone offset WITHOUT daylight saving time.
- Returns
- True if geographic location is set, false otherwise.
Definition at line 325 of file kstarsdbus.cpp.
◆ setLocalTime
|
slot |
DBUS interface function.
Set local time and date.
- Parameters
-
yr year of date mth month of date day day of date hr hour of time min minute of time sec second of time
Definition at line 202 of file kstarsdbus.cpp.
◆ setRaDec
|
slot |
DBUS interface function.
Set focus to given Ra/Dec coordinates
- Parameters
-
ra the Right Ascension coordinate for the focus (in Hours) dec the Declination coordinate for the focus (in Degrees)
Definition at line 44 of file kstarsdbus.cpp.
◆ setRaDecJ2000
|
slot |
DBUS interface function.
Set focus to given J2000.0 Ra/Dec coordinates
- Parameters
-
ra the J2000.0 Right Ascension coordinate for the focus (in Hours) dec the J2000.0 Declination coordinate for the focus (in Degrees)
Definition at line 51 of file kstarsdbus.cpp.
◆ setResourceFile()
|
static |
Override KStars UI resource file.
- Note
- This is used by UI tests, which need to use the same resources with a different app name
Definition at line 124 of file kstarsinit.cpp.
◆ setTimeToNow
|
slot |
DBUS interface function.
Set local time and date to present values acc. system clock
- Note
- Just a proxy for slotSetTimeToNow(), but it is better to keep the DBus interface separate from the internal methods.
Definition at line 207 of file kstarsdbus.cpp.
◆ setTracking
|
slot |
DBUS interface function.
Toggle tracking.
- Parameters
-
track engage tracking if true; else disengage tracking
Definition at line 237 of file kstarsdbus.cpp.
◆ showImgExportDialog()
void KStars::showImgExportDialog | ( | ) |
Definition at line 431 of file kstars.cpp.
◆ showWISettingsUI()
void KStars::showWISettingsUI | ( | ) |
Definition at line 586 of file kstars.cpp.
◆ slotApplyConfigChanges
|
slot |
Apply new settings and redraw skymap.
Definition at line 1215 of file kstarsactions.cpp.
◆ slotApplyWIConfigChanges
|
slot |
Apply new settings for WI.
Definition at line 1225 of file kstarsactions.cpp.
◆ slotClearAllTrails
|
slot |
Remove all trails which may have been added to solar system bodies.
Definition at line 2043 of file kstarsactions.cpp.
◆ slotDownload
|
slot |
action slot: open KNewStuff window to download extra data.
Definition at line 468 of file kstarsactions.cpp.
◆ slotDSOCatalogGUI
|
slot |
Show the DSO Catalog Management GUI.
Definition at line 2221 of file kstarsactions.cpp.
◆ slotFlagManager
|
slot |
action slot: open Flag Manager
Definition at line 668 of file kstarsactions.cpp.
◆ slotGeoLocator
|
slot |
action slot: open dialog for selecting a new geographic location
Definition at line 1048 of file kstarsactions.cpp.
◆ slotSetDomeEnabled
|
slot |
slotSetDomeEnabled call when dome comes online or goes offline.
- Parameters
-
enable True if dome is online and connected, false otherwise.
Definition at line 404 of file kstarsactions.cpp.
◆ slotSetTelescopeEnabled
|
slot |
slotSetTelescopeEnabled call when telescope comes online or goes offline.
- Parameters
-
enable True if telescope is online and connected, false otherwise.
Definition at line 392 of file kstarsactions.cpp.
◆ slotSetTimeToNow
|
slot |
action slot: sync kstars clock to system time
Definition at line 1268 of file kstarsactions.cpp.
◆ slotSetZoom
|
slot |
action slot: Allow user to specify a field-of-view angle for the display window in degrees, and set the zoom level accordingly.
Definition at line 1722 of file kstarsactions.cpp.
◆ slotShowPositionBar
|
slot |
Display position in the status bar.
Definition at line 2155 of file kstarsactions.cpp.
◆ slotToggleWIView
|
slot |
action slot: toggle What's Interesting window
Definition at line 595 of file kstarsactions.cpp.
◆ slotTrack
|
slot |
action slot: Toggle whether kstars is tracking current position
Definition at line 1585 of file kstarsactions.cpp.
◆ slotWISettings
|
slot |
action slot: open What's Interesting settings window
Definition at line 567 of file kstarsactions.cpp.
◆ slotWizard
|
slot |
action slot: open KStars startup wizard
Definition at line 425 of file kstarsactions.cpp.
◆ slotZoomChanged
|
slot |
Called when zoom level is changed.
Enables/disables zoom actions and updates status bar.
Definition at line 1694 of file kstarsactions.cpp.
◆ syncFOVActions()
void KStars::syncFOVActions | ( | ) |
Definition at line 437 of file kstars.cpp.
◆ syncOps()
void KStars::syncOps | ( | ) |
Sync Options to GUI, if any.
Definition at line 1204 of file kstarsactions.cpp.
◆ updateLocationFromWizard
|
slot |
Definition at line 436 of file kstarsactions.cpp.
◆ updateTime
|
slot |
Update time-dependent data and (possibly) repaint the sky map.
- Parameters
-
automaticDSTchange change DST status automatically?
Definition at line 592 of file kstars.cpp.
◆ waitFor
|
slot |
DBUS interface function.
Delay further execution of DBUS commands.
- Parameters
-
t number of seconds to delay
Definition at line 212 of file kstarsdbus.cpp.
◆ waitForKey
|
slot |
DBUS interface function.
Pause further DBUS execution until a key is pressed.
- Parameters
-
k the key which will resume DBUS execution
Definition at line 222 of file kstarsdbus.cpp.
◆ wiView
◆ writeConfig
|
slot |
DBUS interface function.
Write current settings to config file. This function is useful for storing user settings before modifying them with a DBUS script. The original settings can be restored with readConfig().
- See also
- readConfig()
Definition at line 367 of file kstarsdbus.cpp.
◆ zoom
|
slot |
DBUS interface function.
Set zoom level to specified value.
- Parameters
-
z the zoom level. Units are pixels per radian.
Definition at line 182 of file kstarsdbus.cpp.
◆ zoomIn
|
slot |
◆ zoomOut
|
slot |
Member Data Documentation
◆ Closing
|
static |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.