Skip to content
Permalink
Browse files

Removed possibility to change directory of c++ plugins in plugin mana…

…ger.

Fixes #771.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7621 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Nov 20, 2007
1 parent 993be0c commit e817c3e92f94b166e0f1a3fa3d0abc3b4991aa3f
Showing with 41 additions and 29 deletions.
  1. +0 −7 src/app/qgspluginmanager.cpp
  2. +0 −2 src/app/qgspluginmanager.h
  3. +41 −20 src/ui/qgspluginmanagerbase.ui
@@ -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()
{
@@ -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();

@@ -16,20 +16,41 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<property name="leftMargin" >
<number>10</number>
</property>
<property name="spacing" >
<property name="topMargin" >
<number>10</number>
</property>
<property name="rightMargin" >
<number>10</number>
</property>
<property name="bottomMargin" >
<number>10</number>
</property>
<property name="horizontalSpacing" >
<number>6</number>
</property>
<property name="verticalSpacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="textLabel1" >
<property name="text" >
@@ -41,18 +62,9 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="txtPluginDir" />
</item>
<item>
<widget class="QPushButton" name="btnBrowse" >
<property name="maximumSize" >
<size>
<width>60</width>
<height>32767</height>
</size>
</property>
<property name="text" >
<string>...</string>
<widget class="QLineEdit" name="txtPluginDir" >
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
@@ -102,12 +114,21 @@
</item>
<item row="3" column="0" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<spacer>
<property name="orientation" >

0 comments on commit e817c3e

Please sign in to comment.
You can’t perform that action at this time.