Search for usage in LXR

#include <fitsviewer.h>

Inheritance diagram for FITSViewer:


void closed (int tabUID)
void failed (const QString &errorMessage)
void loaded (int tabUID)
void terminated ()
void trackingStarSelected (int x, int y)

Public Slots

void applyFilter (int ftype)
void blink ()
void centerTelescope ()
void changeAlwaysOnTop (Qt::ApplicationState state)
void closeTab (int index)
void copyFITS ()
void customROIInputWindow ()
void debayerFITS ()
void flipHorizontal ()
void flipVertical ()
void headerFITS ()
void histoFITS ()
void nextBlink ()
void nextTab ()
void openFile ()
void previousBlink ()
void previousTab ()
void ROIFixedSize (int s)
void rotateCCW ()
void rotateCW ()
void saveFile ()
void saveFileAs ()
void setDebayerAction (bool)
void starProfileButtonOff ()
void statFITS ()
void tabFocusUpdated (int currentIndex)
void toggle3DGraph ()
void toggleClipping ()
void toggleCrossHair ()
void toggleEQGrid ()
void toggleHiPSOverlay ()
void toggleObjects ()
void togglePixelGrid ()
void toggleSelectionMode ()
void toggleStars ()
void updateAction (const QString &name, bool enable)
void updateScopeButton ()
void updateStatusBar (const QString &msg, FITSBar id)
void updateTabStatus (bool clean, const QUrl &imageURL)
void updateWCSFunctions ()
void ZoomAllIn ()
void ZoomAllOut ()
void ZoomDefault ()
void ZoomIn ()
void ZoomOut ()
void ZoomToFit ()
- 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

 FITSViewer (QWidget *parent)
bool empty () const
bool getCurrentView (QSharedPointer< FITSView > &view)
bool getView (int fitsUID, QSharedPointer< FITSView > &view)
bool isStarsMarked ()
bool loadData (const QSharedPointer< FITSData > &data, const QUrl &imageName, int *tab_uid, FITSMode mode=FITS_NORMAL, FITSScale filter=FITS_NONE, const QString &previewText=QString())
void loadFile (const QUrl &imageName, FITSMode mode=FITS_NORMAL, FITSScale filter=FITS_NONE, const QString &previewText=QString())
bool removeFITS (int fitsUID)
const QList< QSharedPointer< FITSTab > > tabs () const
bool updateData (const QSharedPointer< FITSData > &data, const QUrl &imageName, int fitsUID, int *tab_uid, FITSScale filter=FITS_NONE, FITSMode mode=FITS_UNKNOWN)
void updateFile (const QUrl &imageName, int fitsUID, FITSScale filter=FITS_NONE)
- 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 ()
QActiontoolBarMenuAction ()
- 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
KToolBartoolBar (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)
QToolBaraddToolBar (const QString &title)
void addToolBar (Qt::ToolBarArea area, QToolBar *toolbar)
void addToolBar (QToolBar *toolbar)
void addToolBarBreak (Qt::ToolBarArea area)
QWidgetcentralWidget () const const
Qt::DockWidgetArea corner (Qt::Corner corner) const const
virtual QMenucreatePopupMenu ()
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
QMenuBarmenuBar () const const
QWidgetmenuWidget () 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)
QStatusBarstatusBar () 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
QWidgettakeCentralWidget ()
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 ()
QActionaddAction (const QIcon &icon, const QString &text)
QActionaddAction (const QIcon &icon, const QString &text, Args &&... args)
QActionaddAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut)
QActionaddAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, Args &&... args)
QActionaddAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type)
QActionaddAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type)
QActionaddAction (const QString &text)
QActionaddAction (const QString &text, Args &&... args)
QActionaddAction (const QString &text, const QKeySequence &shortcut)
QActionaddAction (const QString &text, const QKeySequence &shortcut, Args &&... args)
QActionaddAction (const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type)
QActionaddAction (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
QBackingStorebackingStore () const const
QSize baseSize () const const
QWidgetchildAt (const QPoint &p) const const
QWidgetchildAt (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
QWidgetfocusProxy () const const
QWidgetfocusWidget () const const
const QFontfont () const const
QFontInfo fontInfo () const const
QFontMetrics fontMetrics () const const
QPalette::ColorRole foregroundRole () const const
QRect frameGeometry () const const
QSize frameSize () const const
const QRectgeometry () 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)
QGraphicsEffectgraphicsEffect () const const
QGraphicsProxyWidgetgraphicsProxyWidget () 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
QLayoutlayout () 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)
QWidgetnativeParentWidget () const const
QWidgetnextInFocusChain () const const
QRect normalGeometry () const const
void overrideWindowFlags (Qt::WindowFlags flags)
virtual QPaintEnginepaintEngine () const const override
const QPalettepalette () const const
QWidgetparentWidget () const const
QPoint pos () const const
QWidgetpreviousInFocusChain () const const
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
QScreenscreen () 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 &region)
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
QStylestyle () const const
QString styleSheet () const const
bool testAttribute (Qt::WidgetAttribute attribute) const const
QString toolTip () const const
int toolTipDuration () const const
QWidgettopLevelWidget () 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
QWidgetwindow () const const
QString windowFilePath () const const
Qt::WindowFlags windowFlags () const const
QWindowwindowHandle () 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< QStringbindableObjectName ()
bool blockSignals (bool block)
const QObjectListchildren () 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< QByteArraydynamicPropertyNames () const const
virtual bool eventFilter (QObject *watched, QEvent *event)
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 QMetaObjectmetaObject () const const
void moveToThread (QThread *targetThread)
QString objectName () const const
void objectNameChanged (const QString &objectName)
QObjectparent () const const
QVariant property (const char *name) const const
 Q_CLASSINFO (Name, Value)
 Q_ENUM (...)
 Q_ENUM_NS (...)
 Q_ENUMS (...)
 Q_FLAG (...)
 Q_FLAG_NS (...)
 Q_FLAGS (...)
