From 55f96e0b87b10150144774409332ef4571abc761 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 07 Aug 2003 20:51:50 +0000 Subject: add GPS configuration window --- diff --git a/noncore/net/wellenreiter/gui/configbase.ui b/noncore/net/wellenreiter/gui/configbase.ui index 554fc29..c1da98d 100644 --- a/noncore/net/wellenreiter/gui/configbase.ui +++ b/noncore/net/wellenreiter/gui/configbase.ui @@ -11,8 +11,8 @@ 0 0 - 230 - 287 + 286 + 280 @@ -965,6 +965,177 @@ + + QWidget + + name + tab + + + title + GPS + + + QLayoutWidget + + name + Layout1 + + + geometry + + 10 + 40 + 216 + 27 + + + + + margin + 0 + + + spacing + 6 + + + QLabel + + name + TextLabel1_4 + + + text + Host + + + + QComboBox + + + text + localhost + + + + name + ComboBox8 + + + enabled + false + + + editable + true + + + currentItem + 0 + + + + QLabel + + name + TextLabel2_2 + + + text + : + + + + QSpinBox + + name + SpinBox2 + + + enabled + false + + + maxValue + 65535 + + + minValue + 1024 + + + value + 2947 + + + + + + QCheckBox + + name + enableGPS + + + geometry + + 10 + 10 + 199 + 21 + + + + text + Enable GPS logging w/ gpsd + + + + QCheckBox + + name + startGPS + + + geometry + + 10 + 80 + 171 + 21 + + + + text + Start gpsd on localhost + + + + QLineEdit + + name + commandGPS + + + enabled + false + + + geometry + + 10 + 110 + 210 + 22 + + + + text + gpsd -p /dev/ttyS3 -s 57600 + + + @@ -1033,5 +1204,23 @@ capturePackets setEnabled(bool) + + enableGPS + toggled(bool) + ComboBox8 + setEnabled(bool) + + + enableGPS + toggled(bool) + SpinBox2 + setEnabled(bool) + + + startGPS + toggled(bool) + commandGPS + setEnabled(bool) + diff --git a/noncore/net/wellenreiter/gui/gps.cpp b/noncore/net/wellenreiter/gui/gps.cpp new file mode 100644 index 0000000..c3bff53 --- a/dev/null +++ b/noncore/net/wellenreiter/gui/gps.cpp @@ -0,0 +1,17 @@ +/********************************************************************** +** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. +** +** This file is part of Opie Environment. +** +** This file may be distributed and/or modified under the terms of the +** GNU General Public License version 2 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +**********************************************************************/ + +#include "gps.h" + diff --git a/noncore/net/wellenreiter/gui/gps.h b/noncore/net/wellenreiter/gui/gps.h new file mode 100644 index 0000000..e7c3dce --- a/dev/null +++ b/noncore/net/wellenreiter/gui/gps.h @@ -0,0 +1,19 @@ +/********************************************************************** +** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. +** +** This file is part of Opie Environment. +** +** This file may be distributed and/or modified under the terms of the +** GNU General Public License version 2 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +**********************************************************************/ + +#ifndef GPS_H +#define GPS_H + +#endif // GPS_H diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro index ee239a3..5ff4290 100644 --- a/noncore/net/wellenreiter/gui/gui.pro +++ b/noncore/net/wellenreiter/gui/gui.pro @@ -13,7 +13,8 @@ HEADERS = wellenreiterbase.h \ statwindow.h \ configwindow.h \ graphwindow.h \ - protolistview.h + protolistview.h \ + gps.h SOURCES = main.cpp \ mainwindow.cpp \ @@ -25,7 +26,8 @@ SOURCES = main.cpp \ statwindow.cpp \ configwindow.cpp \ graphwindow.cpp \ - protolistview.cpp + protolistview.cpp \ + gps.cpp INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -- cgit v0.9.0.2