2013-06-24 08:43:47 +02:00
|
|
|
class QgsErrorDialog : QDialog
|
2013-06-22 19:37:41 +02:00
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgserrordialog.h>
|
|
|
|
%End
|
|
|
|
public:
|
2017-02-21 18:14:58 +01:00
|
|
|
QgsErrorDialog( const QgsError & error, const QString & title, QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
|
2013-06-22 19:37:41 +02:00
|
|
|
~QgsErrorDialog();
|
|
|
|
|
|
|
|
/** Show dialog with error
|
2017-02-21 18:14:58 +01:00
|
|
|
* @param error error
|
|
|
|
* @param title title
|
2013-06-22 19:37:41 +02:00
|
|
|
* @param parent parent object
|
|
|
|
* @param fl widget flags
|
|
|
|
*/
|
2017-02-21 18:14:58 +01:00
|
|
|
static void show( const QgsError & error, const QString & title, QWidget *parent = 0, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags );
|
2013-06-22 19:37:41 +02:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void on_mDetailPushButton_clicked();
|
|
|
|
void on_mDetailCheckBox_stateChanged( int state );
|
|
|
|
};
|