Kstars

kstarssplash.cpp
1/*
2 SPDX-FileCopyrightText: 2001 Heiko Evermann <heiko@evermann.de>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "kstarssplash.h"
8
9#include <KLocalizedString>
10#include <QStandardPaths>
11#include "kspaths.h"
12
14{
15 /*Background for kstars.png is called "Venus and The Night Sky Over Mammoth"(https://www.flickr.com/photos/newdimensionfilms/7108632527)
16 *It was provided by John Lemieux (https://www.flickr.com/photos/newdimensionfilms/) and is licensed under CC BY 2.0 (https://creativecommons.org/licenses/by/2.0/)*/
17 setPixmap(KSPaths::locate(QStandardPaths::AppLocalDataLocation, "kstars.png"));
18 setMessage(customMessage.isEmpty() ? i18n("Welcome to KStars. Please stand by while loading...") : customMessage);
19}
20
void setMessage(const QString &s)
Display the text argument in the Splash Screen's status label.
KStarsSplash(const QString &customMessage="")
Constructor.
QString i18n(const char *text, const TYPE &arg...)
QString message() const const
void setPixmap(const QPixmap &pixmap)
void showMessage(const QString &message, int alignment, const QColor &color)
bool isEmpty() const const
AlignBottom
lightGray
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.