# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'src/ui_ShowResultDialog.ui'
#
# Created: Sat May 16 17:05:43 2015
#      by: PyQt5 UI code generator 5.4
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(400, 300)
        self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.lb_image = ImageLabel(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lb_image.sizePolicy().hasHeightForWidth())
        self.lb_image.setSizePolicy(sizePolicy)
        self.lb_image.setMinimumSize(QtCore.QSize(100, 100))
        self.lb_image.setAlignment(QtCore.Qt.AlignCenter)
        self.lb_image.setObjectName("lb_image")
        self.verticalLayout.addWidget(self.lb_image)
        self.hLayout = QtWidgets.QHBoxLayout()
        self.hLayout.setObjectName("hLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.hLayout.addItem(spacerItem)
        self.btn_save = QtWidgets.QPushButton(Dialog)
        self.btn_save.setObjectName("btn_save")
        self.hLayout.addWidget(self.btn_save)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.hLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.hLayout)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.lb_image.setText(_translate("Dialog", "Image Label"))
        self.btn_save.setText(_translate("Dialog", "Save it"))

from widgets.ImageLabel import ImageLabel

[((16, 30, 16, 59), 'PyQt5.QtWidgets.QVBoxLayout', 'QtWidgets.QVBoxLayout', ({(16, 52, 16, 58): 'Dialog'}, {}), '(Dialog)', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), ((18, 24, 18, 42), 'widgets.ImageLabel.ImageLabel', 'ImageLabel', ({(18, 35, 18, 41): 'Dialog'}, {}), '(Dialog)', False, 'from widgets.ImageLabel import ImageLabel\n'), ((19, 21, 19, 108), 'PyQt5.QtWidgets.QSizePolicy', 'QtWidgets.QSizePolicy', ({(19, 43, 19, 74): 'QtWidgets.QSizePolicy.Expanding', (19, 76, 19, 107): 'QtWidgets.QSizePolicy.Expanding'}, {}), '(QtWidgets.QSizePolicy.Expanding, QtWidgets.\n    QSizePolicy.Expanding)', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), ((28, 23, 28, 46), 'PyQt5.QtWidgets.QHBoxLayout', 'QtWidgets.QHBoxLayout', ({}, {}), '()', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), ((30, 21, 30, 114), 'PyQt5.QtWidgets.QSpacerItem', 'QtWidgets.QSpacerItem', ({(30, 43, 30, 45): '40', (30, 47, 30, 49): '20', (30, 51, 30, 82): 'QtWidgets.QSizePolicy.Expanding', (30, 84, 30, 113): 'QtWidgets.QSizePolicy.Minimum'}, {}), '(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.\n    QSizePolicy.Minimum)', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), ((32, 24, 32, 53), 'PyQt5.QtWidgets.QPushButton', 'QtWidgets.QPushButton', ({(32, 46, 32, 52): 'Dialog'}, {}), '(Dialog)', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), ((35, 22, 35, 115), 'PyQt5.QtWidgets.QSpacerItem', 'QtWidgets.QSpacerItem', ({(35, 44, 35, 46): '40', (35, 48, 35, 50): '20', (35, 52, 35, 83): 'QtWidgets.QSizePolicy.Expanding', (35, 85, 35, 114): 'QtWidgets.QSizePolicy.Minimum'}, {}), '(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.\n    QSizePolicy.Minimum)', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), ((40, 8, 40, 53), 'PyQt5.QtCore.QMetaObject.connectSlotsByName', 'QtCore.QMetaObject.connectSlotsByName', ({(40, 46, 40, 52): 'Dialog'}, {}), '(Dialog)', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), ((24, 37, 24, 59), 'PyQt5.QtCore.QSize', 'QtCore.QSize', ({(24, 50, 24, 53): '(100)', (24, 55, 24, 58): '(100)'}, {}), '(100, 100)', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n')]