progress_dialog.hpp
Go to the documentation of this file.
1 #ifndef RAM_QT_GUIS_ALGORITHMS_WIDGETS_PROGRESS_DIALOG_HPP
2 #define RAM_QT_GUIS_ALGORITHMS_WIDGETS_PROGRESS_DIALOG_HPP
3 
4 #ifndef Q_MOC_RUN
5 #include <ros/ros.h>
6 #endif
7 
8 #include <QDialog>
9 #include <QProgressBar>
10 #include <QtConcurrent/QtConcurrent>
11 #include <QVBoxLayout>
12 #include <QLabel>
13 #include <QPushButton>
14 
15 namespace ram_qt_guis
16 {
17 
18 class ProgressDialog : public QDialog
19 {
20 Q_OBJECT
21 
22 public:
24 
25 Q_SIGNALS:
26  void drawProgress(const int value,
27  const QString msg);
28 
29  void drawProgress(const int value);
30 
31  void drawProgress(const QString msg);
32 
33 private Q_SLOTS:
34  void progressValueChanged();
35 
36  void progressChanged(const int value,
37  const QString msg);
38 
39  void progressChanged(const int value);
40 
41  void progressChanged(const QString msg);
42 
43 private:
45  QProgressBar *progress_value_;
46  QPushButton *cancel_button_;
47 };
48 
49 }
50 
51 #endif
void drawProgress(const int value, const QString msg)
void progressChanged(const int value, const QString msg)


ram_qt_guis
Author(s): Victor Lamoine - Institut Maupertuis
autogenerated on Mon Jun 10 2019 14:50:11