| 1 |
/* |
| 2 |
* Copyright 2012 Canonical Ltd. |
| 3 |
* |
| 4 |
* This program is free software; you can redistribute it and/or modify |
| 5 |
* it under the terms of the GNU Lesser General Public License as published by |
| 6 |
* the Free Software Foundation; version 3. |
| 7 |
* |
| 8 |
* This program is distributed in the hope that it will be useful, |
| 9 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
* GNU Lesser General Public License for more details. |
| 12 |
* |
| 13 |
* You should have received a copy of the GNU Lesser General Public License |
| 14 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 |
* |
| 16 |
* Author: Juhapekka Piiroinen <[email protected]> |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifndef TESTCASEEXECUTIONDIALOG_H |
| 20 |
#define TESTCASEEXECUTIONDIALOG_H |
| 21 |
|
| 22 |
#include <QDialog> |
| 23 |
#include <QtDeclarative> |
| 24 |
|
| 25 |
namespace Ui { |
| 26 |
class TestCaseExecutionDialog; |
| 27 |
} |
| 28 |
|
| 29 |
class TestCaseExecutionDialog : public QDialog |
| 30 |
{ |
| 31 |
Q_OBJECT |
| 32 |
|
| 33 |
public: |
| 34 |
explicit TestCaseExecutionDialog(QString testcase, QString testdata, QUrl qmlFile, QWidget *parent = 0); |
| 35 |
~TestCaseExecutionDialog(); |
| 36 |
|
| 37 |
protected slots: |
| 38 |
void on_pushButton_clicked(); |
| 39 |
void on_pushButtonQuit_clicked(); |
| 40 |
|
| 41 |
private: |
| 42 |
QDeclarativeView* m_declarativeView; |
| 43 |
Ui::TestCaseExecutionDialog *m_ui; |
| 44 |
}; |
| 45 |
|
| 46 |
#endif // TESTCASEEXECUTIONDIALOG_H |