qobject_cast (const QObject *object)
qobject_cast (QObject *object)
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)
QThreadthread () 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 QWidgetcreateContainer (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 QActionaction (const QDomElement &element) const
QActionaction (const QString &name) const
virtual KActionCollectionactionCollection () const
QList< KXMLGUIClient * > childClients ()
KXMLGUIBuilderclientBuilder () const
virtual QString componentName () const
virtual QDomDocument domDocument () const
KXMLGUIFactoryfactory () const
void insertChildClient (KXMLGUIClient *child)
KXMLGUIClientparentClient () 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 Attributes

static QStringList filterTypes

Protected Member Functions

void closeEvent (QCloseEvent *) override
void hideEvent (QHideEvent *) override
void showEvent (QShowEvent *) override
- Protected Member Functions inherited from KXmlGuiWindow
void checkAmbiguousShortcuts ()
bool event (QEvent *event) override
- Protected Member Functions inherited from KMainWindow
void closeEvent (QCloseEvent *) override
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 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 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
QObjectsender () const const
int senderSignalIndex () const const
virtual void timerEvent (QTimerEvent *event)
- 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)

Additional Inherited Members

- Public Types inherited from KXmlGuiWindow
enum  StandardWindowOption
typedef QFlags< StandardWindowOptionStandardWindowOptions
- Public Types inherited from QMainWindow
enum  DockOption
- Public Types inherited from QWidget
enum  RenderFlag
- Public Types inherited from QPaintDevice
enum  PaintDeviceMetric
- Properties inherited from QMainWindow
- Properties inherited from QWidget
- Properties inherited from QObject
- 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
QWidgetcreateWindowContainer (QWindow *window, QWidget *parent, Qt::WindowFlags flags)
QWidgetfind (WId id)
QWidgetkeyboardGrabber ()
QWidgetmouseGrabber ()
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)
- Public Attributes inherited from KXmlGuiWindow
- Public Attributes inherited from QMainWindow
typedef DockOptions
- Public Attributes inherited from QWidget
typedef RenderFlags
- Public Attributes inherited from QObject
typedef QObjectList
- Public Attributes inherited from QPaintDevice
- Protected Slots inherited from KXmlGuiWindow
virtual void saveNewToolbarConfig ()
- Protected Slots inherited from KMainWindow
void saveAutoSaveSettings ()
- Static Protected Member Functions inherited from KXMLGUIClient
static QString standardsXmlFileLocation ()

Detailed Description

Primary window to view monochrome and color FITS images.

The FITSviewer can open multiple images each in a separate. It supports simple filters, histogram transforms, flip and rotation operations, and star detection.

Jasem Mutlaq

Definition at line 49 of file fitsviewer.h.

Constructor & Destructor Documentation

◆ FITSViewer()

FITSViewer::FITSViewer ( QWidget * parent)


Definition at line 46 of file fitsviewer.cpp.

◆ ~FITSViewer()

FITSViewer::~FITSViewer ( )

Definition at line 349 of file fitsviewer.cpp.

Member Function Documentation

◆ applyFilter

void FITSViewer::applyFilter ( int ftype)

Definition at line 1575 of file fitsviewer.cpp.

◆ blink

void FITSViewer::blink ( )

