window resizing pt.3

This commit is contained in:
Marcel Paffrath 2016-06-23 12:06:59 +02:00
parent 3bec20bd45
commit 4bbb40c8b7

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'generate_seisarray_layout.ui' # Form implementation generated from reading ui file 'generate_seisarray_layout.ui'
# #
# Created: Thu Jun 23 11:58:52 2016 # Created: Thu Jun 23 12:06:35 2016
# by: pyside-uic 0.2.15 running on PySide 1.2.2 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -12,17 +12,15 @@ from PySide import QtCore, QtGui
class Ui_generate_seisarray(object): class Ui_generate_seisarray(object):
def setupUi(self, generate_seisarray): def setupUi(self, generate_seisarray):
generate_seisarray.setObjectName("generate_seisarray") generate_seisarray.setObjectName("generate_seisarray")
generate_seisarray.resize(400, 221) generate_seisarray.resize(400, 220)
generate_seisarray.setMinimumSize(QtCore.QSize(400, 220)) generate_seisarray.setMinimumSize(QtCore.QSize(400, 220))
icon = QtGui.QIcon() icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../asp3d_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) icon.addPixmap(QtGui.QPixmap("../asp3d_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
generate_seisarray.setWindowIcon(icon) generate_seisarray.setWindowIcon(icon)
self.verticalLayout_5 = QtGui.QVBoxLayout(generate_seisarray) self.verticalLayout = QtGui.QVBoxLayout(generate_seisarray)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout") self.verticalLayout.setObjectName("verticalLayout")
self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_4 = QtGui.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3") self.verticalLayout_4.setObjectName("verticalLayout_4")
self.label_rec = QtGui.QLabel(generate_seisarray) self.label_rec = QtGui.QLabel(generate_seisarray)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0) sizePolicy.setHorizontalStretch(0)
@ -30,7 +28,7 @@ class Ui_generate_seisarray(object):
sizePolicy.setHeightForWidth(self.label_rec.sizePolicy().hasHeightForWidth()) sizePolicy.setHeightForWidth(self.label_rec.sizePolicy().hasHeightForWidth())
self.label_rec.setSizePolicy(sizePolicy) self.label_rec.setSizePolicy(sizePolicy)
self.label_rec.setObjectName("label_rec") self.label_rec.setObjectName("label_rec")
self.verticalLayout_3.addWidget(self.label_rec) self.verticalLayout_4.addWidget(self.label_rec)
self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.lineEdit_rec = QtGui.QLineEdit(generate_seisarray) self.lineEdit_rec = QtGui.QLineEdit(generate_seisarray)
@ -39,8 +37,8 @@ class Ui_generate_seisarray(object):
self.pushButton_rec = QtGui.QPushButton(generate_seisarray) self.pushButton_rec = QtGui.QPushButton(generate_seisarray)
self.pushButton_rec.setObjectName("pushButton_rec") self.pushButton_rec.setObjectName("pushButton_rec")
self.horizontalLayout_4.addWidget(self.pushButton_rec) self.horizontalLayout_4.addWidget(self.pushButton_rec)
self.verticalLayout_3.addLayout(self.horizontalLayout_4) self.verticalLayout_4.addLayout(self.horizontalLayout_4)
self.verticalLayout.addLayout(self.verticalLayout_3) self.verticalLayout.addLayout(self.verticalLayout_4)
self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2") self.verticalLayout_2.setObjectName("verticalLayout_2")
self.label_src = QtGui.QLabel(generate_seisarray) self.label_src = QtGui.QLabel(generate_seisarray)
@ -60,8 +58,9 @@ class Ui_generate_seisarray(object):
self.pushButton_src.setObjectName("pushButton_src") self.pushButton_src.setObjectName("pushButton_src")
self.horizontalLayout_5.addWidget(self.pushButton_src) self.horizontalLayout_5.addWidget(self.pushButton_src)
self.verticalLayout_2.addLayout(self.horizontalLayout_5) self.verticalLayout_2.addLayout(self.horizontalLayout_5)
self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout.addLayout(self.verticalLayout_2)
self.verticalLayout_4.setObjectName("verticalLayout_4") self.verticalLayout_3 = QtGui.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.label_obs = QtGui.QLabel(generate_seisarray) self.label_obs = QtGui.QLabel(generate_seisarray)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0) sizePolicy.setHorizontalStretch(0)
@ -69,7 +68,7 @@ class Ui_generate_seisarray(object):
sizePolicy.setHeightForWidth(self.label_obs.sizePolicy().hasHeightForWidth()) sizePolicy.setHeightForWidth(self.label_obs.sizePolicy().hasHeightForWidth())
self.label_obs.setSizePolicy(sizePolicy) self.label_obs.setSizePolicy(sizePolicy)
self.label_obs.setObjectName("label_obs") self.label_obs.setObjectName("label_obs")
self.verticalLayout_4.addWidget(self.label_obs) self.verticalLayout_3.addWidget(self.label_obs)
self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6 = QtGui.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.lineEdit_pts = QtGui.QLineEdit(generate_seisarray) self.lineEdit_pts = QtGui.QLineEdit(generate_seisarray)
@ -78,15 +77,13 @@ class Ui_generate_seisarray(object):
self.pushButton_obs = QtGui.QPushButton(generate_seisarray) self.pushButton_obs = QtGui.QPushButton(generate_seisarray)
self.pushButton_obs.setObjectName("pushButton_obs") self.pushButton_obs.setObjectName("pushButton_obs")
self.horizontalLayout_6.addWidget(self.pushButton_obs) self.horizontalLayout_6.addWidget(self.pushButton_obs)
self.verticalLayout_4.addLayout(self.horizontalLayout_6) self.verticalLayout_3.addLayout(self.horizontalLayout_6)
self.verticalLayout_2.addLayout(self.verticalLayout_4) self.verticalLayout.addLayout(self.verticalLayout_3)
self.verticalLayout.addLayout(self.verticalLayout_2)
self.verticalLayout_5.addLayout(self.verticalLayout)
self.buttonBox = QtGui.QDialogButtonBox(generate_seisarray) self.buttonBox = QtGui.QDialogButtonBox(generate_seisarray)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox") self.buttonBox.setObjectName("buttonBox")
self.verticalLayout_5.addWidget(self.buttonBox) self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(generate_seisarray) self.retranslateUi(generate_seisarray)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), generate_seisarray.reject) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), generate_seisarray.reject)