QGIS API Documentation
3.8.0-Zanzibar (11aff65)
src
gui
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 "
qgsguiutils.h
"
22
23
#include <QDialog>
24
#include <QLabel>
25
#include "qgis_gui.h"
26
#include "
qgis_sip.h
"
27
28
34
class
GUI_EXPORT
QgsBusyIndicatorDialog
:
public
QDialog
35
{
36
Q_OBJECT
37
public
:
38
46
QgsBusyIndicatorDialog
(
const
QString &message = QString(), QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
47
48
QString
message
()
const
{
return
mMessage; }
49
void
setMessage(
const
QString &message );
50
51
private
:
52
QString mMessage;
53
QLabel *mMsgLabel =
nullptr
;
54
};
55
56
// clazy:excludeall=qstring-allocations
57
58
#endif // QGSBUSYINDICATORDIALOG_H
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition:
qgis_sip.h:46
QgsBusyIndicatorDialog::message
QString message() const
Definition:
qgsbusyindicatordialog.h:48
qgis_sip.h
QgsBusyIndicatorDialog
A simple dialog to show an indeterminate busy progress indicator.
Definition:
qgsbusyindicatordialog.h:34
qgsguiutils.h
Generated on Sat Jun 22 2019 09:24:07 for QGIS API Documentation by
1.8.13