• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

  • knewstuff
  • knewstuff3
  • ui
progressindicator.h
Go to the documentation of this file.
1/*
2 This file is part of KNewStuff2.
3 Copyright (c) 2007 Josef Spillner <spillner@kde.org>
4 Copyright (c) 2008 Jeremy Whiting <jpwhiting@kde.org>
5 Copyright (c) 2009-2010 Frederik Gladhorn <gladhorn@kde.org>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#ifndef KNEWSTUFF3_UI_PROGRESSINDICATOR_H
22#define KNEWSTUFF3_UI_PROGRESSINDICATOR_H
23
24#include <QtGui/QFrame>
25#include <kpixmapsequence.h>
26
27class QVBoxLayout;
28class QLabel;
29class QString;
30class KPixmapSequenceWidget;
31
32namespace KNS3 {
33
42class ProgressIndicator : public QFrame
43{
44 Q_OBJECT
45public:
46 ProgressIndicator(QWidget *parent);
47
48public Q_SLOTS:
49 void busy(const QString& message);
50 void error(const QString& message);
51 void idle(const QString& message);
52
53private:
54 QLabel* m_statusLabel;
55 KPixmapSequenceWidget* busyWidget;
56
57 KPixmapSequence m_busyPixmap;
58 KPixmapSequence m_errorPixmap;
59};
60}
61
62#endif
KNS3::ProgressIndicator
Embedded progress indicator for the download dialog.
Definition: progressindicator.h:43
KNS3::ProgressIndicator::busy
void busy(const QString &message)
Definition: progressindicator.cpp:56
KNS3::ProgressIndicator::error
void error(const QString &message)
Definition: progressindicator.cpp:63
KNS3::ProgressIndicator::idle
void idle(const QString &message)
Definition: progressindicator.cpp:70
KPixmapSequenceWidget
KPixmapSequence
QFrame
QLabel
QWidget
kpixmapsequence.h
message
void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
KNS3
Definition: atticaprovider.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal