Debian Codegraph @

src/progressbar.h

raw symbols SCIP
1 /*
2 Copyright (C) 2005-2014 Mario Stephan <[email protected]>
3
4 This library is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as published
6 by the Free Software Foundation; either version 2.1 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef PROGRESSBAR_H
19 #define PROGRESSBAR_H
20
21 #include <QToolButton>
22 #include <QProgressBar>
23 #include <QWidget>
24
25 class ProgressBar:public QWidget
26 {
27 Q_OBJECT
28 public:
29 ProgressBar(QWidget *parent = 0, const char *name = 0);
30 ~ProgressBar();
31 QToolButton* clearButton;
32 QProgressBar* bar;
33
34 int value();
35
36 public slots:
37 void setValue(int value);
38
39 signals:
40 void stopped();
41
42 private:
43 void resizeEvent(QResizeEvent *);
44
45 };
46
47 #endif