blob: c076dddd27d536db94175444299fd831203332ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 2008 Nanorex, Inc. See LICENSE file for details.
#ifndef ERRORDIALOG_H
#define ERRORDIALOG_H
#include <QWidget>
#include "Nanorex/Utility/NXLogger.h"
#include "Nanorex/Utility/NXCommandResult.h"
#include "Nanorex/Interface/NXNanoVisionResultCodes.h"
using namespace Nanorex;
#include "ui_ErrorDialog.h"
class ErrorDialog : public QDialog, private Ui_ErrorDialog {
Q_OBJECT
public:
ErrorDialog(const QString& shortMessage, NXCommandResult* commandResult = 0,
QWidget *parent = 0);
ErrorDialog(const QString& shortMessage, const QString& longMessage,
QWidget *parent = 0);
~ErrorDialog();
private:
void setMessage(const QString& shortMessage, const QString& longMessage);
};
#endif
|