Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Nov 20, 2007
1 parent 993be0c commit e817c3e
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 29 deletions.
7 changes: 0 additions & 7 deletions src/app/qgspluginmanager.cpp
Expand Up @@ -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()
{
Expand Down
2 changes: 0 additions & 2 deletions src/app/qgspluginmanager.h
Expand Up @@ -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();

Expand Down
61 changes: 41 additions & 20 deletions src/ui/qgspluginmanagerbase.ui
Expand Up @@ -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" >
Expand All @@ -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>
Expand Down Expand Up @@ -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" >
Expand Down

0 comments on commit e817c3e

Please sign in to comment.