BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
DIALOGS
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
14
# include <
BALL/DATATYPE/options.h
>
15
#endif
16
17
#ifndef BALL_DOCKING_COMMON_DOCKINGALGORITHM_H
18
# include <
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
26
namespace
BALL
27
{
28
namespace
VIEW
29
{
33
class
BALL_VIEW_EXPORT
DockProgressDialog
:
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
55
virtual
~
DockProgressDialog
();
57
61
65
void
setDockingAlgorithm(
DockingAlgorithm
* alg);
66
69
const
DockingAlgorithm
* getDockingAlgorithm()
const
;
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
slots:
84
87
void
show();
88
89
// TODO: pause algorithm!!!
93
void
pauseClicked();
94
99
void
abortClicked();
100
101
102
protected
slots:
103
109
void
updateProgress_();
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
QDialog
QWidget
BALL::DockingAlgorithm
Definition:
dockingAlgorithm.h:45
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
dockingAlgorithm.h
BALL::Options
Definition:
options.h:46
global.h
BALL::VIEW::DockProgressDialog
Definition:
dockProgressDialog.h:33
options.h
Generated by
1.8.7