author | harlekin <harlekin> | 2002-05-30 18:32:39 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-05-30 18:32:39 (UTC) |
commit | 9deb3a3784c638abd44bb0a263ebec29b6a20d9a (patch) (side-by-side diff) | |
tree | e9fc623e322d348ed8e0f4e57ffaca36956d5d07 /noncore | |
parent | f117abbfaf2c17c5af700433d181266b4c8d5a7b (diff) | |
download | opie-9deb3a3784c638abd44bb0a263ebec29b6a20d9a.zip opie-9deb3a3784c638abd44bb0a263ebec29b6a20d9a.tar.gz opie-9deb3a3784c638abd44bb0a263ebec29b6a20d9a.tar.bz2 |
gui stuff - not doing anything
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 98 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 40 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.o | bin | 0 -> 4152 bytes | |||
-rw-r--r-- | noncore/net/opietooth/manager/bluemanager.cpp | 81 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluemanager.h | 41 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluetoothbase.ui | 416 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/devicedialog.ui | 250 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/main.cpp | 36 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/manager.pro | 12 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/opie-toothmanager.control | 10 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.ui | 155 |
11 files changed, 1139 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp new file mode 100644 index 0000000..8ba5e0e --- a/dev/null +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -0,0 +1,98 @@ +/* + * bluebase.cpp * + * --------------------- + * + * begin : Sun 10 17:20:00 CEST 2002 + * copyright : (c) 2002 by Maximilian Reiß + * email : max.reiss@gmx.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. * + * * + ***************************************************************************/ + +#include "bluebase.h" + +#include <qframe.h> +#include <qlabel.h> +#include <qpushbutton.h> +#include <qlayout.h> +#include <qvariant.h> +#include <qwhatsthis.h> +#include <qimage.h> +#include <qpixmap.h> +#include <qtabwidget.h> +#include <qscrollview.h> +#include <qvbox.h> +#include <qapplication.h> +#include <qcheckbox.h> + +#include <qpe/resource.h> + +BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) + : QWidget( parent, name, fl ) { + + QWidget *d = QApplication::desktop(); + int w=d->width(); + int h=d->height(); + resize( w , h ); + + + QVBoxLayout * TopLayout = new QVBoxLayout(this); + TabWidget = new QTabWidget( this, "TabWidget" ); + TopLayout->addWidget(TabWidget); + TabWidget->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, TabWidget->sizePolicy().hasHeightForWidth() ) ); + TabWidget->setAutoMask( FALSE ); + TabWidget->setTabShape( QTabWidget::Rounded ); + + Tab = new QWidget( TabWidget, "tab" ); + + QVBoxLayout * Layout = new QVBoxLayout(Tab); + + Test = new QLabel( Tab, "test"); + ScanButton = new QPushButton(Tab, "scanbutton"); + + Layout->addWidget(Test); + Layout->addWidget(ScanButton); + + + TabWidget->insertTab( Tab, tr( "Geräte" ) ); + + + TabConn = new QWidget( TabWidget, "tab3" ); + + TabWidget->insertTab( TabConn, tr("Connections") ); + + TabConf = new QWidget( TabWidget, "tab2" ); + + AuthCheckBox = new QCheckBox (TabConf, "auth" ); + QLabel *AuthLabel = new QLabel( TabConf, "authlabel" ); + AuthLabel->setText( tr("enable authentification")); + + CryptCheckBox = new QCheckBox (TabConf, "crypt"); + QLabel *CryptLabel = new QLabel ( TabConf, "cryptlabel"); + CryptLabel->setText(tr("enable encryption")); + + + TabWidget->insertTab( TabConf, tr("Configuration")); + + + + QPalette pal = this->palette(); + QColor col = pal.color(QPalette::Active, QColorGroup::Background); + pal.setColor(QPalette::Active, QColorGroup::Button, col); + pal.setColor(QPalette::Inactive, QColorGroup::Button, col); + pal.setColor(QPalette::Normal, QColorGroup::Button, col); + pal.setColor(QPalette::Disabled, QColorGroup::Button, col); + this->setPalette(pal); +} + + +BlueBase::~BlueBase(){ +} + diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h new file mode 100644 index 0000000..e2b013e --- a/dev/null +++ b/noncore/net/opietooth/manager/bluebase.h @@ -0,0 +1,40 @@ + +#ifndef BLUEBASE_H +#define BLUEBASE_H + +#include <qvariant.h> +#include <qwidget.h> +#include <qscrollview.h> +#include <qsplitter.h> + +class QVBox; +class QHBoxLayout; +class QGridLayout; +class QFrame; +class QLabel; +class QPushButton; +class QTabWidget; +class QCheckBox; + +class BlueBase : public QWidget +{ + Q_OBJECT + +public: + BlueBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~BlueBase(); + + + +protected: + QTabWidget *TabWidget; + QWidget *Tab; + QWidget *TabConf; + QWidget *TabConn; + QCheckBox *AuthCheckBox; + QCheckBox *CryptCheckBox; + QLabel *Test; + QPushButton *ScanButton; +}; + +#endif diff --git a/noncore/net/opietooth/manager/bluebase.o b/noncore/net/opietooth/manager/bluebase.o Binary files differnew file mode 100644 index 0000000..4a30d6e --- a/dev/null +++ b/noncore/net/opietooth/manager/bluebase.o diff --git a/noncore/net/opietooth/manager/bluemanager.cpp b/noncore/net/opietooth/manager/bluemanager.cpp new file mode 100644 index 0000000..ede510f --- a/dev/null +++ b/noncore/net/opietooth/manager/bluemanager.cpp @@ -0,0 +1,81 @@ +/* + * today.cpp : main class + * + * --------------------- + * + * begin : Sun 10 17:20:00 CEST 2002 + * copyright : (c) 2002 by Maximilian Reiß + * email : max.reiss@gmx.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. * + * * + ***************************************************************************/ + +#include "bluemanager.h" + +#include <qpe/timestring.h> +#include <qpe/config.h> +#include <qpe/qcopenvelope_qws.h> +//#include <qpe/qprocess.h> +#include <qpe/resource.h> +#include <qpe/contact.h> +#include <qpe/global.h> +#include <qpe/qpeapplication.h> + +#include <qdir.h> +#include <qfile.h> +#include <qdatetime.h> +#include <qtextstream.h> +#include <qcheckbox.h> +#include <qspinbox.h> +#include <qpushbutton.h> +#include <qlabel.h> +#include <qtimer.h> +#include <qpixmap.h> +//#include <qfileinfo.h> +#include <qlayout.h> +#include <qtl.h> + + +//#include <iostream.h> +#include <unistd.h> +#include <stdlib.h> + + +/* + * Constructs a Example which is a child of 'parent', with the + * name 'name' and widget flags set to 'f' + */ +BlueManager::BlueManager( QWidget* parent, const char* name, WFlags fl ) + : BluetoothBase( parent, name, fl ) { + + + draw(); +} + + +/* + * Repaint method. Reread all fields. + */ +void BlueManager::draw() { + + QTimer::singleShot( 20*1000, this, SLOT(draw() ) ); +} + + +void BlueManager::init() { + +} + +BlueManager::~BlueManager() { +} + + + + diff --git a/noncore/net/opietooth/manager/bluemanager.h b/noncore/net/opietooth/manager/bluemanager.h new file mode 100644 index 0000000..bec6d59 --- a/dev/null +++ b/noncore/net/opietooth/manager/bluemanager.h @@ -0,0 +1,41 @@ +/* + * bluemanager.h + * + * * + * 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. * + * * + ***************************************************************************/ + + +#ifndef BLUEMANAGER_H +#define BLUEMANAGER_H + +#include <qdatetime.h> +#include <qlist.h> + +#include "bluetoothbase.h" + +class QVBoxLayout; + +class BlueManager : public BluetoothBase { + Q_OBJECT + + public: + BlueManager( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~BlueManager(); + + private slots: + void draw(); + private: + void init(); + private slots: + // void channelReceived(const QCString &msg, const QByteArray & data); + + private: +}; + + +#endif diff --git a/noncore/net/opietooth/manager/bluetoothbase.ui b/noncore/net/opietooth/manager/bluetoothbase.ui new file mode 100644 index 0000000..61cb95f --- a/dev/null +++ b/noncore/net/opietooth/manager/bluetoothbase.ui @@ -0,0 +1,416 @@ +<!DOCTYPE UI><UI> +<class>BluetoothBase</class> +<widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>BluetoothBase</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>0</x> + <y>0</y> + <width>596</width> + <height>480</height> + </rect> + </property> + <property stdset="1"> + <name>caption</name> + <string>Form1</string> + </property> + <widget> + <class>QTabWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Status</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>0</x> + <y>0</y> + <width>260</width> + <height>350</height> + </rect> + </property> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>tab</cstring> + </property> + <attribute> + <name>title</name> + <string>Devices</string> + </attribute> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButton2</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>50</x> + <y>260</y> + <width>154</width> + <height>31</height> + </rect> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>0</hsizetype> + <vsizetype>0</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>Scan for Devices</string> + </property> + </widget> + <spacer> + <property> + <name>name</name> + <cstring>Spacer3</cstring> + </property> + <property stdset="1"> + <name>orientation</name> + <enum>Vertical</enum> + </property> + <property stdset="1"> + <name>sizeType</name> + <enum>Expanding</enum> + </property> + <property> + <name>sizeHint</name> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <spacer> + <property> + <name>name</name> + <cstring>Spacer1</cstring> + </property> + <property stdset="1"> + <name>orientation</name> + <enum>Vertical</enum> + </property> + <property stdset="1"> + <name>sizeType</name> + <enum>Fixed</enum> + </property> + <property> + <name>sizeHint</name> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget> + <class>QListView</class> + <column> + <property> + <name>text</name> + <string>Active</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <column> + <property> + <name>text</name> + <string>Device Name</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <column> + <property> + <name>text</name> + <string>Type</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <property stdset="1"> + <name>name</name> + <cstring>ListView2</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>8</x> + <y>3</y> + <width>240</width> + <height>140</height> + </rect> + </property> + </widget> + </widget> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>tab</cstring> + </property> + <attribute> + <name>title</name> + <string>Connections</string> + </attribute> + <widget> + <class>QListView</class> + <column> + <property> + <name>text</name> + <string>Device Name</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <column> + <property> + <name>text</name> + <string>Connection type</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <property stdset="1"> + <name>name</name> + <cstring>ListView4</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>8</x> + <y>3</y> + <width>241</width> + <height>301</height> + </rect> + </property> + </widget> + </widget> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>tab</cstring> + </property> + <attribute> + <name>title</name> + <string>Config</string> + </attribute> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>TextLabel6</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>10</x> + <y>20</y> + <width>121</width> + <height>20</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Device Name</string> + </property> + </widget> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>TextLabel7</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>10</x> + <y>50</y> + <width>120</width> + <height>20</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Default Passkey</string> + </property> + </widget> + <widget> + <class>QLineEdit</class> + <property stdset="1"> + <name>name</name> + <cstring>LineEdit4</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>128</x> + <y>53</y> + <width>120</width> + <height>22</height> + </rect> + </property> + </widget> + <widget> + <class>QLineEdit</class> + <property stdset="1"> + <name>name</name> + <cstring>LineEdit5</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>128</x> + <y>13</y> + <width>120</width> + <height>22</height> + </rect> + </property> + </widget> + <widget> + <class>QLayoutWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Layout5</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>10</x> + <y>100</y> + <width>188</width> + <height>104</height> + </rect> + </property> + <vbox> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>6</number> + </property> + <widget> + <class>QCheckBox</class> + <property stdset="1"> + <name>name</name> + <cstring>CheckBox1</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>enable authentification</string> + </property> + </widget> + <widget> + <class>QCheckBox</class> + <property stdset="1"> + <name>name</name> + <cstring>CheckBox2</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>enable encryption</string> + </property> + </widget> + <widget> + <class>QCheckBox</class> + <property stdset="1"> + <name>name</name> + <cstring>CheckBox5</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>Enable Page scan</string> + </property> + </widget> + <widget> + <class>QCheckBox</class> + <property stdset="1"> + <name>name</name> + <cstring>CheckBox6</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>Enable Inquiry scan</string> + </property> + </widget> + </vbox> + </widget> + </widget> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>tab</cstring> + </property> + <attribute> + <name>title</name> + <string>Status</string> + </attribute> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>StutusLabel</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>10</x> + <y>10</y> + <width>240</width> + <height>300</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Status Label</string> + </property> + </widget> + </widget> + </widget> +</widget> +</UI> diff --git a/noncore/net/opietooth/manager/devicedialog.ui b/noncore/net/opietooth/manager/devicedialog.ui new file mode 100644 index 0000000..121fdf0 --- a/dev/null +++ b/noncore/net/opietooth/manager/devicedialog.ui @@ -0,0 +1,250 @@ +<!DOCTYPE UI><UI> +<class>Form2</class> +<widget> + <class>QDialog</class> + <property stdset="1"> + <name>name</name> + <cstring>Form2</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>0</x> + <y>0</y> + <width>592</width> + <height>480</height> + </rect> + </property> + <property stdset="1"> + <name>caption</name> + <string>Form2</string> + </property> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>TextLabel4</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>0</x> + <y>0</y> + <width>170</width> + <height>20</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Devicename</string> + </property> + </widget> + <widget> + <class>QTabWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>TabWidget7</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>0</x> + <y>20</y> + <width>240</width> + <height>290</height> + </rect> + </property> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>tab</cstring> + </property> + <attribute> + <name>title</name> + <string>Services</string> + </attribute> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButton5</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>50</x> + <y>200</y> + <width>129</width> + <height>31</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>change settings</string> + </property> + </widget> + <widget> + <class>QListView</class> + <column> + <property> + <name>text</name> + <string>active</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <column> + <property> + <name>text</name> + <string>service name</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <property stdset="1"> + <name>name</name> + <cstring>ListView1</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>10</x> + <y>10</y> + <width>220</width> + <height>180</height> + </rect> + </property> + </widget> + </widget> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>tab</cstring> + </property> + <attribute> + <name>title</name> + <string>Settings</string> + </attribute> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>TextLabel5</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>10</x> + <y>0</y> + <width>110</width> + <height>50</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Change device +name</string> + </property> + </widget> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>TextLabel8</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>8</x> + <y>53</y> + <width>100</width> + <height>40</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Default PIN +Code</string> + </property> + </widget> + <widget> + <class>QLineEdit</class> + <property stdset="1"> + <name>name</name> + <cstring>LineEdit1</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>120</x> + <y>10</y> + <width>110</width> + <height>22</height> + </rect> + </property> + </widget> + <widget> + <class>QLineEdit</class> + <property stdset="1"> + <name>name</name> + <cstring>LineEdit6</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>120</x> + <y>50</y> + <width>110</width> + <height>22</height> + </rect> + </property> + </widget> + </widget> + <widget> + <class>QWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>tab</cstring> + </property> + <attribute> + <name>title</name> + <string>Information</string> + </attribute> + <widget> + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>DeviceInfoLabel</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>18</x> + <y>13</y> + <width>210</width> + <height>230</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>TextLabel9</string> + </property> + </widget> + </widget> + </widget> +</widget> +</UI> diff --git a/noncore/net/opietooth/manager/main.cpp b/noncore/net/opietooth/manager/main.cpp new file mode 100644 index 0000000..c7ccf23 --- a/dev/null +++ b/noncore/net/opietooth/manager/main.cpp @@ -0,0 +1,36 @@ +/* + * main.cpp + * + * --------------------- + * + * begin : Sun 10 17:20:00 CEST 2002 + * copyright : (c) 2002 by Maximilian Reiß + * email : max.reiss@gmx.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. * + * * + ***************************************************************************/ + +#include "bluemanager.h" +#include <qpe/qpeapplication.h> + +QPEApplication *BluetoothApp; + +int main( int argc, char ** argv ) +{ + QPEApplication a(argc, argv); + BluetoothApp=&a; + + BlueManager t; + + t.setCaption( BlueManager::tr("Bluetooth Manager") ); + a.showMainWidget(&t); + + return a.exec(); +} diff --git a/noncore/net/opietooth/manager/manager.pro b/noncore/net/opietooth/manager/manager.pro new file mode 100644 index 0000000..3cb308c --- a/dev/null +++ b/noncore/net/opietooth/manager/manager.pro @@ -0,0 +1,12 @@ +TEMPLATE = app +#CONFIG = qt warn_on debug +CONFIG = qt warn_on release +HEADERS = bluemanager.h +SOURCES = main.cpp bluemanager.cpp + +INCLUDEPATH += $(OPIEDIR)/include +DEPENDPATH += $(OPIEDIR)/include +LIBS += -lqpe +INTERFACES = bluetoothbase.ui devicedialog.ui scandialog.ui +TARGET = bluetooth-manager +DESTDIR = $(OPIEDIR)/bin diff --git a/noncore/net/opietooth/manager/opie-toothmanager.control b/noncore/net/opietooth/manager/opie-toothmanager.control new file mode 100644 index 0000000..75dcfc9 --- a/dev/null +++ b/noncore/net/opietooth/manager/opie-toothmanager.control @@ -0,0 +1,10 @@ +Files: bin/bluetooth-manager apps/Settings/bluetooth-manager.desktop pics/bluetooth/* +Priority: optional +Section: opie/applications +Maintainer: Maximilian Reiß <max.reiss@gmx.de> +Architecture: arm +Version: 0.3.4-$SUB_VERSION +Depends: opie-base ($QPE_VERSION) +License: GPL +Description: Bluetooth Manager application + diff --git a/noncore/net/opietooth/manager/scandialog.ui b/noncore/net/opietooth/manager/scandialog.ui new file mode 100644 index 0000000..c8d018f --- a/dev/null +++ b/noncore/net/opietooth/manager/scandialog.ui @@ -0,0 +1,155 @@ +<!DOCTYPE UI><UI> +<class>Form3</class> +<widget> + <class>QDialog</class> + <property stdset="1"> + <name>name</name> + <cstring>Form3</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>0</x> + <y>0</y> + <width>368</width> + <height>392</height> + </rect> + </property> + <property stdset="1"> + <name>caption</name> + <string>Form3</string> + </property> + <widget> + <class>QFrame</class> + <property stdset="1"> + <name>name</name> + <cstring>Frame7</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>0</x> + <y>0</y> + <width>240</width> + <height>331</height> + </rect> + </property> + <property stdset="1"> + <name>frameShape</name> + <enum>StyledPanel</enum> + </property> + <property stdset="1"> + <name>frameShadow</name> + <enum>Raised</enum> + </property> + <widget> + <class>QLayoutWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Layout11</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>10</x> + <y>9</y> + <width>221</width> + <height>310</height> + </rect> + </property> + <grid> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>6</number> + </property> + <widget row="1" column="0" rowspan="1" colspan="2" > + <class>QLabel</class> + <property stdset="1"> + <name>name</name> + <cstring>TextLabel10</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>ersetzen durch qprogressbar</string> + </property> + </widget> + <widget row="2" column="0" > + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButton13</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>Start</string> + </property> + </widget> + <widget row="2" column="1" > + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButton6</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>Stop</string> + </property> + </widget> + <widget row="0" column="0" rowspan="1" colspan="2" > + <class>QListView</class> + <column> + <property> + <name>text</name> + <string>In List</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <column> + <property> + <name>text</name> + <string>Device Name</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <column> + <property> + <name>text</name> + <string>Type</string> + </property> + <property> + <name>clickable</name> + <bool>true</bool> + </property> + <property> + <name>resizeable</name> + <bool>true</bool> + </property> + </column> + <property stdset="1"> + <name>name</name> + <cstring>ListView1</cstring> + </property> + </widget> + </grid> + </widget> + </widget> +</widget> +</UI> |