QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
qgserrordialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgserrordialog.h - error dialog
3
-------------------
4
begin : October 2012
5
copyright : (C) October 2012 Radim Blazek
6
email : radim dot blazek at gmail 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
#ifndef QGSERRORDIALOG_H
18
#define QGSERRORDIALOG_H
19
20
#include "ui_qgserrordialogbase.h"
21
22
#include "qgis_gui.h"
23
#include "
qgis_sip.h
"
24
#include "
qgserror.h
"
25
#include "
qgsguiutils.h
"
26
27
#include <QDialog>
28
34
class
GUI_EXPORT
QgsErrorDialog
:
public
QDialog,
private
Ui::QgsErrorDialogBase
35
{
36
Q_OBJECT
37
public
:
41
QgsErrorDialog
(
const
QgsError
&error,
const
QString &title, QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
42
50
static
void
show
(
const
QgsError
&error,
const
QString &title, QWidget *parent =
nullptr
, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
51
52
private
slots:
53
void
mDetailPushButton_clicked();
54
void
mDetailCheckBox_stateChanged(
int
state );
55
56
private
:
57
QgsError
mError;
58
};
59
60
#endif
QgsErrorDialog::QgsErrorDialog
QgsErrorDialog(const QgsError &error, const QString &title, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Constructor for QgsErrorDialog.
Definition
qgserrordialog.cpp:28
QgsErrorDialog::show
static void show(const QgsError &error, const QString &title, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Show dialog with error.
Definition
qgserrordialog.cpp:66
QgsError
A container for error messages.
Definition
qgserror.h:83
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:52
qgserror.h
qgsguiutils.h
Generated on
for QGIS API Documentation by
1.17.0