Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

scprogressbar.h

Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008                           scrpogressbar.cpp  -  description
00009                              -------------------
00010     begin                : Sat Jan 19 2002
00011     copyright            : (C) 2006 by Craig Bradney
00012     email                : cbradney@zip.com.au
00013  ***************************************************************************/
00014 
00015 /***************************************************************************
00016  *                                                                         *
00017  *   This program is free software; you can redistribute it and/or modify  *
00018  *   it under the terms of the GNU General Public License as published by  *
00019  *   the Free Software Foundation; either version 2 of the License, or     *
00020  *   (at your option) any later version.                                   *
00021  *                                                                         *
00022  ***************************************************************************/
00023 #ifndef SCPROGRESSBAR_H
00024 #define SCPROGRESSBAR_H
00025 
00026 #include <QProgressBar>
00027 
00031 class ScProgressBar : public QProgressBar
00032 {
00033     Q_OBJECT
00034     
00035     public:
00036         ScProgressBar( bool showNumbers, QWidget *parent=0);
00037         ScProgressBar( bool showNumbers, int totalSteps, QWidget* parent=0);
00038         virtual bool setIndicator( QString & indicator, int progress, int totalSteps );
00039 
00040         ~ScProgressBar();
00041         
00042     protected:
00043         bool m_useNumeric;
00044 
00045 };
00046 
00047 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.