From a2a05d9e9d9245be4c6e4e9c70334b8ac5fc299b Mon Sep 17 00:00:00 2001 From: erg_samowzbudnik Date: Tue, 1 Jun 2021 15:11:52 +0200 Subject: Initial commit of a beta version. --- RPGH_gui.py | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 RPGH_gui.py (limited to 'RPGH_gui.py') diff --git a/RPGH_gui.py b/RPGH_gui.py new file mode 100644 index 0000000..eb5f38e --- /dev/null +++ b/RPGH_gui.py @@ -0,0 +1,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 -- cgit v1.2.3-65-gdbad