From 194d12ae513348627ac0464a4dd670c51b7692fd Mon Sep 17 00:00:00 2001 From: wonder Date: Tue, 20 Nov 2007 15:31:53 +0000 Subject: [PATCH] Removed possibility to change directory of c++ plugins in plugin manager. Fixes #771. git-svn-id: http://svn.osgeo.org/qgis/trunk@7621 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgspluginmanager.cpp | 7 ---- src/app/qgspluginmanager.h | 2 -- src/ui/qgspluginmanagerbase.ui | 61 +++++++++++++++++++++++----------- 3 files changed, 41 insertions(+), 29 deletions(-) diff --git a/src/app/qgspluginmanager.cpp b/src/app/qgspluginmanager.cpp index 477fa6a76326..d71fc8cb1ff7 100644 --- a/src/app/qgspluginmanager.cpp +++ b/src/app/qgspluginmanager.cpp @@ -69,13 +69,6 @@ QgsPluginManager::~QgsPluginManager() { } -void QgsPluginManager::on_btnBrowse_clicked() -{ - QString s = QFileDialog::getExistingDirectory(this, tr("Choose a directory")); - txtPluginDir->setText(s); - getPluginDescriptions(); -} - void QgsPluginManager::getPythonPluginDescriptions() { diff --git a/src/app/qgspluginmanager.h b/src/app/qgspluginmanager.h index 3b0ef63c8824..d52318988f8b 100644 --- a/src/app/qgspluginmanager.h +++ b/src/app/qgspluginmanager.h @@ -50,8 +50,6 @@ class QgsPluginManager : public QDialog, private Ui::QgsPluginManagerBase void on_btnSelectAll_clicked(); //! Clear all selections by clearing the plugins checkbox void on_btnClearAll_clicked(); - //! Browse to a location (directory) containing QGIS plugins - void on_btnBrowse_clicked(); //! Close the dialog void on_btnClose_clicked(); diff --git a/src/ui/qgspluginmanagerbase.ui b/src/ui/qgspluginmanagerbase.ui index dcd1e04b5c55..9de0375304ae 100644 --- a/src/ui/qgspluginmanagerbase.ui +++ b/src/ui/qgspluginmanagerbase.ui @@ -16,20 +16,41 @@ true - + 10 - + + 10 + + + 10 + + + 10 + + + 6 + + 6 - - 0 - 6 + + 0 + + + 0 + + + 0 + + + 0 + @@ -41,18 +62,9 @@ - - - - - - - 60 - 32767 - - - - ... + + + true @@ -102,12 +114,21 @@ - - 0 - 6 + + 0 + + + 0 + + + 0 + + + 0 +