diff options
Diffstat (limited to 'dldialog/src/DLD_QT/dld_gauge.h')
-rw-r--r-- | dldialog/src/DLD_QT/dld_gauge.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dldialog/src/DLD_QT/dld_gauge.h b/dldialog/src/DLD_QT/dld_gauge.h new file mode 100644 index 0000000..fe9a500 --- /dev/null +++ b/dldialog/src/DLD_QT/dld_gauge.h @@ -0,0 +1,38 @@ +/****************************************************************************** +** +** $Id: dld_gauge.h,v 1.3 2000/03/15 20:02:17 harald Exp $ +** +** This program is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License +** as published by the Free Software Foundation; either version +** 2 of the License, or (at your option) any later version. +** +** (C) 1999,2000 Harald Hoyer <DLDialog@parzelle.de> +** +******************************************************************************/ + +#ifndef DLD_QTGAUGE_H +#define DLD_QTGAUGE_H + +#include "../dld_gauge.h" +#include "dld_qtobj.h" +#include <qwidget.h> +#include <qprogressbar.h> + +/** The button class in qt style. + * + */ +class DLD_QTGauge : public QProgressBar, public DLD_QTObj, + public DLD_Gauge +{ +public: + /// + DLD_QTGauge(QWidget *_parent, const string& name, DLD_QTDialog *pd); + /// + virtual ~DLD_QTGauge(); + /// + void create(); + void set_progress(int p); +}; + +#endif |