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 
12 class MosaicTiles;
13 
14 /**
15  * @class MosaicComponent
16  * Renders Mosaic Panel on Sky Map in either of two modes depending on scheduler.
17  * + Scheduler Idle: Mosaic Panel is rendered in Planning mode where user can pan and adjust location in order to create jobs for the scheduler.
18  * + 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.
19  * @author Jasem Mutlaq
20  * @version 1.0
21  */
23 {
24  public:
25  /** Constructor */
26  explicit MosaicComponent(SkyComposite *);
27 
28  virtual ~MosaicComponent() override = default;
29 
30  bool selected() override;
31  void draw(SkyPainter *skyp) override;
32 
33  const QSharedPointer<MosaicTiles> tiles() const;
34 
35  private:
36 
37  QSharedPointer<MosaicTiles> m_MosaicTiles;
38 };
bool selected() override
Draws things on the sky, without regard to backend.
Definition: skypainter.h:37
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-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.