Kstars

mosaiccomponent.h
1 /* Mosaic Panel Component
2 
3  SPDX-FileCopyrightText: 2022 Jasem Mutlaq <[email protected]>
4 
5  SPDX-License-Identifier: GPL-2.0-or-later
6 */
7 
8 #pragma once
9 
10 #include "skycomponent.h"
11 #include <QSharedPointer>
12 
13 class 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 };
bool selected() override
Draws things on the sky, without regard to backend.
Definition: skypainter.h:39
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
MosaicComponent(SkyComposite *)
Constructor.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.