Kstars

summaryfitsview.h
1/*
2 SPDX-FileCopyrightText: 2021 Wolfgang Reissenberger <sterne-jaeger@openfuture.de>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#pragma once
8
9#include <QObject>
10#include <QAction>
11#include <QToolBar>
12
13#include "fitsview.h"
14
15class SummaryFITSView : public FITSView
16{
18
19public:
20 explicit SummaryFITSView(QWidget *parent = nullptr);
21
22 // Floating toolbar
23 void createFloatingToolBar();
24
25 // process information widget
26 QWidget *processInfoWidget;
27
28public slots:
29 // process information
30 void showProcessInfo(bool show);
31 void toggleShowProcessInfo() {showProcessInfo(!m_showProcessInfo);}
32
33 void resizeEvent(QResizeEvent *event) override;
34
35private:
36 // floating bar
37 bool m_showProcessInfo { false };
38 QAction *toggleProcessInfoAction { nullptr };
39
40};
Q_OBJECTQ_OBJECT
QObject * parent() const const
void show()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:26 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.