aboutsummaryrefslogtreecommitdiff
path: root/dev-tools/test-dbus/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tools/test-dbus/test.h')
-rw-r--r--dev-tools/test-dbus/test.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-tools/test-dbus/test.h b/dev-tools/test-dbus/test.h
new file mode 100644
index 00000000..313115a7
--- /dev/null
+++ b/dev-tools/test-dbus/test.h
@@ -0,0 +1,27 @@
+#include <QDialog>
+#include <QDebug>
+
+#include "ui_test.h"
+
+namespace Ui{
+ class Test;
+};
+
+class Test : public QDialog{
+ Q_OBJECT
+
+private:
+ Ui::Test *ui;
+
+private slots:
+ void on_push_close_clicked(){ this->close(); }
+
+public:
+ Test() : QDialog(), ui(new Ui::Test){
+ qDebug() << "Creating Test Dialog:";
+ ui->setupUi(this);
+ qDebug() << "Loaded Dialog";
+ }
+ ~Test(){ delete ui; }
+
+};
bgstack15