diff options
Diffstat (limited to 'tests/applications/positioning_backend')
-rw-r--r-- | tests/applications/positioning_backend/CMakeLists.txt | 28 | ||||
-rw-r--r-- | tests/applications/positioning_backend/logwidget.cpp | 46 | ||||
-rw-r--r-- | tests/applications/positioning_backend/logwidget.h | 47 | ||||
-rw-r--r-- | tests/applications/positioning_backend/main.cpp | 54 | ||||
-rw-r--r-- | tests/applications/positioning_backend/positioning_backend.pro | 16 | ||||
-rw-r--r-- | tests/applications/positioning_backend/widget.cpp | 188 | ||||
-rw-r--r-- | tests/applications/positioning_backend/widget.h | 70 | ||||
-rw-r--r-- | tests/applications/positioning_backend/widget.ui | 334 |
8 files changed, 0 insertions, 783 deletions
diff --git a/tests/applications/positioning_backend/CMakeLists.txt b/tests/applications/positioning_backend/CMakeLists.txt deleted file mode 100644 index 0591cf2b..00000000 --- a/tests/applications/positioning_backend/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ -# Generated from positioning_backend.pro. - -##################################################################### -## posbackendtesting Binary: -##################################################################### - -qt_internal_add_executable(posbackendtesting - GUI - SOURCES - logwidget.cpp logwidget.h - main.cpp - widget.cpp widget.h widget.ui - PUBLIC_LIBRARIES - Qt::Gui - Qt::Positioning - Qt::Widgets - ENABLE_AUTOGEN_TOOLS - uic -) - -#### Keys ignored in scope 1:.:.:positioning_backend.pro:<TRUE>: -# TEMPLATE = "app" - -## Scopes: -##################################################################### - -#### Keys ignored in scope 2:.:.:positioning_backend.pro:WINRT: -# WINRT_MANIFEST.capabilities_device = "location" diff --git a/tests/applications/positioning_backend/logwidget.cpp b/tests/applications/positioning_backend/logwidget.cpp deleted file mode 100644 index 5ec47230..00000000 --- a/tests/applications/positioning_backend/logwidget.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtPositioning module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "logwidget.h" -#include <QVBoxLayout> - -LogWidget::LogWidget(QWidget *parent) : QWidget(parent) -{ - QVBoxLayout *verticalLayout = new QVBoxLayout(this); - verticalLayout->setSpacing(6); - verticalLayout->setContentsMargins(11, 11, 11, 11); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - - editor = new QPlainTextEdit(this); - verticalLayout->addWidget(editor); -} - -void LogWidget::appendLog(const QString &line) -{ - editor->appendPlainText(line); -} diff --git a/tests/applications/positioning_backend/logwidget.h b/tests/applications/positioning_backend/logwidget.h deleted file mode 100644 index f6a3eb44..00000000 --- a/tests/applications/positioning_backend/logwidget.h +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtPositioning module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef LOGWIDGET_H -#define LOGWIDGET_H - -#include <QtWidgets/qwidget.h> -#include <QtWidgets/qplaintextedit.h> - -class LogWidget : public QWidget -{ - Q_OBJECT -public: - explicit LogWidget(QWidget *parent = nullptr); - - void appendLog(const QString &line); - -private: - QPlainTextEdit *editor; -}; - -#endif // LOGWIDGET_H diff --git a/tests/applications/positioning_backend/main.cpp b/tests/applications/positioning_backend/main.cpp deleted file mode 100644 index 2ed69cb6..00000000 --- a/tests/applications/positioning_backend/main.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtPositioning module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#include "widget.h" -#include "logwidget.h" -#include <QLabel> - -#include <QApplication> -#include <QtWidgets> -#include <QLoggingCategory> - -int main(int argc, char *argv[]) -{ - //QLoggingCategory::setFilterRules("qt.positioning.*=true"); - QApplication a(argc, argv); - - LogWidget *log = new LogWidget; - Widget *w1 = new Widget(log); - Widget *w2 = new Widget(log); - - QTabWidget tabWidget; - tabWidget.setTabPosition(QTabWidget::South); - - tabWidget.addTab(w1, "Instance 1"); - tabWidget.addTab(w2, "Instance 2"); - tabWidget.addTab(log, "Logs"); - - tabWidget.show(); - return a.exec(); -} diff --git a/tests/applications/positioning_backend/positioning_backend.pro b/tests/applications/positioning_backend/positioning_backend.pro deleted file mode 100644 index 4ba9e7c8..00000000 --- a/tests/applications/positioning_backend/positioning_backend.pro +++ /dev/null @@ -1,16 +0,0 @@ -QT += core gui positioning widgets - -TARGET = posbackendtesting -TEMPLATE = app - - -SOURCES += main.cpp\ - widget.cpp \ - logwidget.cpp - -HEADERS += widget.h \ - logwidget.h - -FORMS += widget.ui - -winrt: WINRT_MANIFEST.capabilities_device += location diff --git a/tests/applications/positioning_backend/widget.cpp b/tests/applications/positioning_backend/widget.cpp deleted file mode 100644 index ea1739de..00000000 --- a/tests/applications/positioning_backend/widget.cpp +++ /dev/null @@ -1,188 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtPositioning module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#include "widget.h" -#include "ui_widget.h" -#include <QGeoPositionInfoSource> -#include <QDebug> - -Widget::Widget(LogWidget *logWidget, QWidget *parent) : - QWidget(parent), - log(logWidget), - ui(new Ui::Widget) -{ - ui->setupUi(this); - qDebug() << "Available:" << QGeoPositionInfoSource::availableSources(); - m_posSource = QGeoPositionInfoSource::createDefaultSource(this); - if (!m_posSource) - qFatal("No Position Source created!"); - connect(m_posSource, SIGNAL(positionUpdated(QGeoPositionInfo)), - this, SLOT(positionUpdated(QGeoPositionInfo))); - - connect(ui->horizontalSlider, SIGNAL(valueChanged(int)), - this, SLOT(setInterval(int))); - - ui->groupBox->setLayout(ui->gridLayout); - ui->horizontalSlider->setMinimum(m_posSource->minimumUpdateInterval()); - ui->labelTimeOut->setVisible(false); - - connect(m_posSource, SIGNAL(errorOccurred(QGeoPositionInfoSource::Error)), - this, SLOT(errorChanged(QGeoPositionInfoSource::Error))); - connect(m_posSource, &QGeoPositionInfoSource::supportedPositioningMethodsChanged, - this, [this]() { - auto methods = m_posSource->supportedPositioningMethods(); - const QString status = QStringLiteral("Satellite: %1 ").arg(bool(methods & QGeoPositionInfoSource::SatellitePositioningMethods)) - + QStringLiteral("Non-Satellite: %1").arg(bool(methods & QGeoPositionInfoSource::NonSatellitePositioningMethods)); - - qDebug() << "Available Positioning Methods Changed" << status; - log->appendLog(status); - }); -} - -void Widget::positionUpdated(QGeoPositionInfo gpsPos) -{ - QGeoCoordinate coord = gpsPos.coordinate(); - ui->labelLatitude->setText(QString::number(coord.latitude())); - ui->labelLongitude->setText(QString::number(coord.longitude())); - ui->labelAltitude->setText(QString::number(coord.altitude())); - ui->labelTimeStamp->setText(gpsPos.timestamp().toString()); - if (gpsPos.hasAttribute(QGeoPositionInfo::HorizontalAccuracy)) - ui->labelHAccuracy->setText(QString::number(gpsPos.attribute(QGeoPositionInfo::HorizontalAccuracy))); - else - ui->labelHAccuracy->setText(QStringLiteral("N/A")); - - if (gpsPos.hasAttribute(QGeoPositionInfo::VerticalAccuracy)) - ui->labelVAccuracy->setText(QString::number(gpsPos.attribute(QGeoPositionInfo::VerticalAccuracy))); - else - ui->labelVAccuracy->setText(QStringLiteral("N/A")); - - if (gpsPos.hasAttribute(QGeoPositionInfo::Direction)) - ui->labelDirection->setText(QString::number(gpsPos.attribute(QGeoPositionInfo::Direction))); - else - ui->labelDirection->setText(QStringLiteral("N/A")); - - if (gpsPos.hasAttribute(QGeoPositionInfo::GroundSpeed)) - ui->labelSpeed->setText(QString::number(gpsPos.attribute(QGeoPositionInfo::GroundSpeed))); - else - ui->labelSpeed->setText(QStringLiteral("N/A")); - - log->appendLog(coord.toString()); -} - -void Widget::positionTimedOut() -{ - ui->labelTimeOut->setVisible(true); -} - -void Widget::errorChanged(QGeoPositionInfoSource::Error err) -{ - if (err == QGeoPositionInfoSource::UpdateTimeoutError) { - // handle timeout - positionTimedOut(); - } else { - // handle other errors - ui->labelErrorState->setText(QString::number(err)); - m_posSource->stopUpdates(); - ui->checkBox->setChecked(false); - } -} - -Widget::~Widget() -{ - delete ui; -} - -void Widget::setInterval(int msec) -{ - m_posSource->setUpdateInterval(msec); -} - -void Widget::on_buttonRetrieve_clicked() -{ - // Requesting current position for _one_ time - m_posSource->requestUpdate(10000); -} - -void Widget::on_buttonStart_clicked() -{ - // Either start or stop the current position info source - bool running = ui->checkBox->isChecked(); - if (running) { - ui->checkBox->setChecked(false); - m_posSource->stopUpdates(); - } else { - ui->checkBox->setChecked(true); - m_posSource->startUpdates(); - } -} - -void Widget::on_radioButton_clicked() -{ - m_posSource->setPreferredPositioningMethods(QGeoPositionInfoSource::NoPositioningMethods); -} - -void Widget::on_radioButton_2_clicked() -{ - m_posSource->setPreferredPositioningMethods(QGeoPositionInfoSource::SatellitePositioningMethods); -} - -void Widget::on_radioButton_3_clicked() -{ - m_posSource->setPreferredPositioningMethods(QGeoPositionInfoSource::NonSatellitePositioningMethods); -} - -void Widget::on_radioButton_4_clicked() -{ - m_posSource->setPreferredPositioningMethods(QGeoPositionInfoSource::AllPositioningMethods); -} - -void Widget::on_buttonUpdateSupported_clicked() -{ - QGeoPositionInfoSource::PositioningMethods m = m_posSource->supportedPositioningMethods(); - QString text; - switch (m) { - case QGeoPositionInfoSource::NoPositioningMethods: - text = QStringLiteral("None"); - break; - case QGeoPositionInfoSource::SatellitePositioningMethods: - text = QStringLiteral("Satellite"); - break; - case QGeoPositionInfoSource::NonSatellitePositioningMethods: - text = QStringLiteral("Non Satellite"); - break; - case QGeoPositionInfoSource::AllPositioningMethods: - text = QStringLiteral("All"); - break; - } - - ui->labelSupported->setText(text); -} - -void Widget::on_buttonResetError_clicked() -{ - ui->labelErrorState->setText(QStringLiteral("N/A")); -} diff --git a/tests/applications/positioning_backend/widget.h b/tests/applications/positioning_backend/widget.h deleted file mode 100644 index e0dc68fc..00000000 --- a/tests/applications/positioning_backend/widget.h +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtPositioning module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#ifndef WIDGET_H -#define WIDGET_H - -#include "logwidget.h" - -#include <QWidget> -#include <QGeoPositionInfoSource> - -namespace Ui { - class Widget; -} - -class Widget : public QWidget -{ - Q_OBJECT - -public: - explicit Widget(LogWidget *log, QWidget *parent = nullptr); - ~Widget(); - -public slots: - void positionUpdated(QGeoPositionInfo gpsPos); - void setInterval(int msec); - void positionTimedOut(); - void errorChanged(QGeoPositionInfoSource::Error err); -private slots: - void on_buttonRetrieve_clicked(); - void on_buttonStart_clicked(); - void on_radioButton_2_clicked(); - void on_radioButton_clicked(); - void on_radioButton_3_clicked(); - void on_radioButton_4_clicked(); - - void on_buttonUpdateSupported_clicked(); - void on_buttonResetError_clicked(); - -private: - LogWidget *log = nullptr; - Ui::Widget *ui; - QGeoPositionInfoSource *m_posSource; -}; - -#endif // WIDGET_H diff --git a/tests/applications/positioning_backend/widget.ui b/tests/applications/positioning_backend/widget.ui deleted file mode 100644 index 9cb1566d..00000000 --- a/tests/applications/positioning_backend/widget.ui +++ /dev/null @@ -1,334 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>Widget</class> - <widget class="QWidget" name="Widget"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>276</width> - <height>467</height> - </rect> - </property> - <property name="windowTitle"> - <string>Widget</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <layout class="QFormLayout" name="formLayout"> - <property name="fieldGrowthPolicy"> - <enum>QFormLayout::AllNonFixedFieldsGrow</enum> - </property> - <item row="0" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Latitude:</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="labelLatitude"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Longitude:</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLabel" name="labelLongitude"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Altitude:</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QLabel" name="labelAltitude"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>TimeStamp:</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QLabel" name="labelTimeStamp"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item row="7" column="0"> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>Horizontal Accuracy:</string> - </property> - </widget> - </item> - <item row="7" column="1"> - <widget class="QLabel" name="labelHAccuracy"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item row="8" column="0"> - <widget class="QLabel" name="label_8"> - <property name="text"> - <string>Vertical Accuracy:</string> - </property> - </widget> - </item> - <item row="8" column="1"> - <widget class="QLabel" name="labelVAccuracy"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item row="9" column="0"> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>TimeOut:</string> - </property> - </widget> - </item> - <item row="9" column="1"> - <widget class="QLabel" name="labelTimeOut"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>!!!!!TimeOut!!!!!</string> - </property> - </widget> - </item> - <item row="10" column="0"> - <widget class="QLabel" name="label_10"> - <property name="text"> - <string>Supported Methods:</string> - </property> - </widget> - </item> - <item row="11" column="0"> - <widget class="QLabel" name="label_9"> - <property name="text"> - <string>Error State:</string> - </property> - </widget> - </item> - <item row="11" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <item> - <widget class="QLabel" name="labelErrorState"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="buttonResetError"> - <property name="text"> - <string>Reset</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="10" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <item> - <widget class="QLabel" name="labelSupported"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="buttonUpdateSupported"> - <property name="text"> - <string>Update</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_11"> - <property name="text"> - <string>Direction:</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLabel" name="labelDirection"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_12"> - <property name="text"> - <string>Speed:</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QLabel" name="labelSpeed"> - <property name="text"> - <string>N/A</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QGroupBox" name="groupBox"> - <property name="title"> - <string>Method</string> - </property> - <widget class="QWidget" name="layoutWidget"> - <property name="geometry"> - <rect> - <x>43</x> - <y>21</y> - <width>254</width> - <height>71</height> - </rect> - </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QRadioButton" name="radioButton"> - <property name="text"> - <string>None</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QRadioButton" name="radioButton_2"> - <property name="text"> - <string>Satelite</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QRadioButton" name="radioButton_3"> - <property name="text"> - <string>Non-Satelite</string> - </property> - </widget> - </item> - <item row="0" column="3"> - <widget class="QRadioButton" name="radioButton_4"> - <property name="text"> - <string>All</string> - </property> - </widget> - </item> - </layout> - </widget> - </widget> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Interval:</string> - </property> - </widget> - </item> - <item> - <widget class="QSlider" name="horizontalSlider"> - <property name="minimum"> - <number>50</number> - </property> - <property name="maximum"> - <number>10000</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="labelInterval"> - <property name="text"> - <string>0</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QCheckBox" name="checkBox"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Running</string> - </property> - </widget> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <item> - <widget class="QPushButton" name="buttonStart"> - <property name="text"> - <string>Start/Stop</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="buttonRetrieve"> - <property name="text"> - <string>Retrieve</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> - <resources/> - <connections> - <connection> - <sender>horizontalSlider</sender> - <signal>valueChanged(int)</signal> - <receiver>labelInterval</receiver> - <slot>setNum(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>217</x> - <y>137</y> - </hint> - <hint type="destinationlabel"> - <x>386</x> - <y>138</y> - </hint> - </hints> - </connection> - </connections> -</ui> |