Definition at line 861 of file fitsviewer.cpp.

◆ centerTelescope

void FITSViewer::centerTelescope ( )

This method either enables or disables the scope mouse mode so you can slew your scope to coordinates just by clicking the mouse on a spot in the image.

Definition at line 1402 of file fitsviewer.cpp.

◆ changeAlwaysOnTop

void FITSViewer::changeAlwaysOnTop ( Qt::ApplicationState state)

Definition at line 337 of file fitsviewer.cpp.

◆ closeEvent()

void FITSViewer::closeEvent ( QCloseEvent * )

Reimplemented from QWidget.

Definition at line 353 of file fitsviewer.cpp.

◆ closeTab

void FITSViewer::closeTab ( int index)

Definition at line 1217 of file fitsviewer.cpp.

◆ copyFITS

void FITSViewer::copyFITS ( )

Definition at line 1030 of file fitsviewer.cpp.

◆ customROIInputWindow

void FITSViewer::customROIInputWindow ( )

Definition at line 1335 of file fitsviewer.cpp.

◆ debayerFITS

void FITSViewer::debayerFITS ( )

Definition at line 1082 of file fitsviewer.cpp.

◆ empty()

bool FITSViewer::empty ( ) const

Definition at line 75 of file fitsviewer.h.

◆ flipHorizontal

void FITSViewer::flipHorizontal ( )

Definition at line 1064 of file fitsviewer.cpp.

◆ flipVertical

void FITSViewer::flipVertical ( )

Definition at line 1069 of file fitsviewer.cpp.

◆ getCurrentView()

bool FITSViewer::getCurrentView ( QSharedPointer< FITSView > & view)

Definition at line 1602 of file fitsviewer.cpp.

◆ getView()

bool FITSViewer::getView ( int fitsUID,
QSharedPointer< FITSView > & view )

Definition at line 1590 of file fitsviewer.cpp.

◆ headerFITS

void FITSViewer::headerFITS ( )

Definition at line 1074 of file fitsviewer.cpp.

◆ hideEvent()

void FITSViewer::hideEvent ( QHideEvent * )

Reimplemented from QWidget.

Definition at line 372 of file fitsviewer.cpp.

◆ histoFITS

void FITSViewer::histoFITS ( )

Definition at line 1038 of file fitsviewer.cpp.

◆ isStarsMarked()

bool FITSViewer::isStarsMarked ( )

Definition at line 70 of file fitsviewer.h.

◆ loadData()

bool FITSViewer::loadData ( const QSharedPointer< FITSData > & data,
const QUrl & imageName,
int * tab_uid,
FITSScale filter = FITS_NONE,
const QString & previewText = QString() )

Definition at line 609 of file fitsviewer.cpp.

◆ loadFile()

void FITSViewer::loadFile ( const QUrl & imageName,
FITSScale filter = FITS_NONE,
const QString & previewText = QString() )

Definition at line 576 of file fitsviewer.cpp.

◆ nextBlink

void FITSViewer::nextBlink ( )

Definition at line 982 of file fitsviewer.cpp.

◆ nextTab

void FITSViewer::nextTab ( )

Definition at line 1526 of file fitsviewer.cpp.

◆ openFile

void FITSViewer::openFile ( )

Definition at line 992 of file fitsviewer.cpp.

◆ previousBlink

void FITSViewer::previousBlink ( )

Definition at line 987 of file fitsviewer.cpp.

◆ previousTab

void FITSViewer::previousTab ( )

Definition at line 1540 of file fitsviewer.cpp.

◆ removeFITS()

bool FITSViewer::removeFITS ( int fitsUID)

Definition at line 644 of file fitsviewer.cpp.

◆ ROIFixedSize

void FITSViewer::ROIFixedSize ( int s)

Definition at line 1318 of file fitsviewer.cpp.

◆ rotateCCW

void FITSViewer::rotateCCW ( )

Definition at line 1059 of file fitsviewer.cpp.

◆ rotateCW

void FITSViewer::rotateCW ( )

Definition at line 1054 of file fitsviewer.cpp.

◆ saveFile

void FITSViewer::saveFile ( )

Definition at line 1014 of file fitsviewer.cpp.

◆ saveFileAs

void FITSViewer::saveFileAs ( )

Definition at line 1019 of file fitsviewer.cpp.

◆ setDebayerAction

void FITSViewer::setDebayerAction ( bool enable)

Definition at line 1611 of file fitsviewer.cpp.

◆ showEvent()

void FITSViewer::showEvent ( QShowEvent * )

Reimplemented from QWidget.

Definition at line 389 of file fitsviewer.cpp.

