Kstars

mosaiccomponent.h
1/* Mosaic Panel Component
2
3 SPDX-FileCopyrightText: 2022 Jasem Mutlaq <mutlaqja@ikarustech.com>
4
5 SPDX-License-Identifier: GPL-2.0-or-later
6*/
7
8#pragma once
9
10#include "skycomponent.h"
11#include <QSharedPointer>
12
13class MosaicTiles;
14
15/**
16 * @class MosaicComponent
17 * Renders Mosaic Panel on Sky Map in either of two modes depending on scheduler.
18 * + Scheduler Idle: Mosaic Panel is rendered in Planning mode where user can pan and adjust location in order to create jobs for the scheduler.
19 * + Scheduler Active: Mosaic Panel is locked to the sky map and each tile shows the progress, how images captured, which tile is next and when.
20 * @author Jasem Mutlaq
21 * @version 1.0
22 */
24{
25 public:
26 /** Constructor */
27 explicit MosaicComponent(SkyComposite *);
28
29 virtual ~MosaicComponent() override = default;
30
31 bool selected() override;
32 void draw(SkyPainter *skyp) override;
33
34 const QSharedPointer<MosaicTiles> tiles() const;
35
36 private:
37
38 QSharedPointer<MosaicTiles> m_MosaicTiles;
39};
Renders Mosaic Panel on Sky Map in either of two modes depending on scheduler.
MosaicComponent(SkyComposite *)
Constructor.
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
bool selected() override
SkyComponent represents an object on the sky map.
SkyComposite is a kind of container class for SkyComponent objects.
Draws things on the sky, without regard to backend.
Definition skypainter.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.