QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
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 "qgis_gui.h"
22#include "qgis_sip.h"
23#include "qgsguiutils.h"
24
25#include <QDialog>
26#include <QLabel>
27
33class GUI_EXPORT QgsBusyIndicatorDialog : public QDialog
34{
35 Q_OBJECT
36 public:
44 QgsBusyIndicatorDialog( const QString &message = QString(), QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
45
46 QString message() const { return mMessage; }
47 void setMessage( const QString &message );
48
49 private:
50 QString mMessage;
51 QLabel *mMsgLabel = nullptr;
52};
53
54// clazy:excludeall=qstring-allocations
55
56#endif // QGSBUSYINDICATORDIALOG_H
QgsBusyIndicatorDialog(const QString &message=QString(), QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Constructor Modal busy indicator dialog with no buttons.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53