QGIS API Documentation  master-6227475
src/gui/qgserrordialog.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                          qgserrordialog.h  -  error dialog
00003                              -------------------
00004     begin                : October 2012
00005     copyright            : (C) October 2012 Radim Blazek
00006     email                : radim dot blazek at gmail dot com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 #ifndef QGSERRORDIALOG_H
00018 #define QGSERRORDIALOG_H
00019 
00020 #include <QDialog>
00021 
00022 #include "ui_qgserrordialogbase.h"
00023 #include "qgisgui.h"
00024 #include "qgserror.h"
00025 
00026 class GUI_EXPORT QgsErrorDialog: public QDialog, private Ui::QgsErrorDialogBase
00027 {
00028     Q_OBJECT
00029   public:
00030     QgsErrorDialog( const QgsError & theError, const QString & theTitle, QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
00031     ~QgsErrorDialog();
00032 
00039     static void show( const QgsError & theError, const QString & theTitle, QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
00040 
00041   public slots:
00042     void on_mDetailPushButton_clicked();
00043     void on_mDetailCheckBox_stateChanged( int state );
00044 
00045   private:
00046     QgsError mError;
00047 };
00048 
00049 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines