--- /dev/null
+/**************************************************************
+
+ Copyright (C) 2013 Rafał Długołęcki
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+
+
+ NOTE: This software is using the free software license of
+ the QT library v.1.30 from Troll Tech AS.
+ See the file LICENSE.QT.
+
+************************************************************/
+
+#ifndef VLP_KILL_INTERPRETER_H
+#define VLP_KILL_INTERPRETER_H
+
+#include <QtGui/QDialog>
+#include <QtCore/QString>
+#include <stdlib.h>
+
+#include "ui/dialogs/kill-interpreter.h"
+
+/**
+ * Class responsible for displaying dialog for interpreters shutdown
+ */
+class KillInterpreterDialog : public QDialog, private Ui::killInterpreterDialog {
+public:
+ /**
+ * Constructs a KillInterpreterDialog with parent 'parent'.
+ * The widget flags f are passed on to the QWidget constructor.
+ *
+ * @param parent parent widget of this dialog
+ * @param flags QDialog flags of this dialog
+ */
+ KillInterpreterDialog(QWidget * parent = 0, Qt::WindowFlags flags = 0 ) :
+ QDialog(parent, flags)
+ {
+ setupUi(this);
+ connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
+ connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
+ }
+
+ /**
+ * Returns entered in dialog node number
+ * @return node number from this dialog textfield
+ */
+ int getNodeNumber()
+ {
+ return atoi(nodeNumber->text().toAscii().data());
+ }
+};
+
+
+#endif /* VLP_KILL_INTERPRETER_H */