</widget>
<addaction name="menu_Help"/>
</widget>
- <widget class="QWidget" name="centralWidget" />
+ <widget class="QWidget" name="centralWidget">
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="SigView" name="sigView" native="true"/>
+ </item>
+ </layout>
+ </widget>
<widget class="QStatusBar" name="statusBar" />
<action name="actionAbout">
<property name="text">
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
- <resources>
- <include location="sigrok-qt2.qrc"/>
- </resources>
+ <customwidgets>
+ <customwidget>
+ <class>SigView</class>
+ <extends>QAbstractScrollArea</extends>
+ <header>sigview.h</header>
+ </customwidget>
+ </customwidgets>
+ <resources/>
<connections/>
</ui>
SOURCES += main.cpp\
mainwindow.cpp \
- about.cpp
+ about.cpp \
+ sigview.cpp
HEADERS += mainwindow.h \
- about.h
+ about.h \
+ sigview.h
FORMS += mainwindow.ui \
about.ui
--- /dev/null
+/*
+ * This file is part of the sigrok project.
+ *
+ * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
+ *
+ * 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 "sigview.h"
+
+SigView::SigView(QWidget *parent) :
+ QAbstractScrollArea(parent)
+{
+}
--- /dev/null
+/*
+ * This file is part of the sigrok project.
+ *
+ * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
+ *
+ * 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 SIGVIEW_H
+#define SIGVIEW_H
+
+#include <QAbstractScrollArea>
+
+class SigView : public QAbstractScrollArea
+{
+ Q_OBJECT
+public:
+ explicit SigView(QWidget *parent = 0);
+
+signals:
+
+public slots:
+
+};
+
+#endif // SIGVIEW_H