aboutsummaryrefslogtreecommitdiff
path: root/RPGH_gui.py
blob: eb5f38ebf270a5d426cc25c87084d376f35deb84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
# -*- coding: utf-8 -*-

__author__ = "Franek Łazarewicz-Muradyan"
__copyright__ = "Copyright 2021, Franek Łazarewicz-Muradyan"
__version__ = "0.1"
__status__ = "Beta"
__email__ = "uinarf@autistici.org"
# Form implementation generated from reading ui file 'RPGH_minimal_scaling_gui.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(847, 526)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.mpl_tab = QtWidgets.QWidget()
        self.mpl_tab.setObjectName("mpl_tab")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mpl_tab)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.mpl = MplWidget(self.mpl_tab)
        self.mpl.setObjectName("mpl")
        self.verticalLayout_2.addWidget(self.mpl)
        self.tabWidget.addTab(self.mpl_tab, "")
        self.mpl1_tab = QtWidgets.QWidget()
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl1_tab.sizePolicy().hasHeightForWidth())
        self.mpl1_tab.setSizePolicy(sizePolicy)
        self.mpl1_tab.setObjectName("mpl1_tab")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.mpl1_tab)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.mpl1 = MplWidget(self.mpl1_tab)
        self.mpl1.setObjectName("mpl1")
        self.verticalLayout_3.addWidget(self.mpl1)
        self.tabWidget.addTab(self.mpl1_tab, "")
        self.horizontalLayout.addWidget(self.tabWidget)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "RPGH"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.mpl_tab), _translate("MainWindow", "Greenhouse"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.mpl1_tab), _translate("MainWindow", "Weather"))
from mplwidget import MplWidget