NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
XnatDownloadDialog.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef XnatDownloadDialog_h
16 #define XnatDownloadDialog_h
17 
18 #include <QDialog>
19 
20 class QCloseEvent;
21 class QLabel;
22 
23 class XnatDownloadDialog : public QDialog
24 {
25  Q_OBJECT
26 
27 public:
28  XnatDownloadDialog(QWidget* parent);
29  void showBytesDownloaded(unsigned long numBytes);
30  void showUnzipInProgress();
31  bool wasDownloadCanceled();
32  void closeEvent(QCloseEvent* event) override;
33 
34 public slots:
35  bool close();
36 
37 private slots:
38  void cancelClicked();
39 
40 private:
41  bool downloadCanceled;
42  QLabel* statusLabel;
43 };
44 
45 #endif
void showUnzipInProgress()
Definition: XnatDownloadDialog.cxx:48
void showBytesDownloaded(unsigned long numBytes)
Definition: XnatDownloadDialog.cxx:43
XnatDownloadDialog(QWidget *parent)
Definition: XnatDownloadDialog.cxx:9
Definition: XnatDownloadDialog.h:23
bool wasDownloadCanceled()
Definition: XnatDownloadDialog.cxx:38
bool close()
Definition: XnatDownloadDialog.cxx:68
cl_event event
Definition: glew.h:3231
void closeEvent(QCloseEvent *event) override
Definition: XnatDownloadDialog.cxx:59