Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 48 |
1 files changed, 2 insertions, 46 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 8ba5e0e..f4153a0 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -35,52 +35,7 @@ | |||
35 | #include <qpe/resource.h> | 35 | #include <qpe/resource.h> |
36 | 36 | ||
37 | BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | 37 | BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) |
38 | : QWidget( parent, name, fl ) { | 38 | : BluetoothBase( parent, name, fl ) { |
39 | |||
40 | QWidget *d = QApplication::desktop(); | ||
41 | int w=d->width(); | ||
42 | int h=d->height(); | ||
43 | resize( w , h ); | ||
44 | |||
45 | |||
46 | QVBoxLayout * TopLayout = new QVBoxLayout(this); | ||
47 | TabWidget = new QTabWidget( this, "TabWidget" ); | ||
48 | TopLayout->addWidget(TabWidget); | ||
49 | TabWidget->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, TabWidget->sizePolicy().hasHeightForWidth() ) ); | ||
50 | TabWidget->setAutoMask( FALSE ); | ||
51 | TabWidget->setTabShape( QTabWidget::Rounded ); | ||
52 | |||
53 | Tab = new QWidget( TabWidget, "tab" ); | ||
54 | |||
55 | QVBoxLayout * Layout = new QVBoxLayout(Tab); | ||
56 | |||
57 | Test = new QLabel( Tab, "test"); | ||
58 | ScanButton = new QPushButton(Tab, "scanbutton"); | ||
59 | |||
60 | Layout->addWidget(Test); | ||
61 | Layout->addWidget(ScanButton); | ||
62 | |||
63 | |||
64 | TabWidget->insertTab( Tab, tr( "Geräte" ) ); | ||
65 | |||
66 | |||
67 | TabConn = new QWidget( TabWidget, "tab3" ); | ||
68 | |||
69 | TabWidget->insertTab( TabConn, tr("Connections") ); | ||
70 | |||
71 | TabConf = new QWidget( TabWidget, "tab2" ); | ||
72 | |||
73 | AuthCheckBox = new QCheckBox (TabConf, "auth" ); | ||
74 | QLabel *AuthLabel = new QLabel( TabConf, "authlabel" ); | ||
75 | AuthLabel->setText( tr("enable authentification")); | ||
76 | |||
77 | CryptCheckBox = new QCheckBox (TabConf, "crypt"); | ||
78 | QLabel *CryptLabel = new QLabel ( TabConf, "cryptlabel"); | ||
79 | CryptLabel->setText(tr("enable encryption")); | ||
80 | |||
81 | |||
82 | TabWidget->insertTab( TabConf, tr("Configuration")); | ||
83 | |||
84 | 39 | ||
85 | 40 | ||
86 | QPalette pal = this->palette(); | 41 | QPalette pal = this->palette(); |
@@ -96,3 +51,4 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
96 | BlueBase::~BlueBase(){ | 51 | BlueBase::~BlueBase(){ |
97 | } | 52 | } |
98 | 53 | ||
54 | |||