• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

animwidget.h

Go to the documentation of this file.
00001 /* ============================================================
00002  *
00003  * This file is a part of digiKam project
00004  * http://www.digikam.org
00005  *
00006  * Date        : 2004-09-21
00007  * Description : an animated busy widget
00008  * 
00009  * Copyright (C) 2004-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
00010  * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com> 
00011  *
00012  * This program is free software; you can redistribute it
00013  * and/or modify it under the terms of the GNU General
00014  * Public License as published by the Free Software Foundation;
00015  * either version 2, or (at your option)
00016  * any later version.
00017  * 
00018  * This program is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  * GNU General Public License for more details.
00022  * 
00023  * ============================================================ */
00024 
00025 #ifndef ANIMWIDGET_H
00026 #define ANIMWIDGET_H
00027 
00028 // Qt includes.
00029 
00030 #include <QWidget>
00031 #include <QPaintEvent>
00032 
00033 // Local includes.
00034 
00035 #include "digikam_export.h"
00036 
00037 namespace Digikam
00038 {
00039 
00040 class AnimWidgetPriv;
00041 
00042 class DIGIKAM_EXPORT AnimWidget : public QWidget
00043 {
00044     Q_OBJECT
00045     
00046 public:
00047 
00048     AnimWidget(QWidget* parent, int size=28);
00049     ~AnimWidget();
00050 
00051     void start();
00052     void stop();
00053     bool running() const;
00054 
00055 protected:
00056 
00057     void paintEvent(QPaintEvent*);
00058 
00059 private slots:
00060 
00061     void slotTimeout();
00062     
00063 private:
00064 
00065     AnimWidgetPriv* d;
00066 };
00067 
00068 }  // namespace Digikam
00069 
00070 #endif /* ANIMWIDGET_H */

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal