QGIS API Documentation
2.12.0-Lyon
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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 <QDialog>
21
22
#include "ui_qgserrordialogbase.h"
23
#include "
qgisgui.h
"
24
#include "
qgserror.h
"
25
26
class
GUI_EXPORT
QgsErrorDialog
:
public
QDialog
,
private
Ui::QgsErrorDialogBase
27
{
28
Q_OBJECT
29
public
:
30
QgsErrorDialog
(
const
QgsError
& theError,
const
QString
& theTitle,
QWidget
*parent = 0,
const
Qt::WindowFlags
& fl =
QgisGui::ModalDialogFlags
);
31
~
QgsErrorDialog
();
32
39
static
void
show
(
const
QgsError
& theError,
const
QString
& theTitle,
QWidget
*parent = 0,
const
Qt::WindowFlags
& fl =
QgisGui::ModalDialogFlags
);
40
41
public
slots:
42
void
on_mDetailPushButton_clicked();
43
void
on_mDetailCheckBox_stateChanged(
int
state );
44
45
private
:
46
QgsError
mError;
47
};
48
49
#endif
QgisGui::ModalDialogFlags
static const Qt::WindowFlags ModalDialogFlags
Definition:
qgisgui.h:49
QWidget
QgsErrorDialog
Definition:
qgserrordialog.h:26
QString
QgsError
QgsError is container for error messages (report).
Definition:
qgserror.h:77
QDialog
Qt::WindowFlags
typedef WindowFlags
QWidget::show
void show()
qgserror.h
qgisgui.h
Generated on Sat Oct 24 2015 04:11:25 for QGIS API Documentation by
1.8.9.1