From c33d5ec60361238e50a4a9d6e0eec03e396dce60 Mon Sep 17 00:00:00 2001 From: kergoth Date: Sat, 09 Aug 2003 17:00:23 +0000 Subject: Merge from BRANCH_1_0 --- (limited to 'noncore/net/opietooth/blue-pin') diff --git a/noncore/net/opietooth/blue-pin/pindlg.cc b/noncore/net/opietooth/blue-pin/pindlg.cc index 54f096e..7d60d6c 100644 --- a/noncore/net/opietooth/blue-pin/pindlg.cc +++ b/noncore/net/opietooth/blue-pin/pindlg.cc @@ -20,6 +20,7 @@ PinDlg::PinDlg( const QString& status, m_mac = mac; test( mac ); txtStatus->setText(status); + showMaximized(); } PinDlg::~PinDlg() { diff --git a/noncore/net/opietooth/blue-pin/pindlg.h b/noncore/net/opietooth/blue-pin/pindlg.h index b4f5ff8..5e5a763 100644 --- a/noncore/net/opietooth/blue-pin/pindlg.h +++ b/noncore/net/opietooth/blue-pin/pindlg.h @@ -1,12 +1,14 @@ #include - #include "pindlgbase.h" namespace OpieTooth { + class PinDlg : public PinDlgBase { - Q_OBJECT + + Q_OBJECT + public: PinDlg(const QString& text, const QString& mac, @@ -15,12 +17,13 @@ namespace OpieTooth { ~PinDlg(); void setMac( const QString& ); QString pin() const; + private: void test( const QString& mac ); QString m_mac; -protected slots: - void accept(); - }; + protected slots: + void accept(); + }; }; diff --git a/noncore/net/opietooth/blue-pin/pindlgbase.ui b/noncore/net/opietooth/blue-pin/pindlgbase.ui index 6966a03..889a25e 100644 --- a/noncore/net/opietooth/blue-pin/pindlgbase.ui +++ b/noncore/net/opietooth/blue-pin/pindlgbase.ui @@ -12,15 +12,15 @@ 0 0 - 248 - 167 + 258 + 245 caption Please enter pin - + margin 11 @@ -29,13 +29,49 @@ spacing 6 - + + QLabel + + name + txtStatus + + + text + + + + textFormat + RichText + + + + + name + Spacer4_2 + + + orientation + Vertical + + + sizeType + Expanding + + + sizeHint + + 20 + 20 + + + + QLayoutWidget name Layout6 - + margin 0 @@ -44,39 +80,116 @@ spacing 6 - - QLineEdit + + QLabel name - lnePin + TextLabel3 - echoMode - Password + text + Please enter PIN: - - + + QLayoutWidget + name - Spacer2 + Layout5 + + + margin + 0 + + + spacing + 6 + + + QLineEdit + + name + lnePin + + + echoMode + Password + + + + + name + Spacer4 + + + orientation + Horizontal + + + sizeType + Fixed + + + sizeHint + + 21 + 20 + + + + + + + QCheckBox - orientation - Horizontal + name + ckbPin - sizeType - Fixed - - - sizeHint - - 16 - 20 - + text + Save pin - - + + + + + + name + Spacer5 + + + orientation + Vertical + + + sizeType + Expanding + + + sizeHint + + 20 + 20 + + + + + QLayoutWidget + + name + Layout7 + + + + margin + 0 + + + spacing + 6 + + name Spacer1 @@ -97,54 +210,7 @@ - - - name - Spacer4 - - - orientation - Horizontal - - - sizeType - Fixed - - - sizeHint - - 21 - 20 - - - - - QLabel - - name - txtStatus - - - text - - - - textFormat - RichText - - - - QLabel - - name - TextLabel3 - - - text - Please enter PIN: - - - + QPushButton name @@ -155,7 +221,7 @@ &Ok - + QPushButton name @@ -166,20 +232,30 @@ &Cancel - - QCheckBox - + + name - ckbPin + Spacer2 - text - Save pin + orientation + Horizontal - - + + sizeType + Fixed + + + sizeHint + + 16 + 20 + + + + - + -- cgit v0.9.0.2