From 2b2620fee2bbd6f7045b237aa33c277c47512345 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Fri, 10 Oct 2003 02:24:48 +0000 Subject: This patch adds scanning the "network neighbourhood" in networksettings-wlan (powered by the Wellenreiter II scanning engine found in libopienet2). Detected networks are put in a list and you can select parameters by clicking on an entry in the list. See http://opie.net.wox.org/images/wlanplugin.png Two inherent drawbacks: 1.) networksettingsplugin-wlan now needs libopienet2. Well, my library work pays off. If you like to rewrite the stuff so that libopienet2 is not needed, then just go ahead ;) 2.) Scanning won't work on linux distributions without patched monitor mode drivers. I think we can live with these two "issues". Feel free to revert, if you don't like my work :D --- (limited to 'noncore/settings/networksettings/wlan/wlan.ui') diff --git a/noncore/settings/networksettings/wlan/wlan.ui b/noncore/settings/networksettings/wlan/wlan.ui index 7e39e23..195ead9 100644 --- a/noncore/settings/networksettings/wlan/wlan.ui +++ b/noncore/settings/networksettings/wlan/wlan.ui @@ -11,8 +11,8 @@ 0 0 - 247 - 299 + 216 + 342 @@ -45,6 +45,12 @@ enabled true + + layoutMargin + + + layoutSpacing + QWidget @@ -55,333 +61,345 @@ title General - - - name - Spacer31 - - - orientation - Vertical - - - sizeType - Expanding - - - sizeHint - - 20 - 20 - - - - - QLabel - - name - modeLabel - - - enabled - true - - - geometry - - 11 - 11 - 84 - 29 - - - - sizePolicy - - 1 - 1 - - - - text - Mode - - - - QLabel - - name - essidLabel - - - enabled - true - - - geometry - - 11 - 46 - 84 - 29 - - - - sizePolicy - - 1 - 1 - - - - text - ESS-ID - - - - QSpinBox - - name - networkChannel - - - enabled - false - - - geometry - - 146 - 139 - 58 - 25 - - - - maxValue - 15 - - - minValue - 1 - - - value - 1 - - - - QLineEdit - - name - macEdit - - - enabled - false - - - geometry - - 56 - 108 - 182 - 25 - - - - sizePolicy - - 5 - 1 - - - - - QLabel - - name - macLabel - - - enabled - false - - - geometry - - 11 - 108 - 39 - 25 - - - - text - MAC - - - - QCheckBox - - name - specifyAp - - - geometry - - 11 - 81 - 227 - 21 - - - - text - Specify &Access Point - - - - QCheckBox - - name - specifyChan - - - geometry - - 11 - 141 - 129 - 21 - - - - text - Specify &Channel - - - - - name - Spacer10 - + - orientation - Horizontal + margin + 3 - sizeType - Expanding - - - sizeHint - - 20 - 20 - + spacing + 2 - - - QComboBox - - - text - any + + QLayoutWidget + + name + Layout1 - - - name - essid - - - geometry - - 101 - 46 - 103 - 29 - - - - sizePolicy - - 7 - 0 - - - - editable - true - - - currentItem - 0 - - - sizeLimit - 5 - - - autoCompletion - true - - - duplicatesEnabled - false - - - - QComboBox - - - text - Infrastructure + + + margin + 0 + + + spacing + 6 + + + QComboBox + + + text + any + + + + name + essid + + + sizePolicy + + 7 + 0 + + + + editable + true + + + currentItem + 0 + + + sizeLimit + 5 + + + autoCompletion + true + + + duplicatesEnabled + false + + + + QLabel + + name + essidLabel + + + enabled + true + + + sizePolicy + + 1 + 1 + + + + text + SSID + + + + QComboBox + + + text + Infrastructure + + + + + text + Auto + + + + + text + Managed + + + + + text + Ad-Hoc + + + + name + mode + + + enabled + true + + + sizePolicy + + 7 + 0 + + + + + QLabel + + name + modeLabel + + + enabled + true + + + sizePolicy + + 1 + 1 + + + + text + Mode + + + + + + QCheckBox + + name + specifyAp - - - + text - Auto + Specify &Access Point - - - - text - Managed + + + QLayoutWidget + + name + Layout3 - - - + + + margin + 0 + + + spacing + 6 + + + QLabel + + name + macLabel + + + enabled + false + + + text + MAC + + + + QLineEdit + + name + macEdit + + + enabled + false + + + sizePolicy + + 7 + 1 + + + + + + + QLayoutWidget + + name + Layout4 + + + + margin + 0 + + + spacing + 6 + + + QCheckBox + + name + specifyChan + + + text + Specify &Channel + + + + QSpinBox + + name + networkChannel + + + enabled + false + + + maxValue + 15 + + + minValue + 1 + + + value + 1 + + + + + + QPushButton + + name + rescanButton + + text - Ad-Hoc + Rescan Neighbourhood - - - name - mode - - - enabled - true - - - geometry - - 101 - 11 - 103 - 29 - - - - sizePolicy - - 1 - 0 - - - + + + QListView + + + text + + + + clickable + true + + + resizeable + true + + + + + text + SSID + + + clickable + true + + + resizeable + true + + + + + text + Chn + + + clickable + true + + + resizeable + true + + + + + text + MAC + + + clickable + true + + + resizeable + true + + + + name + netView + + + QWidget @@ -396,11 +414,11 @@ margin - 11 + 7 spacing - 6 + 3 QCheckBox -- cgit v0.9.0.2