author | tille <tille> | 2003-06-02 12:36:00 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-02 12:36:00 (UTC) |
commit | 2d0134f0bee1c0d33fc8cdc66ecc390080adba25 (patch) (unidiff) | |
tree | 430950574b78a060940fc1a00942550fb5d84cf6 | |
parent | ed171b266b1f42b358b2b814deb33be21c220683 (diff) | |
download | opie-2d0134f0bee1c0d33fc8cdc66ecc390080adba25.zip opie-2d0134f0bee1c0d33fc8cdc66ecc390080adba25.tar.gz opie-2d0134f0bee1c0d33fc8cdc66ecc390080adba25.tar.bz2 |
disable the profile tab and add some whatsthis
-rw-r--r-- | noncore/settings/networksettings/mainwindow.ui | 24 | ||||
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 10 |
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 @@ | |||
36 | </property> | 36 | </property> |
37 | <property stdset="1"> | ||
38 | <name>enabled</name> | ||
39 | <bool>true</bool> | ||
40 | </property> | ||
37 | <property> | 41 | <property> |
@@ -138,2 +142,6 @@ | |||
138 | </property> | 142 | </property> |
143 | <property> | ||
144 | <name>whatsThis</name> | ||
145 | <string>A list of network settings to be choosen from</string> | ||
146 | </property> | ||
139 | </widget> | 147 | </widget> |
@@ -167,2 +175,6 @@ | |||
167 | </property> | 175 | </property> |
176 | <property> | ||
177 | <name>whatsThis</name> | ||
178 | <string>Add a new interface to the list.</string> | ||
179 | </property> | ||
168 | </widget> | 180 | </widget> |
@@ -178,2 +190,6 @@ | |||
178 | </property> | 190 | </property> |
191 | <property> | ||
192 | <name>whatsThis</name> | ||
193 | <string>Start and Stop the current interface, gives additional information about the interface.</string> | ||
194 | </property> | ||
179 | </widget> | 195 | </widget> |
@@ -189,2 +205,6 @@ | |||
189 | </property> | 205 | </property> |
206 | <property> | ||
207 | <name>whatsThis</name> | ||
208 | <string>Configure the current interface</string> | ||
209 | </property> | ||
190 | </widget> | 210 | </widget> |
@@ -200,2 +220,6 @@ | |||
200 | </property> | 220 | </property> |
221 | <property> | ||
222 | <name>whatsThis</name> | ||
223 | <string>Remove the current interface from the list.</string> | ||
224 | </property> | ||
201 | </widget> | 225 | </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 @@ | |||
13 | #include <qlabel.h> | 13 | #include <qlabel.h> |
14 | #include <qtabwidget.h> // in order to disable the profiles tab | ||
14 | 15 | ||
@@ -60,2 +61,6 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name) : MainWindow(par | |||
60 | connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&))); | 61 | connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&))); |
62 | |||
63 | //FIXME: disable profiles for the moment: | ||
64 | tabWidget->setTabEnabled( tab, false ); | ||
65 | |||
61 | // Load connections. | 66 | // Load connections. |
@@ -96,4 +101,5 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name) : MainWindow(par | |||
96 | profiles = QStringList::split(" ", cfg.readEntry("Profiles", "All")); | 101 | profiles = QStringList::split(" ", cfg.readEntry("Profiles", "All")); |
97 | for ( QStringList::Iterator it = profiles.begin(); it != profiles.end(); ++it) | 102 | for ( QStringList::Iterator it = profiles.begin(); |
98 | profilesList->insertItem((*it)); | 103 | it != profiles.end(); ++it) |
104 | profilesList->insertItem((*it)); | ||
99 | currentProfileLabel->setText(cfg.readEntry("CurrentProfile", "All")); | 105 | currentProfileLabel->setText(cfg.readEntry("CurrentProfile", "All")); |