File: ui_DlgNumberInput.py

package info (click to toggle)
qgis 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 374,696 kB
  • ctags: 66,263
  • sloc: cpp: 396,139; ansic: 241,070; python: 130,609; xml: 14,884; perl: 1,290; sh: 1,287; sql: 500; yacc: 268; lex: 242; makefile: 168
file content (56 lines) | stat: -rw-r--r-- 3,116 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'python/plugins/processing/ui/DlgNumberInput.ui'
#
# Created: Tue Oct 15 17:27:23 2013
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_DlgNumberInput(object):
    def setupUi(self, DlgNumberInput):
        DlgNumberInput.setObjectName(_fromUtf8("DlgNumberInput"))
        DlgNumberInput.resize(445, 300)
        self.verticalLayout = QtGui.QVBoxLayout(DlgNumberInput)
        self.verticalLayout.setSpacing(2)
        self.verticalLayout.setContentsMargins(0, 5, 0, 0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(DlgNumberInput)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.lblWarning = QtGui.QLabel(DlgNumberInput)
        self.lblWarning.setWordWrap(True)
        self.lblWarning.setObjectName(_fromUtf8("lblWarning"))
        self.verticalLayout.addWidget(self.lblWarning)
        self.treeValues = QtGui.QTreeWidget(DlgNumberInput)
        self.treeValues.setObjectName(_fromUtf8("treeValues"))
        self.treeValues.headerItem().setText(0, _fromUtf8("1"))
        self.treeValues.header().setVisible(False)
        self.verticalLayout.addWidget(self.treeValues)
        self.leFormula = QtGui.QLineEdit(DlgNumberInput)
        self.leFormula.setObjectName(_fromUtf8("leFormula"))
        self.verticalLayout.addWidget(self.leFormula)
        self.buttonBox = QtGui.QDialogButtonBox(DlgNumberInput)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(DlgNumberInput)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DlgNumberInput.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DlgNumberInput.reject)
        QtCore.QMetaObject.connectSlotsByName(DlgNumberInput)

    def retranslateUi(self, DlgNumberInput):
        DlgNumberInput.setWindowTitle(QtGui.QApplication.translate("DlgNumberInput", "Enter number or expression", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("DlgNumberInput", "<html><head/><body><p>Enter expression in the text field. Double click on elements in the tree to add their values to the expression.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.lblWarning.setText(QtGui.QApplication.translate("DlgNumberInput", "<html><head/><body><p><span style=\" font-weight:600;\">Warning</span>: if expression result is float value, but integer required, result will be rounded to integer.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))