Kstars

skyopacitynode.h
1/*
2 SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com>
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};
A wrapper for QSGOpacityNode that provides hide() and show() functions.
virtual void show()
makes this node visible
virtual void hide()
hides this node
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.