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

# Form implementation generated from reading ui file 'query.ui'
#
# Created by: PyQt4 UI code generator 4.12
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    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_QueryDialog(object):
    def setupUi(self, QueryDialog):
        QueryDialog.setObjectName(_fromUtf8("QueryDialog"))
        QueryDialog.resize(551, 457)
        self.verticalLayout = QtGui.QVBoxLayout(QueryDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.frame = QtGui.QFrame(QueryDialog)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.frame)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_9 = QtGui.QLabel(self.frame)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout_2.addWidget(self.label_9)
        self.nameEdit = QtGui.QLineEdit(self.frame)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.verticalLayout_2.addWidget(self.nameEdit)
        self.typeBox = QtGui.QComboBox(self.frame)
        self.typeBox.setObjectName(_fromUtf8("typeBox"))
        self.typeBox.addItem(_fromUtf8(""))
        self.typeBox.addItem(_fromUtf8(""))
        self.verticalLayout_2.addWidget(self.typeBox)
        self.groupBox = QtGui.QGroupBox(self.frame)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.cityEdit = QtGui.QLineEdit(self.groupBox)
        self.cityEdit.setObjectName(_fromUtf8("cityEdit"))
        self.verticalLayout_3.addWidget(self.cityEdit)
        self.resultsList = QtGui.QListWidget(self.groupBox)
        self.resultsList.setObjectName(_fromUtf8("resultsList"))
        self.verticalLayout_3.addWidget(self.resultsList)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        self.citiesList = QtGui.QListWidget(self.groupBox)
        self.citiesList.setObjectName(_fromUtf8("citiesList"))
        self.horizontalLayout.addWidget(self.citiesList)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.formLayout_3 = QtGui.QFormLayout()
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_10 = QtGui.QLabel(self.frame)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_10)
        self.nbRooms = QtGui.QComboBox(self.frame)
        self.nbRooms.setObjectName(_fromUtf8("nbRooms"))
        self.nbRooms.addItem(_fromUtf8(""))
        self.nbRooms.addItem(_fromUtf8(""))
        self.nbRooms.addItem(_fromUtf8(""))
        self.nbRooms.addItem(_fromUtf8(""))
        self.nbRooms.addItem(_fromUtf8(""))
        self.nbRooms.addItem(_fromUtf8(""))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.nbRooms)
        self.verticalLayout_2.addLayout(self.formLayout_3)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.groupBox_3 = QtGui.QGroupBox(self.frame)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(self.groupBox_3)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.label_2 = QtGui.QLabel(self.groupBox_3)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.areaMin = QtGui.QSpinBox(self.groupBox_3)
        self.areaMin.setMaximum(9999)
        self.areaMin.setSingleStep(5)
        self.areaMin.setObjectName(_fromUtf8("areaMin"))
        self.horizontalLayout_4.addWidget(self.areaMin)
        self.label_5 = QtGui.QLabel(self.groupBox_3)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_4.addWidget(self.label_5)
        self.formLayout.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout_4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.areaMax = QtGui.QSpinBox(self.groupBox_3)
        self.areaMax.setMaximum(9999)
        self.areaMax.setSingleStep(5)
        self.areaMax.setObjectName(_fromUtf8("areaMax"))
        self.horizontalLayout_5.addWidget(self.areaMax)
        self.label_6 = QtGui.QLabel(self.groupBox_3)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_5.addWidget(self.label_6)
        self.formLayout.setLayout(1, QtGui.QFormLayout.FieldRole, self.horizontalLayout_5)
        self.horizontalLayout_3.addLayout(self.formLayout)
        self.horizontalLayout_2.addWidget(self.groupBox_3)
        self.groupBox_2 = QtGui.QGroupBox(self.frame)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_3)
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.costMin = QtGui.QSpinBox(self.groupBox_2)
        self.costMin.setMaximum(99999999)
        self.costMin.setSingleStep(100)
        self.costMin.setObjectName(_fromUtf8("costMin"))
        self.horizontalLayout_6.addWidget(self.costMin)
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.horizontalLayout_6.addWidget(self.label_7)
        self.formLayout_2.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.costMax = QtGui.QSpinBox(self.groupBox_2)
        self.costMax.setMaximum(99999999)
        self.costMax.setSingleStep(100)
        self.costMax.setObjectName(_fromUtf8("costMax"))
        self.horizontalLayout_7.addWidget(self.costMax)
        self.label_8 = QtGui.QLabel(self.groupBox_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.horizontalLayout_7.addWidget(self.label_8)
        self.formLayout_2.setLayout(1, QtGui.QFormLayout.FieldRole, self.horizontalLayout_7)
        self.verticalLayout_4.addLayout(self.formLayout_2)
        self.horizontalLayout_2.addWidget(self.groupBox_2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.verticalLayout.addWidget(self.frame)
        self.buttonBox = QtGui.QDialogButtonBox(QueryDialog)
        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(QueryDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QueryDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(QueryDialog)
        QueryDialog.setTabOrder(self.nameEdit, self.cityEdit)
        QueryDialog.setTabOrder(self.cityEdit, self.resultsList)
        QueryDialog.setTabOrder(self.resultsList, self.citiesList)
        QueryDialog.setTabOrder(self.citiesList, self.nbRooms)
        QueryDialog.setTabOrder(self.nbRooms, self.areaMin)
        QueryDialog.setTabOrder(self.areaMin, self.areaMax)
        QueryDialog.setTabOrder(self.areaMax, self.costMin)
        QueryDialog.setTabOrder(self.costMin, self.costMax)
        QueryDialog.setTabOrder(self.costMax, self.buttonBox)

    def retranslateUi(self, QueryDialog):
        QueryDialog.setWindowTitle(_translate("QueryDialog", "Add a query", None))
        self.label_9.setText(_translate("QueryDialog", "Name of this query:", None))
        self.typeBox.setItemText(0, _translate("QueryDialog", "Rent", None))
        self.typeBox.setItemText(1, _translate("QueryDialog", "Sale", None))
        self.groupBox.setTitle(_translate("QueryDialog", "Cities", None))
        self.label_10.setText(_translate("QueryDialog", "Number of rooms", None))
        self.nbRooms.setItemText(0, _translate("QueryDialog", "N/A", None))
        self.nbRooms.setItemText(1, _translate("QueryDialog", "1", None))
        self.nbRooms.setItemText(2, _translate("QueryDialog", "2", None))
        self.nbRooms.setItemText(3, _translate("QueryDialog", "3", None))
        self.nbRooms.setItemText(4, _translate("QueryDialog", "4", None))
        self.nbRooms.setItemText(5, _translate("QueryDialog", "5", None))
        self.groupBox_3.setTitle(_translate("QueryDialog", "Area", None))
        self.label.setText(_translate("QueryDialog", "Min", None))
        self.label_2.setText(_translate("QueryDialog", "Max", None))
        self.label_5.setText(_translate("QueryDialog", "m²", None))
        self.label_6.setText(_translate("QueryDialog", "m²", None))
        self.groupBox_2.setTitle(_translate("QueryDialog", "Cost", None))
        self.label_3.setText(_translate("QueryDialog", "Min", None))
        self.label_4.setText(_translate("QueryDialog", "Max", None))
        self.label_7.setText(_translate("QueryDialog", "€", None))
        self.label_8.setText(_translate("QueryDialog", "€", None))

