Maintenance scheduled for Thursday, September 24th at 15:00 MDT. Expected downtime <1 hour.

Added fluegggui to main fluegg folder

parent 569b7400
import sys
from PyQt5.QtWidgets import QApplication
from fluegggui.gui import AppWindow
if __name__ == '__main__':
# Initialize the UI
app = QApplication(sys.argv)
w = AppWindow()
w.show()
sys.exit(app.exec_())
__version__ = '4.1.0'
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'hecras_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_HecrasDialog(object):
def setupUi(self, HecrasDialog):
HecrasDialog.setObjectName("HecrasDialog")
HecrasDialog.resize(258, 295)
self.verticalLayout_2 = QtWidgets.QVBoxLayout(HecrasDialog)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.label_project = QtWidgets.QLabel(HecrasDialog)
self.label_project.setObjectName("label_project")
self.horizontalLayout.addWidget(self.label_project)
self.lineEdit_project = QtWidgets.QLineEdit(HecrasDialog)
self.lineEdit_project.setObjectName("lineEdit_project")
self.horizontalLayout.addWidget(self.lineEdit_project)
self.pushButton_browse = QtWidgets.QPushButton(HecrasDialog)
self.pushButton_browse.setObjectName("pushButton_browse")
self.horizontalLayout.addWidget(self.pushButton_browse)
self.verticalLayout.addLayout(self.horizontalLayout)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.radioButton_steady = QtWidgets.QRadioButton(HecrasDialog)
self.radioButton_steady.setObjectName("radioButton_steady")
self.horizontalLayout_4.addWidget(self.radioButton_steady)
self.radioButton_unsteady = QtWidgets.QRadioButton(HecrasDialog)
self.radioButton_unsteady.setObjectName("radioButton_unsteady")
self.horizontalLayout_4.addWidget(self.radioButton_unsteady)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem1)
self.verticalLayout.addLayout(self.horizontalLayout_4)
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem2)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_plan = QtWidgets.QLabel(HecrasDialog)
self.label_plan.setMaximumSize(QtCore.QSize(60, 60))
self.label_plan.setObjectName("label_plan")
self.horizontalLayout_2.addWidget(self.label_plan)
self.comboBox_plan = QtWidgets.QComboBox(HecrasDialog)
self.comboBox_plan.setObjectName("comboBox_plan")
self.horizontalLayout_2.addWidget(self.comboBox_plan)
self.verticalLayout.addLayout(self.horizontalLayout_2)
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem3)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.label_profile = QtWidgets.QLabel(HecrasDialog)
self.label_profile.setMaximumSize(QtCore.QSize(60, 60))
self.label_profile.setObjectName("label_profile")
self.horizontalLayout_3.addWidget(self.label_profile)
self.comboBox_profile = QtWidgets.QComboBox(HecrasDialog)
self.comboBox_profile.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.comboBox_profile.setObjectName("comboBox_profile")
self.horizontalLayout_3.addWidget(self.comboBox_profile)
self.verticalLayout.addLayout(self.horizontalLayout_3)
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem4)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.horizontalLayout_5.setContentsMargins(-1, -1, -1, 0)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.label_temperature = QtWidgets.QLabel(HecrasDialog)
self.label_temperature.setObjectName("label_temperature")
self.horizontalLayout_5.addWidget(self.label_temperature)
self.lineEdit_temperature = QtWidgets.QLineEdit(HecrasDialog)
self.lineEdit_temperature.setObjectName("lineEdit_temperature")
self.horizontalLayout_5.addWidget(self.lineEdit_temperature)
self.verticalLayout.addLayout(self.horizontalLayout_5)
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem5)
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.label_start_time = QtWidgets.QLabel(HecrasDialog)
self.label_start_time.setObjectName("label_start_time")
self.horizontalLayout_8.addWidget(self.label_start_time)
self.dateTimeEdit_start_time = QtWidgets.QDateTimeEdit(HecrasDialog)
self.dateTimeEdit_start_time.setObjectName("dateTimeEdit_start_time")
self.horizontalLayout_8.addWidget(self.dateTimeEdit_start_time)
self.verticalLayout.addLayout(self.horizontalLayout_8)
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem6)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.pushButton_cancel = QtWidgets.QPushButton(HecrasDialog)
self.pushButton_cancel.setObjectName("pushButton_cancel")
self.horizontalLayout_6.addWidget(self.pushButton_cancel)
self.pushButton_ok = QtWidgets.QPushButton(HecrasDialog)
self.pushButton_ok.setObjectName("pushButton_ok")
self.horizontalLayout_6.addWidget(self.pushButton_ok)
spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_6.addItem(spacerItem7)
self.verticalLayout.addLayout(self.horizontalLayout_6)
self.verticalLayout_2.addLayout(self.verticalLayout)
self.retranslateUi(HecrasDialog)
QtCore.QMetaObject.connectSlotsByName(HecrasDialog)
def retranslateUi(self, HecrasDialog):
_translate = QtCore.QCoreApplication.translate
HecrasDialog.setWindowTitle(_translate("HecrasDialog", "Dialog"))
self.label_project.setText(_translate("HecrasDialog", "Project"))
self.pushButton_browse.setText(_translate("HecrasDialog", "Browse"))
self.radioButton_steady.setText(_translate("HecrasDialog", "Steady"))
self.radioButton_unsteady.setText(_translate("HecrasDialog", "Unsteady"))
self.label_plan.setText(_translate("HecrasDialog", "Plan"))
self.label_profile.setText(_translate("HecrasDialog", "Profile"))
self.label_temperature.setText(_translate("HecrasDialog", "Temperature (C)"))
self.label_start_time.setText(_translate("HecrasDialog", "Start Time"))
self.pushButton_cancel.setText(_translate("HecrasDialog", "Cancel"))
self.pushButton_ok.setText(_translate("HecrasDialog", "Ok"))
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'fluegggui/ui_layout.ui'
#
# Created by: PyQt5 UI code generator 5.12.2
#
# WARNING! All changes made in this file will be lost!
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
from PyQt5.QtWidgets import QApplication
from fluegggui.plots_gui import PlotsWindow
import sys
app = QApplication(sys.argv)
w = PlotsWindow()
w.show()
sys.exit(app.exec_())
......@@ -9,3 +9,6 @@ scipy==1.3.0
simplekml==1.3.1
Sphinx==2.1.2
tables==3.5.2
pyinstaller==3.5
PyQt5==5.12.2
wheel
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment