Kstars

skyopacitynode.h
1 /*
2  SPDX-FileCopyrightText: 2016 Artem Fedoskin <[email protected]>
3  SPDX-License-Identifier: GPL-2.0-or-later
4 */
5 
6 #pragma once
7 
8 #include <QSGOpacityNode>
9 
10 /**
11  * @class SkyOpacityNode
12  *
13  * @short A wrapper for QSGOpacityNode that provides hide() and show() functions. If node is invisible
14  * (opacity is 0) it won't be rendered.
15  *
16  * @author Artem Fedoskin
17  * @version 1.0
18  */
19 
21 {
22  public:
24 
25  /** @short makes this node visible */
26  virtual void show();
27 
28  /** @short hides this node */
29  virtual void hide();
30 
31  /** @return true if node is visible */
32  bool visible();
33 };
virtual void show()
makes this node visible
A wrapper for QSGOpacityNode that provides hide() and show() functions. If node is invisible (opacity...
virtual void hide()
hides this node
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.