◆ starProfileButtonOff

void FITSViewer::starProfileButtonOff ( )

Definition at line 824 of file fitsviewer.cpp.

◆ statFITS

void FITSViewer::statFITS ( )

Definition at line 1046 of file fitsviewer.cpp.

◆ tabFocusUpdated

void FITSViewer::tabFocusUpdated ( int currentIndex)

Definition at line 768 of file fitsviewer.cpp.

◆ tabs()

const QList< QSharedPointer< FITSTab > > FITSViewer::tabs ( ) const

Definition at line 79 of file fitsviewer.h.

◆ toggle3DGraph

void FITSViewer::toggle3DGraph ( )

Definition at line 1513 of file fitsviewer.cpp.

◆ toggleClipping

void FITSViewer::toggleClipping ( )

Definition at line 1434 of file fitsviewer.cpp.

◆ toggleCrossHair

void FITSViewer::toggleCrossHair ( )

Definition at line 1421 of file fitsviewer.cpp.

◆ toggleEQGrid

void FITSViewer::toggleEQGrid ( )

Definition at line 1448 of file fitsviewer.cpp.

◆ toggleHiPSOverlay

void FITSViewer::toggleHiPSOverlay ( )

Definition at line 1461 of file fitsviewer.cpp.

◆ toggleObjects

void FITSViewer::toggleObjects ( )

Definition at line 1487 of file fitsviewer.cpp.

◆ togglePixelGrid

void FITSViewer::togglePixelGrid ( )

Definition at line 1500 of file fitsviewer.cpp.

◆ toggleSelectionMode

void FITSViewer::toggleSelectionMode ( )

Definition at line 1474 of file fitsviewer.cpp.

◆ toggleStars

void FITSViewer::toggleStars ( )

Definition at line 1555 of file fitsviewer.cpp.

◆ updateAction

void FITSViewer::updateAction ( const QString & name,
bool enable )

Definition at line 1194 of file fitsviewer.cpp.

◆ updateData()

bool FITSViewer::updateData ( const QSharedPointer< FITSData > & data,
const QUrl & imageName,
int fitsUID,
int * tab_uid,
FITSScale filter = FITS_NONE,

Definition at line 744 of file fitsviewer.cpp.

◆ updateFile()

void FITSViewer::updateFile ( const QUrl & imageName,
int fitsUID,
FITSScale filter = FITS_NONE )

Definition at line 665 of file fitsviewer.cpp.

◆ updateScopeButton

void FITSViewer::updateScopeButton ( )

Definition at line 1302 of file fitsviewer.cpp.

◆ updateStatusBar

void FITSViewer::updateStatusBar ( const QString & msg,
FITSBar id )

Definition at line 1099 of file fitsviewer.cpp.

◆ updateTabStatus

void FITSViewer::updateTabStatus ( bool clean,
const QUrl & imageURL )

Definition at line 1202 of file fitsviewer.cpp.

◆ updateWCSFunctions

void FITSViewer::updateWCSFunctions ( )

This is a method that either enables or disables the WCS based features in the Current View.

Definition at line 1266 of file fitsviewer.cpp.

◆ ZoomAllIn

void FITSViewer::ZoomAllIn ( )

Definition at line 1134 of file fitsviewer.cpp.

◆ ZoomAllOut

void FITSViewer::ZoomAllOut ( )

Definition at line 1147 of file fitsviewer.cpp.

◆ ZoomDefault

void FITSViewer::ZoomDefault ( )

Definition at line 1176 of file fitsviewer.cpp.

◆ ZoomIn

void FITSViewer::ZoomIn ( )

Definition at line 1160 of file fitsviewer.cpp.

◆ ZoomOut

void FITSViewer::ZoomOut ( )

Definition at line 1168 of file fitsviewer.cpp.

◆ ZoomToFit

void FITSViewer::ZoomToFit ( )

Definition at line 1184 of file fitsviewer.cpp.

Member Data Documentation

◆ filterTypes

QStringList FITSViewer::filterTypes
Initial value:
QStringList() << I18N_NOOP("Auto Stretch") << I18N_NOOP("High Contrast") << I18N_NOOP("Equalize")
<< I18N_NOOP("High Pass") << I18N_NOOP("Median") << I18N_NOOP("Gaussian blur")
<< I18N_NOOP("Rotate Right") << I18N_NOOP("Rotate Left") << I18N_NOOP("Flip Horizontal")
<< I18N_NOOP("Flip Vertical")

Definition at line 86 of file fitsviewer.h.

The documentation for this class was generated from the following files:
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

KDE's Doxygen guidelines are available online.