# -*- 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, 'PyQt5.QtWidgets.QVBoxLayout', 'QtWidgets.QVBoxLayout', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), (18, 'widgets.ImageLabel.ImageLabel', 'ImageLabel', False, 'from widgets.ImageLabel import ImageLabel\n'), (19, 'PyQt5.QtWidgets.QSizePolicy', 'QtWidgets.QSizePolicy', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), (28, 'PyQt5.QtWidgets.QHBoxLayout', 'QtWidgets.QHBoxLayout', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), (30, 'PyQt5.QtWidgets.QSpacerItem', 'QtWidgets.QSpacerItem', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), (32, 'PyQt5.QtWidgets.QPushButton', 'QtWidgets.QPushButton', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), (35, 'PyQt5.QtWidgets.QSpacerItem', 'QtWidgets.QSpacerItem', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), (40, 'PyQt5.QtCore.QMetaObject.connectSlotsByName', 'QtCore.QMetaObject.connectSlotsByName', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n'), (24, 'PyQt5.QtCore.QSize', 'QtCore.QSize', False, 'from PyQt5 import QtCore, QtGui, QtWidgets\n')]