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@9631 c8812cc2-4d05-0410-92ff-de0c093fc19c
74 lines
3.8 KiB
Python
74 lines
3.8 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'qgsplugininstallerinstallingbase.ui'
|
|
#
|
|
# Created: Wed Nov 12 23:21:49 2008
|
|
# 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_QgsPluginInstallerInstallingDialogBase(object):
|
|
def setupUi(self, QgsPluginInstallerInstallingDialogBase):
|
|
QgsPluginInstallerInstallingDialogBase.setObjectName("QgsPluginInstallerInstallingDialogBase")
|
|
QgsPluginInstallerInstallingDialogBase.resize(QtCore.QSize(QtCore.QRect(0,0,520,175).size()).expandedTo(QgsPluginInstallerInstallingDialogBase.minimumSizeHint()))
|
|
QgsPluginInstallerInstallingDialogBase.setWindowIcon(QtGui.QIcon(":/plugins/installer/qgis-icon.png"))
|
|
|
|
self.gridlayout = QtGui.QGridLayout(QgsPluginInstallerInstallingDialogBase)
|
|
self.gridlayout.setObjectName("gridlayout")
|
|
|
|
spacerItem = QtGui.QSpacerItem(502,16,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.MinimumExpanding)
|
|
self.gridlayout.addItem(spacerItem,0,0,1,1)
|
|
|
|
self.hboxlayout = QtGui.QHBoxLayout()
|
|
self.hboxlayout.setObjectName("hboxlayout")
|
|
|
|
self.label = QtGui.QLabel(QgsPluginInstallerInstallingDialogBase)
|
|
self.label.setObjectName("label")
|
|
self.hboxlayout.addWidget(self.label)
|
|
|
|
self.labelName = QtGui.QLabel(QgsPluginInstallerInstallingDialogBase)
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.labelName.sizePolicy().hasHeightForWidth())
|
|
self.labelName.setSizePolicy(sizePolicy)
|
|
self.labelName.setObjectName("labelName")
|
|
self.hboxlayout.addWidget(self.labelName)
|
|
self.gridlayout.addLayout(self.hboxlayout,1,0,1,1)
|
|
|
|
self.labelState = QtGui.QLabel(QgsPluginInstallerInstallingDialogBase)
|
|
self.labelState.setObjectName("labelState")
|
|
self.gridlayout.addWidget(self.labelState,2,0,1,1)
|
|
|
|
self.progressBar = QtGui.QProgressBar(QgsPluginInstallerInstallingDialogBase)
|
|
self.progressBar.setMaximum(100)
|
|
self.progressBar.setProperty("value",QtCore.QVariant(0))
|
|
self.progressBar.setAlignment(QtCore.Qt.AlignHCenter)
|
|
self.progressBar.setTextDirection(QtGui.QProgressBar.TopToBottom)
|
|
self.progressBar.setObjectName("progressBar")
|
|
self.gridlayout.addWidget(self.progressBar,3,0,1,1)
|
|
|
|
spacerItem1 = QtGui.QSpacerItem(502,16,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Fixed)
|
|
self.gridlayout.addItem(spacerItem1,4,0,1,1)
|
|
|
|
self.buttonBox = QtGui.QDialogButtonBox(QgsPluginInstallerInstallingDialogBase)
|
|
self.buttonBox.setFocusPolicy(QtCore.Qt.NoFocus)
|
|
self.buttonBox.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
|
|
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Abort)
|
|
self.buttonBox.setCenterButtons(True)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.gridlayout.addWidget(self.buttonBox,5,0,1,1)
|
|
|
|
self.retranslateUi(QgsPluginInstallerInstallingDialogBase)
|
|
QtCore.QMetaObject.connectSlotsByName(QgsPluginInstallerInstallingDialogBase)
|
|
|
|
def retranslateUi(self, QgsPluginInstallerInstallingDialogBase):
|
|
QgsPluginInstallerInstallingDialogBase.setWindowTitle(QtGui.QApplication.translate("QgsPluginInstallerInstallingDialogBase", "QGIS Python Plugin Installer", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label.setText(QtGui.QApplication.translate("QgsPluginInstallerInstallingDialogBase", "Installing plugin:", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.labelState.setText(QtGui.QApplication.translate("QgsPluginInstallerInstallingDialogBase", "Connecting...", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
import resources_rc
|