--- /dev/null
+/*
+ * This file is part of the sigrok project.
+ *
+ * Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
+ *
+ * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "decoderstackform.h"
+#include "ui_decoderstackform.h"
+
+DecoderStackForm::DecoderStackForm(QWidget *parent) :
+ QDialog(parent),
+ ui(new Ui::DecoderStackForm)
+{
+ ui->setupUi(this);
+}
+
+DecoderStackForm::~DecoderStackForm()
+{
+ delete ui;
+}
+
+void DecoderStackForm::on_buttonBox_accepted()
+{
+ /* TODO. */
+}
--- /dev/null
+/*
+ * This file is part of the sigrok project.
+ *
+ * Copyright (C) 2012 Uwe Hermann <uwe@hermann-uwe.de>
+ *
+ * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef DECODERSTACKFORM_H
+#define DECODERSTACKFORM_H
+
+#include <QDialog>
+
+namespace Ui {
+ class DecoderStackForm;
+}
+
+class DecoderStackForm : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit DecoderStackForm(QWidget *parent = 0);
+ ~DecoderStackForm();
+
+private slots:
+ void on_buttonBox_accepted();
+
+private:
+ Ui::DecoderStackForm *ui;
+};
+
+#endif
--- /dev/null
+<ui version="4.0">
+ <author/>
+ <comment/>
+ <exportmacro/>
+ <class>DecoderStackForm</class>
+ <widget class="QDialog" name="DecoderStackForm">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Dialog</string>
+ </property>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="geometry">
+ <rect>
+ <x>30</x>
+ <y>240</y>
+ <width>341</width>
+ <height>32</height>
+ </rect>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </widget>
+ <pixmapfunction/>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>DecoderStackForm</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>248</x>
+ <y>254</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>DecoderStackForm</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
configform.cpp \
sampleiodevice.cpp \
channelform.cpp \
- decodersform.cpp
+ decodersform.cpp \
+ decoderstackform.cpp
HEADERS += mainwindow.h \
configform.h \
sampleiodevice.h \
channelform.h \
- decodersform.h
+ decodersform.h \
+ decoderstackform.h
FORMS += mainwindow.ui \
configform.ui \
channelform.ui \
- decodersform.ui
+ decodersform.ui \
+ decoderstackform.ui
TRANSLATIONS = locale/sigrok-qt_de_DE.ts \
locale/sigrok-qt_nl_NL.ts \