BALL 1.5.0
Loading...
Searching...
No Matches
dockProgressDialog.h
Go to the documentation of this file.
1//
2// -*- Mode: C++; tab-width: 2; -*-
3// vi: set ts=2:
4//
5
6#ifndef BALL_VIEW_DIALOGS_DOCKPROGRESSDIALOG_H
7#define BALL_VIEW_DIALOGS_DOCKPROGRESSDIALOG_H
8
9#ifndef BALL_COMMON_GLOBAL_H
10# include <BALL/COMMON/global.h>
11#endif
12
13#ifndef BALL_DATATYPE_OPTIONS_H
15#endif
16
17#ifndef BALL_DOCKING_COMMON_DOCKINGALGORITHM_H
19#endif
20
21#include <QtCore/QTimer>
22#include <QtCore/QDateTime>
23
24#include <BALL/VIEW/UIC/ui_dockProgressDialog.h>
25
26namespace BALL
27{
28 namespace VIEW
29 {
34 public QDialog,
35 public Ui_DockProgressDialogData
36 {
37 Q_OBJECT
38
39 public:
40
44
51 DockProgressDialog(QWidget* parent = 0, const char* name = "DockProgressDialog");
52
57
61
66
70
80 void fillDialog(const QString& p1, const QString& p2, const QString& alg, const QString& sf, const Options& alg_opt, const Options& sf_opt);
82
83 public Q_SLOTS:
84
87 void show();
88
89 // TODO: pause algorithm!!!
94
100
101
102 protected Q_SLOTS:
103
110
111
112 private:
113
118 DockProgressDialog(const DockProgressDialog& dock_prog_dialog);
119
125
128 const DockProgressDialog& operator =(const DockProgressDialog& dock_prog_dialog);
130
133 DockingAlgorithm* alg_;
134
137 QTimer timer_;
138
141 QDateTime start_time_;
142 };
143
144} } // Namespaces
145#endif
DockProgressDialog(QWidget *parent=0, const char *name="DockProgressDialog")
void setDockingAlgorithm(DockingAlgorithm *alg)
const DockingAlgorithm * getDockingAlgorithm() const
void fillDialog(const QString &p1, const QString &p2, const QString &alg, const QString &sf, const Options &alg_opt, const Options &sf_opt)
#define BALL_VIEW_EXPORT