summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.cpp
authorharlekin <harlekin>2002-05-30 18:32:39 (UTC)
committer harlekin <harlekin>2002-05-30 18:32:39 (UTC)
commit9deb3a3784c638abd44bb0a263ebec29b6a20d9a (patch) (side-by-side diff)
treee9fc623e322d348ed8e0f4e57ffaca36956d5d07 /noncore/net/opietooth/manager/bluebase.cpp
parentf117abbfaf2c17c5af700433d181266b4c8d5a7b (diff)
downloadopie-9deb3a3784c638abd44bb0a263ebec29b6a20d9a.zip
opie-9deb3a3784c638abd44bb0a263ebec29b6a20d9a.tar.gz
opie-9deb3a3784c638abd44bb0a263ebec29b6a20d9a.tar.bz2
gui stuff - not doing anything
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp98
1 files changed, 98 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(){
+}
+