-rw-r--r-- | noncore/settings/packagemanager/filterdlg.cpp | 16 | ||||
-rw-r--r-- | noncore/settings/packagemanager/mainwindow.cpp | 28 | ||||
-rw-r--r-- | noncore/settings/packagemanager/oipkgconfigdlg.cpp | 41 |
3 files changed, 64 insertions, 21 deletions
diff --git a/noncore/settings/packagemanager/filterdlg.cpp b/noncore/settings/packagemanager/filterdlg.cpp index eeed398..70875bd 100644 --- a/noncore/settings/packagemanager/filterdlg.cpp +++ b/noncore/settings/packagemanager/filterdlg.cpp | |||
@@ -31,2 +31,4 @@ | |||
31 | 31 | ||
32 | #include <qwhatsthis.h> | ||
33 | |||
32 | FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | 34 | FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, |
@@ -34,3 +36,3 @@ FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | |||
34 | OPackageManager::Status status, const QString &category ) | 36 | OPackageManager::Status status, const QString &category ) |
35 | : QDialog( parent, QString::null, true ) | 37 | : QDialog( parent, QString::null, true, WStyle_ContextHelp ) |
36 | { | 38 | { |
@@ -49,4 +51,6 @@ FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | |||
49 | m_categoryCB = new QCheckBox( tr( "Category:" ), container ); | 51 | m_categoryCB = new QCheckBox( tr( "Category:" ), container ); |
52 | QWhatsThis::add( m_categoryCB, tr( "Tap here to filter package list by application category." ) ); | ||
50 | connect( m_categoryCB, SIGNAL(toggled(bool)), this, SLOT(slotCategorySelected(bool)) ); | 53 | connect( m_categoryCB, SIGNAL(toggled(bool)), this, SLOT(slotCategorySelected(bool)) ); |
51 | m_category = new QComboBox( container ); | 54 | m_category = new QComboBox( container ); |
55 | QWhatsThis::add( m_category, tr( "Select the application category to filter by here." ) ); | ||
52 | m_category->insertStringList( pm->categories() ); | 56 | m_category->insertStringList( pm->categories() ); |
@@ -58,4 +62,6 @@ FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | |||
58 | m_nameCB = new QCheckBox( tr( "Names containing:" ), container ); | 62 | m_nameCB = new QCheckBox( tr( "Names containing:" ), container ); |
63 | QWhatsThis::add( m_nameCB, tr( "Tap here to filter package list by package name." ) ); | ||
59 | connect( m_nameCB, SIGNAL(toggled(bool)), this, SLOT(slotNameSelected(bool)) ); | 64 | connect( m_nameCB, SIGNAL(toggled(bool)), this, SLOT(slotNameSelected(bool)) ); |
60 | m_name = new QLineEdit( name, container ); | 65 | m_name = new QLineEdit( name, container ); |
66 | QWhatsThis::add( m_name, tr( "Enter the package name to filter by here." ) ); | ||
61 | if ( !name.isNull() ) | 67 | if ( !name.isNull() ) |
@@ -68,4 +74,6 @@ FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | |||
68 | m_statusCB = new QCheckBox( tr( "With the status:" ), container ); | 74 | m_statusCB = new QCheckBox( tr( "With the status:" ), container ); |
75 | QWhatsThis::add( m_statusCB, tr( "Tap here to filter package list by the package status." ) ); | ||
69 | connect( m_statusCB, SIGNAL(toggled(bool)), this, SLOT(slotStatusSelected(bool)) ); | 76 | connect( m_statusCB, SIGNAL(toggled(bool)), this, SLOT(slotStatusSelected(bool)) ); |
70 | m_status = new QComboBox( container ); | 77 | m_status = new QComboBox( container ); |
78 | QWhatsThis::add( m_status, tr( "Select the package status to filter by here." ) ); | ||
71 | connect( m_status, SIGNAL(activated(const QString&)), this, SLOT(slotStatusChanged(const QString&)) ); | 79 | connect( m_status, SIGNAL(activated(const QString&)), this, SLOT(slotStatusChanged(const QString&)) ); |
@@ -94,4 +102,6 @@ FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | |||
94 | m_serverCB = new QCheckBox( tr( "Available from the following server:" ), container ); | 102 | m_serverCB = new QCheckBox( tr( "Available from the following server:" ), container ); |
103 | QWhatsThis::add( m_serverCB, tr( "Tap here to filter package list by source server." ) ); | ||
95 | connect( m_serverCB, SIGNAL(toggled(bool)), this, SLOT(slotServerSelected(bool)) ); | 104 | connect( m_serverCB, SIGNAL(toggled(bool)), this, SLOT(slotServerSelected(bool)) ); |
96 | m_server = new QComboBox( container ); | 105 | m_server = new QComboBox( container ); |
106 | QWhatsThis::add( m_server, tr( "Select the source server to filter by here." ) ); | ||
97 | m_server->insertStringList( *(pm->servers()) ); | 107 | m_server->insertStringList( *(pm->servers()) ); |
@@ -103,4 +113,6 @@ FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | |||
103 | m_destCB = new QCheckBox( tr( "Installed on device at:" ), container ); | 113 | m_destCB = new QCheckBox( tr( "Installed on device at:" ), container ); |
114 | QWhatsThis::add( m_destCB, tr( "Tap here to filter package list by destination where the package is installed to on this device." ) ); | ||
104 | connect( m_destCB, SIGNAL(toggled(bool)), this, SLOT(slotDestSelected(bool)) ); | 115 | connect( m_destCB, SIGNAL(toggled(bool)), this, SLOT(slotDestSelected(bool)) ); |
105 | m_destination = new QComboBox( container ); | 116 | m_destination = new QComboBox( container ); |
117 | QWhatsThis::add( m_destination, tr( "Select the destination location to filter by here." ) ); | ||
106 | m_destination->insertStringList( *(pm->destinations()) ); | 118 | m_destination->insertStringList( *(pm->destinations()) ); |
@@ -109,4 +121,2 @@ FilterDlg::FilterDlg( QWidget *parent, OPackageManager *pm, const QString &name, | |||
109 | layout->addWidget( m_destination ); | 121 | layout->addWidget( m_destination ); |
110 | |||
111 | //showMaximized(); | ||
112 | } | 122 | } |
diff --git a/noncore/settings/packagemanager/mainwindow.cpp b/noncore/settings/packagemanager/mainwindow.cpp index b334bca..810046f 100644 --- a/noncore/settings/packagemanager/mainwindow.cpp +++ b/noncore/settings/packagemanager/mainwindow.cpp | |||
@@ -118,3 +118,3 @@ void MainWindow::initPackageList() | |||
118 | m_packageList.addColumn( tr( "Packages" ) ); | 118 | m_packageList.addColumn( tr( "Packages" ) ); |
119 | QWhatsThis::add( &m_packageList, tr( "This is a listing of all packages.\n\nA blue dot next to the package name indicates that the package is currently installed.\n\nA blue dot with a star indicates that a newer version of the package is available from the server feed.\n\nClick inside the box at the left to select a package." ) ); | 119 | QWhatsThis::add( &m_packageList, tr( "This is a listing of all packages.\n\nA blue dot next to the package name indicates that the package is currently installed.\n\nA blue dot with a star indicates that a newer version of the package is available from the server feed.\n\nTap inside the box at the left to select a package. Tap and hold to view package details." ) ); |
120 | QPEApplication::setStylusOperation( m_packageList.viewport(), QPEApplication::RightOnHold ); | 120 | QPEApplication::setStylusOperation( m_packageList.viewport(), QPEApplication::RightOnHold ); |
@@ -159,3 +159,3 @@ void MainWindow::initUI() | |||
159 | QAction *a = new QAction( tr( "Update lists" ), Resource::loadPixmap( "packagemanager/update" ), QString::null, 0, this, 0 ); | 159 | QAction *a = new QAction( tr( "Update lists" ), Resource::loadPixmap( "packagemanager/update" ), QString::null, 0, this, 0 ); |
160 | a->setWhatsThis( tr( "Click here to update package lists from servers." ) ); | 160 | a->setWhatsThis( tr( "Tap here to update package lists from servers." ) ); |
161 | connect( a, SIGNAL(activated()), this, SLOT(slotUpdate()) ); | 161 | connect( a, SIGNAL(activated()), this, SLOT(slotUpdate()) ); |
@@ -165,3 +165,3 @@ void MainWindow::initUI() | |||
165 | QAction *actionUpgrade = new QAction( tr( "Upgrade" ), Resource::loadPixmap( "packagemanager/upgrade" ), QString::null, 0, this, 0 ); | 165 | QAction *actionUpgrade = new QAction( tr( "Upgrade" ), Resource::loadPixmap( "packagemanager/upgrade" ), QString::null, 0, this, 0 ); |
166 | actionUpgrade->setWhatsThis( tr( "Click here to upgrade all installed packages if a newer version is available." ) ); | 166 | actionUpgrade->setWhatsThis( tr( "Tap here to upgrade all installed packages if a newer version is available." ) ); |
167 | connect( actionUpgrade, SIGNAL(activated()), this, SLOT(slotUpgrade()) ); | 167 | connect( actionUpgrade, SIGNAL(activated()), this, SLOT(slotUpgrade()) ); |
@@ -173,3 +173,3 @@ void MainWindow::initUI() | |||
173 | QAction *actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); | 173 | QAction *actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); |
174 | actionDownload->setWhatsThis( tr( "Click here to download the currently selected package(s)." ) ); | 174 | actionDownload->setWhatsThis( tr( "Tap here to download the currently selected package(s)." ) ); |
175 | connect( actionDownload, SIGNAL(activated()), this, SLOT(slotDownload()) ); | 175 | connect( actionDownload, SIGNAL(activated()), this, SLOT(slotDownload()) ); |
@@ -179,3 +179,3 @@ void MainWindow::initUI() | |||
179 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "packagemanager/apply" ), QString::null, 0, this, 0 ); | 179 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "packagemanager/apply" ), QString::null, 0, this, 0 ); |
180 | a->setWhatsThis( tr( "Click here to install, remove or upgrade currently selected package(s)." ) ); | 180 | a->setWhatsThis( tr( "Tap here to install, remove or upgrade currently selected package(s)." ) ); |
181 | connect( a, SIGNAL(activated()), this, SLOT(slotApply()) ); | 181 | connect( a, SIGNAL(activated()), this, SLOT(slotApply()) ); |
@@ -187,3 +187,3 @@ void MainWindow::initUI() | |||
187 | a = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0 ); | 187 | a = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0 ); |
188 | a->setWhatsThis( tr( "Click here to configure this application." ) ); | 188 | a->setWhatsThis( tr( "Tap here to configure this application." ) ); |
189 | connect( a, SIGNAL(activated()), this, SLOT(slotConfigure()) ); | 189 | connect( a, SIGNAL(activated()), this, SLOT(slotConfigure()) ); |
@@ -197,3 +197,3 @@ void MainWindow::initUI() | |||
197 | m_actionShowNotInstalled->setToggleAction( true ); | 197 | m_actionShowNotInstalled->setToggleAction( true ); |
198 | m_actionShowNotInstalled->setWhatsThis( tr( "Click here to show packages available which have not been installed." ) ); | 198 | m_actionShowNotInstalled->setWhatsThis( tr( "Tap here to show packages available which have not been installed." ) ); |
199 | connect( m_actionShowNotInstalled, SIGNAL(activated()), this, SLOT(slotShowNotInstalled()) ); | 199 | connect( m_actionShowNotInstalled, SIGNAL(activated()), this, SLOT(slotShowNotInstalled()) ); |
@@ -203,3 +203,3 @@ void MainWindow::initUI() | |||
203 | m_actionShowInstalled->setToggleAction( true ); | 203 | m_actionShowInstalled->setToggleAction( true ); |
204 | m_actionShowInstalled->setWhatsThis( tr( "Click here to show packages currently installed on this device." ) ); | 204 | m_actionShowInstalled->setWhatsThis( tr( "Tap here to show packages currently installed on this device." ) ); |
205 | connect( m_actionShowInstalled, SIGNAL(activated()), this, SLOT(slotShowInstalled()) ); | 205 | connect( m_actionShowInstalled, SIGNAL(activated()), this, SLOT(slotShowInstalled()) ); |
@@ -209,3 +209,3 @@ void MainWindow::initUI() | |||
209 | m_actionShowUpdated->setToggleAction( true ); | 209 | m_actionShowUpdated->setToggleAction( true ); |
210 | m_actionShowUpdated->setWhatsThis( tr( "Click here to show packages currently installed on this device which have a newer version available." ) ); | 210 | m_actionShowUpdated->setWhatsThis( tr( "Tap here to show packages currently installed on this device which have a newer version available." ) ); |
211 | connect( m_actionShowUpdated, SIGNAL(activated()), this, SLOT(slotShowUpdated()) ); | 211 | connect( m_actionShowUpdated, SIGNAL(activated()), this, SLOT(slotShowUpdated()) ); |
@@ -218,3 +218,3 @@ void MainWindow::initUI() | |||
218 | m_actionFilter->setToggleAction( true ); | 218 | m_actionFilter->setToggleAction( true ); |
219 | m_actionFilter->setWhatsThis( tr( "Click here to apply current filter." ) ); | 219 | m_actionFilter->setWhatsThis( tr( "Tap here to apply current filter." ) ); |
220 | connect( m_actionFilter, SIGNAL(toggled(bool)), this, SLOT(slotFilter(bool)) ); | 220 | connect( m_actionFilter, SIGNAL(toggled(bool)), this, SLOT(slotFilter(bool)) ); |
@@ -223,3 +223,3 @@ void MainWindow::initUI() | |||
223 | a = new QAction( tr( "Filter settings" ), QString::null, 0, this, 0 ); | 223 | a = new QAction( tr( "Filter settings" ), QString::null, 0, this, 0 ); |
224 | a->setWhatsThis( tr( "Click here to change the package filter criteria." ) ); | 224 | a->setWhatsThis( tr( "Tap here to change the package filter criteria." ) ); |
225 | connect( a, SIGNAL(activated()), this, SLOT(slotFilterChange()) ); | 225 | connect( a, SIGNAL(activated()), this, SLOT(slotFilterChange()) ); |
@@ -230,3 +230,3 @@ void MainWindow::initUI() | |||
230 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "find" ), QString::null, 0, this, 0 ); | 230 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "find" ), QString::null, 0, this, 0 ); |
231 | a->setWhatsThis( tr( "Click here to search for text in package names." ) ); | 231 | a->setWhatsThis( tr( "Tap here to search for text in package names." ) ); |
232 | connect( a, SIGNAL(activated()), this, SLOT(slotFindShowToolbar()) ); | 232 | connect( a, SIGNAL(activated()), this, SLOT(slotFindShowToolbar()) ); |
@@ -236,3 +236,3 @@ void MainWindow::initUI() | |||
236 | m_actionFindNext->setEnabled( false ); | 236 | m_actionFindNext->setEnabled( false ); |
237 | m_actionFindNext->setWhatsThis( tr( "Click here to find the next package name containing the text you are searching for." ) ); | 237 | m_actionFindNext->setWhatsThis( tr( "Tap here to find the next package name containing the text you are searching for." ) ); |
238 | connect( m_actionFindNext, SIGNAL(activated()), this, SLOT(slotFindNext()) ); | 238 | connect( m_actionFindNext, SIGNAL(activated()), this, SLOT(slotFindNext()) ); |
@@ -245,3 +245,3 @@ void MainWindow::initUI() | |||
245 | a = new QAction( QString::null, Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); | 245 | a = new QAction( QString::null, Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); |
246 | a->setWhatsThis( tr( "Click here to hide the find toolbar." ) ); | 246 | a->setWhatsThis( tr( "Tap here to hide the find toolbar." ) ); |
247 | connect( a, SIGNAL(activated()), this, SLOT(slotFindHideToolbar()) ); | 247 | connect( a, SIGNAL(activated()), this, SLOT(slotFindHideToolbar()) ); |
diff --git a/noncore/settings/packagemanager/oipkgconfigdlg.cpp b/noncore/settings/packagemanager/oipkgconfigdlg.cpp index 74e7137..d134651 100644 --- a/noncore/settings/packagemanager/oipkgconfigdlg.cpp +++ b/noncore/settings/packagemanager/oipkgconfigdlg.cpp | |||
@@ -41,2 +41,3 @@ | |||
41 | #include <qscrollview.h> | 41 | #include <qscrollview.h> |
42 | #include <qwhatsthis.h> | ||
42 | 43 | ||
@@ -46,3 +47,3 @@ using namespace Opie::Ui; | |||
46 | OIpkgConfigDlg::OIpkgConfigDlg( OIpkg *ipkg, bool installOptions, QWidget *parent ) | 47 | OIpkgConfigDlg::OIpkgConfigDlg( OIpkg *ipkg, bool installOptions, QWidget *parent ) |
47 | : QDialog( parent, QString::null, true ) | 48 | : QDialog( parent, QString::null, true, WStyle_ContextHelp ) |
48 | , m_ipkg( ipkg ) | 49 | , m_ipkg( ipkg ) |
@@ -169,2 +170,3 @@ void OIpkgConfigDlg::initServerWidget() | |||
169 | m_serverList = new QListBox( container ); | 170 | m_serverList = new QListBox( container ); |
171 | QWhatsThis::add( m_serverList, tr( "This is a list of all servers configured. Select one here to edit or delete, or add a new one below." ) ); | ||
170 | m_serverList->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred ) ); | 172 | m_serverList->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred ) ); |
@@ -174,2 +176,3 @@ void OIpkgConfigDlg::initServerWidget() | |||
174 | QPushButton *btn = new QPushButton( Resource::loadPixmap( "new" ), tr( "New" ), container ); | 176 | QPushButton *btn = new QPushButton( Resource::loadPixmap( "new" ), tr( "New" ), container ); |
177 | QWhatsThis::add( btn, tr( "Tap here to create a new entry. Fill in the fields below and then tap on Update." ) ); | ||
175 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerNew()) ); | 178 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerNew()) ); |
@@ -178,2 +181,3 @@ void OIpkgConfigDlg::initServerWidget() | |||
178 | btn = new QPushButton( Resource::loadPixmap( "trash" ), tr( "Delete" ), container ); | 181 | btn = new QPushButton( Resource::loadPixmap( "trash" ), tr( "Delete" ), container ); |
182 | QWhatsThis::add( btn, tr( "Tap here to delete the entry selected above." ) ); | ||
179 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerDelete()) ); | 183 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerDelete()) ); |
@@ -189,4 +193,6 @@ void OIpkgConfigDlg::initServerWidget() | |||
189 | QLabel *label = new QLabel( tr( "Name:" ), grpbox ); | 193 | QLabel *label = new QLabel( tr( "Name:" ), grpbox ); |
194 | QWhatsThis::add( label, tr( "Enter the name of this entry here." ) ); | ||
190 | grplayout->addWidget( label, 0, 0 ); | 195 | grplayout->addWidget( label, 0, 0 ); |
191 | m_serverName = new QLineEdit( grpbox ); | 196 | m_serverName = new QLineEdit( grpbox ); |
197 | QWhatsThis::add( m_serverName, tr( "Enter the name of this entry here." ) ); | ||
192 | grplayout->addWidget( m_serverName, 0, 1 ); | 198 | grplayout->addWidget( m_serverName, 0, 1 ); |
@@ -194,7 +200,10 @@ void OIpkgConfigDlg::initServerWidget() | |||
194 | label = new QLabel( tr( "Address:" ), grpbox ); | 200 | label = new QLabel( tr( "Address:" ), grpbox ); |
201 | QWhatsThis::add( label, tr( "Enter the URL address of this entry here." ) ); | ||
195 | grplayout->addWidget( label, 1, 0 ); | 202 | grplayout->addWidget( label, 1, 0 ); |
196 | m_serverLocation = new QLineEdit( grpbox ); | 203 | m_serverLocation = new QLineEdit( grpbox ); |
204 | QWhatsThis::add( m_serverLocation, tr( "Enter the URL address of this entry here." ) ); | ||
197 | grplayout->addWidget( m_serverLocation, 1, 1 ); | 205 | grplayout->addWidget( m_serverLocation, 1, 1 ); |
198 | 206 | ||
199 | m_serverActive = new QCheckBox( tr( "Active Server" ), grpbox ); | 207 | m_serverActive = new QCheckBox( tr( "Active" ), grpbox ); |
208 | QWhatsThis::add( m_serverActive, tr( "Tap here to indicate whether this entry is active or not." ) ); | ||
200 | grplayout->addMultiCellWidget( m_serverActive, 2, 2, 0, 1 ); | 209 | grplayout->addMultiCellWidget( m_serverActive, 2, 2, 0, 1 ); |
@@ -202,2 +211,3 @@ void OIpkgConfigDlg::initServerWidget() | |||
202 | btn = new QPushButton( Resource::loadPixmap( "edit" ), tr( "Update" ), grpbox ); | 211 | btn = new QPushButton( Resource::loadPixmap( "edit" ), tr( "Update" ), grpbox ); |
212 | QWhatsThis::add( btn, tr( "Tap here to update the entry's information." ) ); | ||
203 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerUpdate()) ); | 213 | connect( btn, SIGNAL(clicked()), this, SLOT(slotServerUpdate()) ); |
@@ -221,2 +231,3 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
221 | m_destList = new QListBox( container ); | 231 | m_destList = new QListBox( container ); |
232 | QWhatsThis::add( m_destList, tr( "This is a list of all destinations configured for this device. Select one here to edit or delete, or add a new one below." ) ); | ||
222 | m_destList->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred ) ); | 233 | m_destList->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred ) ); |
@@ -226,2 +237,3 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
226 | QPushButton *btn = new QPushButton( Resource::loadPixmap( "new" ), tr( "New" ), container ); | 237 | QPushButton *btn = new QPushButton( Resource::loadPixmap( "new" ), tr( "New" ), container ); |
238 | QWhatsThis::add( btn, tr( "Tap here to create a new entry. Fill in the fields below and then tap on Update." ) ); | ||
227 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestNew()) ); | 239 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestNew()) ); |
@@ -230,2 +242,3 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
230 | btn = new QPushButton( Resource::loadPixmap( "trash" ), tr( "Delete" ), container ); | 242 | btn = new QPushButton( Resource::loadPixmap( "trash" ), tr( "Delete" ), container ); |
243 | QWhatsThis::add( btn, tr( "Tap here to delete the entry selected above." ) ); | ||
231 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestDelete()) ); | 244 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestDelete()) ); |
@@ -241,12 +254,17 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
241 | QLabel *label = new QLabel( tr( "Name:" ), grpbox ); | 254 | QLabel *label = new QLabel( tr( "Name:" ), grpbox ); |
255 | QWhatsThis::add( label, tr( "Enter the name of this entry here." ) ); | ||
242 | grplayout->addWidget( label, 0, 0 ); | 256 | grplayout->addWidget( label, 0, 0 ); |
243 | m_destName = new QLineEdit( grpbox ); | 257 | m_destName = new QLineEdit( grpbox ); |
258 | QWhatsThis::add( m_destName, tr( "Enter the name of this entry here." ) ); | ||
244 | grplayout->addWidget( m_destName, 0, 1 ); | 259 | grplayout->addWidget( m_destName, 0, 1 ); |
245 | 260 | ||
246 | label = new QLabel( tr( "Address:" ), grpbox ); | 261 | label = new QLabel( tr( "Location:" ), grpbox ); |
262 | QWhatsThis::add( label, tr( "Enter the absolute directory path of this entry here." ) ); | ||
247 | grplayout->addWidget( label, 1, 0 ); | 263 | grplayout->addWidget( label, 1, 0 ); |
248 | m_destLocation = new QLineEdit( grpbox ); | 264 | m_destLocation = new QLineEdit( grpbox ); |
265 | QWhatsThis::add( m_destLocation, tr( "Enter the absolute directory path of this entry here." ) ); | ||
249 | grplayout->addWidget( m_destLocation, 1, 1 ); | 266 | grplayout->addWidget( m_destLocation, 1, 1 ); |
250 | 267 | ||
251 | m_destActive = new QCheckBox( tr( "Active Server" ), grpbox ); | 268 | m_destActive = new QCheckBox( tr( "Active" ), grpbox ); |
269 | QWhatsThis::add( m_destActive, tr( "Tap here to indicate whether this entry is active or not." ) ); | ||
252 | grplayout->addMultiCellWidget( m_destActive, 2, 2, 0, 1 ); | 270 | grplayout->addMultiCellWidget( m_destActive, 2, 2, 0, 1 ); |
@@ -254,2 +272,3 @@ void OIpkgConfigDlg::initDestinationWidget() | |||
254 | btn = new QPushButton( Resource::loadPixmap( "edit" ), tr( "Update" ), grpbox ); | 272 | btn = new QPushButton( Resource::loadPixmap( "edit" ), tr( "Update" ), grpbox ); |
273 | QWhatsThis::add( btn, tr( "Tap here to update the entry's information." ) ); | ||
255 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestUpdate()) ); | 274 | connect( btn, SIGNAL(clicked()), this, SLOT(slotDestUpdate()) ); |
@@ -279,4 +298,6 @@ void OIpkgConfigDlg::initProxyWidget() | |||
279 | m_proxyHttpServer = new QLineEdit( grpbox ); | 298 | m_proxyHttpServer = new QLineEdit( grpbox ); |
299 | QWhatsThis::add( m_proxyHttpServer, tr( "Enter the URL address of the HTTP proxy server here." ) ); | ||
280 | grplayout->addWidget( m_proxyHttpServer ); | 300 | grplayout->addWidget( m_proxyHttpServer ); |
281 | m_proxyHttpActive = new QCheckBox( tr( "Enabled" ), grpbox ); | 301 | m_proxyHttpActive = new QCheckBox( tr( "Enabled" ), grpbox ); |
302 | QWhatsThis::add( m_proxyHttpActive, tr( "Tap here to enable or disable the HTTP proxy server." ) ); | ||
282 | grplayout->addWidget( m_proxyHttpActive ); | 303 | grplayout->addWidget( m_proxyHttpActive ); |
@@ -290,4 +311,6 @@ void OIpkgConfigDlg::initProxyWidget() | |||
290 | m_proxyFtpServer = new QLineEdit( grpbox ); | 311 | m_proxyFtpServer = new QLineEdit( grpbox ); |
312 | QWhatsThis::add( m_proxyFtpServer, tr( "Enter the URL address of the FTP proxy server here." ) ); | ||
291 | grplayout->addWidget( m_proxyFtpServer ); | 313 | grplayout->addWidget( m_proxyFtpServer ); |
292 | m_proxyFtpActive = new QCheckBox( tr( "Enabled" ), grpbox ); | 314 | m_proxyFtpActive = new QCheckBox( tr( "Enabled" ), grpbox ); |
315 | QWhatsThis::add( m_proxyFtpActive, tr( "Tap here to enable or disable the FTP proxy server." ) ); | ||
293 | grplayout->addWidget( m_proxyFtpActive ); | 316 | grplayout->addWidget( m_proxyFtpActive ); |
@@ -296,4 +319,6 @@ void OIpkgConfigDlg::initProxyWidget() | |||
296 | QLabel *label = new QLabel( tr( "Username:" ), container ); | 319 | QLabel *label = new QLabel( tr( "Username:" ), container ); |
320 | QWhatsThis::add( label, tr( "Enter the username for the proxy servers here." ) ); | ||
297 | layout->addWidget( label, 2, 0 ); | 321 | layout->addWidget( label, 2, 0 ); |
298 | m_proxyUsername = new QLineEdit( container ); | 322 | m_proxyUsername = new QLineEdit( container ); |
323 | QWhatsThis::add( m_proxyUsername, tr( "Enter the username for the proxy servers here." ) ); | ||
299 | layout->addWidget( m_proxyUsername, 2, 1 ); | 324 | layout->addWidget( m_proxyUsername, 2, 1 ); |
@@ -301,4 +326,6 @@ void OIpkgConfigDlg::initProxyWidget() | |||
301 | label = new QLabel( tr( "Password:" ), container ); | 326 | label = new QLabel( tr( "Password:" ), container ); |
327 | QWhatsThis::add( label, tr( "Enter the password for the proxy servers here." ) ); | ||
302 | layout->addWidget( label, 3, 0 ); | 328 | layout->addWidget( label, 3, 0 ); |
303 | m_proxyPassword = new QLineEdit( container ); | 329 | m_proxyPassword = new QLineEdit( container ); |
330 | QWhatsThis::add( m_proxyPassword, tr( "Enter the password for the proxy servers here." ) ); | ||
304 | layout->addWidget( m_proxyPassword, 3, 1 ); | 331 | layout->addWidget( m_proxyPassword, 3, 1 ); |
@@ -321,2 +348,3 @@ void OIpkgConfigDlg::initOptionsWidget() | |||
321 | m_optForceDepends = new QCheckBox( tr( "Force Depends" ), container ); | 348 | m_optForceDepends = new QCheckBox( tr( "Force Depends" ), container ); |
349 | QWhatsThis::add( m_optForceDepends, tr( "Tap here to enable or disable the '-force-depends' option for Ipkg." ) ); | ||
322 | layout->addWidget( m_optForceDepends ); | 350 | layout->addWidget( m_optForceDepends ); |
@@ -324,2 +352,3 @@ void OIpkgConfigDlg::initOptionsWidget() | |||
324 | m_optForceReinstall = new QCheckBox( tr( "Force Reinstall" ), container ); | 352 | m_optForceReinstall = new QCheckBox( tr( "Force Reinstall" ), container ); |
353 | QWhatsThis::add( m_optForceReinstall, tr( "Tap here to enable or disable the '-force-reinstall' option for Ipkg." ) ); | ||
325 | layout->addWidget( m_optForceReinstall ); | 354 | layout->addWidget( m_optForceReinstall ); |
@@ -327,2 +356,3 @@ void OIpkgConfigDlg::initOptionsWidget() | |||
327 | m_optForceRemove = new QCheckBox( tr( "Force Remove" ), container ); | 356 | m_optForceRemove = new QCheckBox( tr( "Force Remove" ), container ); |
357 | QWhatsThis::add( m_optForceRemove, tr( "Tap here to enable or disable the '-force-removal-of-dependent-packages' option for Ipkg." ) ); | ||
328 | layout->addWidget( m_optForceRemove ); | 358 | layout->addWidget( m_optForceRemove ); |
@@ -330,2 +360,3 @@ void OIpkgConfigDlg::initOptionsWidget() | |||
330 | m_optForceOverwrite = new QCheckBox( tr( "Force Overwrite" ), container ); | 360 | m_optForceOverwrite = new QCheckBox( tr( "Force Overwrite" ), container ); |
361 | QWhatsThis::add( m_optForceOverwrite, tr( "Tap here to enable or disable the '-force-overwrite' option for Ipkg." ) ); | ||
331 | layout->addWidget( m_optForceOverwrite ); | 362 | layout->addWidget( m_optForceOverwrite ); |
@@ -333,2 +364,3 @@ void OIpkgConfigDlg::initOptionsWidget() | |||
333 | QLabel *l = new QLabel( tr( "Information Level" ), container ); | 364 | QLabel *l = new QLabel( tr( "Information Level" ), container ); |
365 | QWhatsThis::add( l, tr( "Select information level for Ipkg." ) ); | ||
334 | layout->addWidget( l ); | 366 | layout->addWidget( l ); |
@@ -336,2 +368,3 @@ void OIpkgConfigDlg::initOptionsWidget() | |||
336 | m_optVerboseIpkg = new QComboBox( container ); | 368 | m_optVerboseIpkg = new QComboBox( container ); |
369 | QWhatsThis::add( m_optVerboseIpkg, tr( "Select information level for Ipkg." ) ); | ||
337 | m_optVerboseIpkg->insertItem( tr( "Errors only" ) ); | 370 | m_optVerboseIpkg->insertItem( tr( "Errors only" ) ); |