mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7825 c8812cc2-4d05-0410-92ff-de0c093fc19c
98 lines
4.6 KiB
Python
98 lines
4.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'gui.ui'
|
|
#
|
|
# Created: Sun Dec 30 18:07:25 2007
|
|
# by: PyQt4 UI code generator 4.3.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
class Ui_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName("Dialog")
|
|
Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,761,471).size()).expandedTo(Dialog.minimumSizeHint()))
|
|
|
|
self.vboxlayout = QtGui.QVBoxLayout(Dialog)
|
|
self.vboxlayout.setObjectName("vboxlayout")
|
|
|
|
self.vboxlayout1 = QtGui.QVBoxLayout()
|
|
self.vboxlayout1.setObjectName("vboxlayout1")
|
|
|
|
self.hboxlayout = QtGui.QHBoxLayout()
|
|
self.hboxlayout.setObjectName("hboxlayout")
|
|
|
|
self.label = QtGui.QLabel(Dialog)
|
|
self.label.setObjectName("label")
|
|
self.hboxlayout.addWidget(self.label)
|
|
|
|
self.buttonBrowse = QtGui.QPushButton(Dialog)
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.buttonBrowse.sizePolicy().hasHeightForWidth())
|
|
self.buttonBrowse.setSizePolicy(sizePolicy)
|
|
self.buttonBrowse.setObjectName("buttonBrowse")
|
|
self.hboxlayout.addWidget(self.buttonBrowse)
|
|
self.vboxlayout1.addLayout(self.hboxlayout)
|
|
|
|
self.treePlugins = QtGui.QTreeWidget(Dialog)
|
|
self.treePlugins.setAlternatingRowColors(True)
|
|
self.treePlugins.setItemsExpandable(False)
|
|
self.treePlugins.setObjectName("treePlugins")
|
|
self.vboxlayout1.addWidget(self.treePlugins)
|
|
|
|
self.hboxlayout1 = QtGui.QHBoxLayout()
|
|
self.hboxlayout1.setObjectName("hboxlayout1")
|
|
|
|
self.label_2 = QtGui.QLabel(Dialog)
|
|
self.label_2.setObjectName("label_2")
|
|
self.hboxlayout1.addWidget(self.label_2)
|
|
|
|
self.linePlugin = QtGui.QLineEdit(Dialog)
|
|
self.linePlugin.setObjectName("linePlugin")
|
|
self.hboxlayout1.addWidget(self.linePlugin)
|
|
|
|
self.pbnOK = QtGui.QPushButton(Dialog)
|
|
self.pbnOK.setObjectName("pbnOK")
|
|
self.hboxlayout1.addWidget(self.pbnOK)
|
|
self.vboxlayout1.addLayout(self.hboxlayout1)
|
|
|
|
self.hboxlayout2 = QtGui.QHBoxLayout()
|
|
self.hboxlayout2.setObjectName("hboxlayout2")
|
|
|
|
self.label_3 = QtGui.QLabel(Dialog)
|
|
self.label_3.setObjectName("label_3")
|
|
self.hboxlayout2.addWidget(self.label_3)
|
|
|
|
self.pbnCancel = QtGui.QPushButton(Dialog)
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.pbnCancel.sizePolicy().hasHeightForWidth())
|
|
self.pbnCancel.setSizePolicy(sizePolicy)
|
|
self.pbnCancel.setObjectName("pbnCancel")
|
|
self.hboxlayout2.addWidget(self.pbnCancel)
|
|
self.vboxlayout1.addLayout(self.hboxlayout2)
|
|
self.vboxlayout.addLayout(self.vboxlayout1)
|
|
|
|
self.retranslateUi(Dialog)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "QGIS Plugin Installer", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label.setText(QtGui.QApplication.translate("Dialog", "Retrieve the list of available plugins, select one and install it", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.buttonBrowse.setText(QtGui.QApplication.translate("Dialog", "Get List", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.treePlugins.headerItem().setText(0,QtGui.QApplication.translate("Dialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.treePlugins.headerItem().setText(1,QtGui.QApplication.translate("Dialog", "Version", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.treePlugins.headerItem().setText(2,QtGui.QApplication.translate("Dialog", "Description", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.treePlugins.headerItem().setText(3,QtGui.QApplication.translate("Dialog", "Author", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_2.setText(QtGui.QApplication.translate("Dialog", "Name of plugin to install", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.pbnOK.setText(QtGui.QApplication.translate("Dialog", "Install Plugin", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_3.setText(QtGui.QApplication.translate("Dialog", "The plugin will be installed to ~/.qgis/python/plugins", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.pbnCancel.setText(QtGui.QApplication.translate("Dialog", "Done", None, QtGui.QApplication.UnicodeUTF8))
|
|
|