QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
qgsbusyindicatordialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsbusyindicatordialog.h
3  ------------------------
4  begin : Mar 27, 2013
5  copyright : (C) 2013 by Larry Shaffer
6  email : larrys at dakcarto dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSBUSYINDICATORDIALOG_H
19 #define QGSBUSYINDICATORDIALOG_H
20 
21 #include "qgisgui.h"
22 
23 #include <QDialog>
24 #include <QLabel>
25 
26 
31 class GUI_EXPORT QgsBusyIndicatorDialog : public QDialog
32 {
33  Q_OBJECT
34  public:
41  QgsBusyIndicatorDialog( const QString& message = "", QWidget *parent = nullptr, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
43 
44  QString message() const { return mMessage; }
45  void setMessage( const QString& message );
46 
47  private:
48  QString mMessage;
49  QLabel* mMsgLabel;
50 };
51 
52 #endif // QGSBUSYINDICATORDIALOG_H
static const Qt::WindowFlags ModalDialogFlags
Definition: qgisgui.h:50
typedef WindowFlags
A simple dialog to show an indeterminate busy progress indicator.