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

# Form implementation generated from reading ui file 'weath.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(391, 534)
        MainWindow.setStyleSheet("")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setStyleSheet("")
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(310, 30, 61, 61))
        self.pushButton.setStyleSheet("background-color:  #FAFCCB;\n"
"border-radius: 30px;\n"
"border: 2px solid #004718;\n"
"")
        self.pushButton.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("search-icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setIconSize(QtCore.QSize(25, 25))
        self.pushButton.setObjectName("pushButton")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(-10, -30, 401, 611))
        self.label.setToolTipDuration(-1)
        self.label.setAutoFillBackground(False)
        self.label.setText("")
        self.label.setPixmap(QtGui.QPixmap("гр.png"))
        self.label.setScaledContents(True)
        self.label.setWordWrap(False)
        self.label.setIndent(-1)
        self.label.setObjectName("label")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(20, 30, 281, 61))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(20)
        self.lineEdit.setFont(font)
        self.lineEdit.setStyleSheet("background-color: #FAFCCB;\n"
"border-radius: 30px;\n"
"border: 2px solid #004718;\n"
"padding-left: 15px;\n"
"padding-right: 15px;")
        self.lineEdit.setObjectName("lineEdit")
        self.label_temp = QtWidgets.QLabel(self.centralwidget)
        self.label_temp.setGeometry(QtCore.QRect(0, 200, 391, 131))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(60)
        self.label_temp.setFont(font)
        self.label_temp.setStyleSheet("color: #FFFFFF")
        self.label_temp.setText("")
        self.label_temp.setAlignment(QtCore.Qt.AlignCenter)
        self.label_temp.setObjectName("label_temp")
        self.label_city = QtWidgets.QLabel(self.centralwidget)
        self.label_city.setGeometry(QtCore.QRect(0, 150, 391, 61))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(28)
        self.label_city.setFont(font)
        self.label_city.setStyleSheet("color: #FFFFFF;")
        self.label_city.setText("")
        self.label_city.setAlignment(QtCore.Qt.AlignCenter)
        self.label_city.setObjectName("label_city")
        self.label_one = QtWidgets.QLabel(self.centralwidget)
        self.label_one.setGeometry(QtCore.QRect(20, 400, 171, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_one.setFont(font)
        self.label_one.setStyleSheet("")
        self.label_one.setText("")
        self.label_one.setObjectName("label_one")
        self.label_two = QtWidgets.QLabel(self.centralwidget)
        self.label_two.setGeometry(QtCore.QRect(20, 440, 211, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_two.setFont(font)
        self.label_two.setText("")
        self.label_two.setObjectName("label_two")
        self.label_three = QtWidgets.QLabel(self.centralwidget)
        self.label_three.setGeometry(QtCore.QRect(20, 480, 141, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_three.setFont(font)
        self.label_three.setText("")
        self.label_three.setObjectName("label_three")
        self.label_weather = QtWidgets.QLabel(self.centralwidget)
        self.label_weather.setGeometry(QtCore.QRect(0, 330, 391, 41))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(26)
        self.label_weather.setFont(font)
        self.label_weather.setStyleSheet("color: #FFFFFF")
        self.label_weather.setText("")
        self.label_weather.setAlignment(QtCore.Qt.AlignCenter)
        self.label_weather.setObjectName("label_weather")
        self.label_feels = QtWidgets.QLabel(self.centralwidget)
        self.label_feels.setGeometry(QtCore.QRect(210, 400, 51, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_feels.setFont(font)
        self.label_feels.setStyleSheet("color: #FFFFFF")
        self.label_feels.setText("")
        self.label_feels.setObjectName("label_feels")
        self.label_wind_speed = QtWidgets.QLabel(self.centralwidget)
        self.label_wind_speed.setGeometry(QtCore.QRect(210, 440, 81, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_wind_speed.setFont(font)
        self.label_wind_speed.setStyleSheet("color: #FFFFFF")
        self.label_wind_speed.setText("")
        self.label_wind_speed.setObjectName("label_wind_speed")
        self.label_humidity = QtWidgets.QLabel(self.centralwidget)
        self.label_humidity.setGeometry(QtCore.QRect(210, 480, 61, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_humidity.setFont(font)
        self.label_humidity.setStyleSheet("color: #FFFFFF")
        self.label_humidity.setText("")
        self.label_humidity.setObjectName("label_humidity")
        self.label_date = QtWidgets.QLabel(self.centralwidget)
        self.label_date.setGeometry(QtCore.QRect(20, 110, 211, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_date.setFont(font)
        self.label_date.setText("")
        self.label_date.setObjectName("label_date")
        self.label_time = QtWidgets.QLabel(self.centralwidget)
        self.label_time.setGeometry(QtCore.QRect(290, 110, 71, 31))
        font = QtGui.QFont()
        font.setFamily("Blogger Sans")
        font.setPointSize(16)
        self.label_time.setFont(font)
        self.label_time.setText("")
        self.label_time.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_time.setObjectName("label_time")
        self.label.raise_()
        self.pushButton.raise_()
        self.lineEdit.raise_()
        self.label_temp.raise_()
        self.label_city.raise_()
        self.label_one.raise_()
        self.label_two.raise_()
        self.label_three.raise_()
        self.label_weather.raise_()
        self.label_feels.raise_()
        self.label_wind_speed.raise_()
        self.label_humidity.raise_()
        self.label_date.raise_()
        self.label_time.raise_()
        MainWindow.setCentralWidget(self.centralwidget)

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

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Погода"))
        self.lineEdit.setPlaceholderText(_translate("MainWindow", "Город"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())
