Skip to content
Permalink
Browse files
[processing] removed margin from number input panel
  • Loading branch information
volaya committed May 15, 2014
1 parent b8ea6e8 commit 408aece204070178c7abbcf2744213d5a45aa5ad
Showing with 23 additions and 10 deletions.
  1. +19 −9 python/plugins/processing/ui/ui_widgetNumberInput.py
  2. +4 −1 python/plugins/processing/ui/widgetNumberInput.ui
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'python/plugins/processing/ui/widgetNumberInput.ui'
# Form implementation generated from reading ui file 'widgetNumberInput.ui'
#
# Created: Wed Oct 9 19:20:54 2013
# by: PyQt4 UI code generator 4.9.1
# Created: Thu May 15 14:48:14 2014
# by: PyQt4 UI code generator 4.9.6
#
# WARNING! All changes made in this file will be lost!

@@ -12,14 +12,24 @@
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
def _fromUtf8(s):
return s

try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)

class Ui_widgetNumberInput(object):
def setupUi(self, widgetNumberInput):
widgetNumberInput.setObjectName(_fromUtf8("widgetNumberInput"))
widgetNumberInput.resize(189, 28)
widgetNumberInput.resize(205, 49)
self.horizontalLayout_2 = QtGui.QHBoxLayout(widgetNumberInput)
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 2)
self.horizontalLayout_2.setSpacing(0)
self.horizontalLayout_2.setMargin(0)
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setSpacing(2)
@@ -39,7 +49,7 @@ def setupUi(self, widgetNumberInput):
QtCore.QMetaObject.connectSlotsByName(widgetNumberInput)

def retranslateUi(self, widgetNumberInput):
widgetNumberInput.setWindowTitle(QtGui.QApplication.translate("widgetNumberInput", "Form", None, QtGui.QApplication.UnicodeUTF8))
self.btnCalc.setToolTip(QtGui.QApplication.translate("widgetNumberInput", "Open number input dialog", None, QtGui.QApplication.UnicodeUTF8))
self.btnCalc.setText(QtGui.QApplication.translate("widgetNumberInput", "...", None, QtGui.QApplication.UnicodeUTF8))
widgetNumberInput.setWindowTitle(_translate("widgetNumberInput", "Form", None))
self.btnCalc.setToolTip(_translate("widgetNumberInput", "Open number input dialog", None))
self.btnCalc.setText(_translate("widgetNumberInput", "...", None))

@@ -14,8 +14,11 @@
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>9</number>
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">

0 comments on commit 408aece

Please sign in to comment.