summaryrefslogtreecommitdiff
authortille <tille>2003-06-02 12:36:00 (UTC)
committer tille <tille>2003-06-02 12:36:00 (UTC)
commit2d0134f0bee1c0d33fc8cdc66ecc390080adba25 (patch) (side-by-side diff)
tree430950574b78a060940fc1a00942550fb5d84cf6
parented171b266b1f42b358b2b814deb33be21c220683 (diff)
downloadopie-2d0134f0bee1c0d33fc8cdc66ecc390080adba25.zip
opie-2d0134f0bee1c0d33fc8cdc66ecc390080adba25.tar.gz
opie-2d0134f0bee1c0d33fc8cdc66ecc390080adba25.tar.bz2
disable the profile tab and add some whatsthis
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindow.ui24
-rw-r--r--noncore/settings/networksettings/mainwindowimp.cpp10
2 files changed, 32 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/mainwindow.ui b/noncore/settings/networksettings/mainwindow.ui
index f61a1ae..a730dd5 100644
--- a/noncore/settings/networksettings/mainwindow.ui
+++ b/noncore/settings/networksettings/mainwindow.ui
@@ -36,2 +36,6 @@
</property>
+ <property stdset="1">
+ <name>enabled</name>
+ <bool>true</bool>
+ </property>
<property>
@@ -138,2 +142,6 @@
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>A list of network settings to be choosen from</string>
+ </property>
</widget>
@@ -167,2 +175,6 @@
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Add a new interface to the list.</string>
+ </property>
</widget>
@@ -178,2 +190,6 @@
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Start and Stop the current interface, gives additional information about the interface.</string>
+ </property>
</widget>
@@ -189,2 +205,6 @@
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Configure the current interface</string>
+ </property>
</widget>
@@ -200,2 +220,6 @@
</property>
+ <property>
+ <name>whatsThis</name>
+ <string>Remove the current interface from the list.</string>
+ </property>
</widget>
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp
index 63b9603..abf5663 100644
--- a/noncore/settings/networksettings/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindowimp.cpp
@@ -13,2 +13,3 @@
#include <qlabel.h>
+#include <qtabwidget.h> // in order to disable the profiles tab
@@ -60,2 +61,6 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name) : MainWindow(par
connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&)));
+
+ //FIXME: disable profiles for the moment:
+ tabWidget->setTabEnabled( tab, false );
+
// Load connections.
@@ -96,4 +101,5 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name) : MainWindow(par
profiles = QStringList::split(" ", cfg.readEntry("Profiles", "All"));
- for ( QStringList::Iterator it = profiles.begin(); it != profiles.end(); ++it)
- profilesList->insertItem((*it));
+ for ( QStringList::Iterator it = profiles.begin();
+ it != profiles.end(); ++it)
+ profilesList->insertItem((*it));
currentProfileLabel->setText(cfg.readEntry("CurrentProfile", "All"));