You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
7.0 KiB

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'chooseSessionDirectory.ui'
#
# Created by: PyQt5 UI code generator 5.12.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_TemplateChooseSessionDirectory(object):
def setupUi(self, TemplateChooseSessionDirectory):
TemplateChooseSessionDirectory.setObjectName("TemplateChooseSessionDirectory")
TemplateChooseSessionDirectory.resize(374, 436)
TemplateChooseSessionDirectory.setMinimumSize(QtCore.QSize(374, 436))
TemplateChooseSessionDirectory.setMaximumSize(QtCore.QSize(374, 436))
self.verticalLayout = QtWidgets.QVBoxLayout(TemplateChooseSessionDirectory)
self.verticalLayout.setObjectName("verticalLayout")
self.widget = QtWidgets.QWidget(TemplateChooseSessionDirectory)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
self.widget.setSizePolicy(sizePolicy)
self.widget.setMinimumSize(QtCore.QSize(0, 151))
self.widget.setMaximumSize(QtCore.QSize(16777215, 151))
self.widget.setObjectName("widget")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget)
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.goldenratioLabel = QtWidgets.QLabel(self.widget)
self.goldenratioLabel.setMinimumSize(QtCore.QSize(300, 151))
self.goldenratioLabel.setMaximumSize(QtCore.QSize(300, 151))
self.goldenratioLabel.setText("")
self.goldenratioLabel.setAlignment(QtCore.Qt.AlignCenter)
self.goldenratioLabel.setObjectName("goldenratioLabel")
self.horizontalLayout_3.addWidget(self.goldenratioLabel)
self.verticalLayout.addWidget(self.widget)
self.layoutWidget = QtWidgets.QWidget(TemplateChooseSessionDirectory)
self.layoutWidget.setObjectName("layoutWidget")
self.formLayout = QtWidgets.QFormLayout(self.layoutWidget)
self.formLayout.setContentsMargins(-1, -1, -1, 0)
self.formLayout.setObjectName("formLayout")
self.label = QtWidgets.QLabel(self.layoutWidget)
self.label.setWordWrap(True)
self.label.setObjectName("label")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label)
self.frame_2 = QtWidgets.QFrame(self.layoutWidget)
self.frame_2.setMinimumSize(QtCore.QSize(0, 0))
self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame)
self.frame_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.frame_2.setLineWidth(0)
self.frame_2.setObjectName("frame_2")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.frame_2)
self.verticalLayout.addWidget(self.layoutWidget)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.pathComboBox = QtWidgets.QComboBox(TemplateChooseSessionDirectory)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pathComboBox.sizePolicy().hasHeightForWidth())
self.pathComboBox.setSizePolicy(sizePolicy)
self.pathComboBox.setEditable(True)
self.pathComboBox.setObjectName("pathComboBox")
self.horizontalLayout_2.addWidget(self.pathComboBox)
self.openFileDialogButton = QtWidgets.QPushButton(TemplateChooseSessionDirectory)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.openFileDialogButton.sizePolicy().hasHeightForWidth())
self.openFileDialogButton.setSizePolicy(sizePolicy)
self.openFileDialogButton.setFlat(False)
self.openFileDialogButton.setObjectName("openFileDialogButton")
self.horizontalLayout_2.addWidget(self.openFileDialogButton)
self.verticalLayout.addLayout(self.horizontalLayout_2)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.buttonBox = QtWidgets.QDialogButtonBox(TemplateChooseSessionDirectory)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.verticalLayout.addWidget(self.buttonBox)
self.widget_2 = QtWidgets.QWidget(TemplateChooseSessionDirectory)
self.widget_2.setObjectName("widget_2")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.widget_2)
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_4.setSpacing(0)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.aboutLabel = QtWidgets.QLabel(self.widget_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.aboutLabel.sizePolicy().hasHeightForWidth())
self.aboutLabel.setSizePolicy(sizePolicy)
self.aboutLabel.setText("Laborejo URL and other Data will be displayed here")
self.aboutLabel.setTextFormat(QtCore.Qt.AutoText)
self.aboutLabel.setAlignment(QtCore.Qt.AlignCenter)
self.aboutLabel.setWordWrap(True)
self.aboutLabel.setOpenExternalLinks(True)
self.aboutLabel.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
self.aboutLabel.setObjectName("aboutLabel")
self.horizontalLayout_4.addWidget(self.aboutLabel)
self.verticalLayout.addWidget(self.widget_2)
self.retranslateUi(TemplateChooseSessionDirectory)
QtCore.QMetaObject.connectSlotsByName(TemplateChooseSessionDirectory)
def retranslateUi(self, TemplateChooseSessionDirectory):
_translate = QtCore.QCoreApplication.translate
TemplateChooseSessionDirectory.setWindowTitle(_translate("TemplateChooseSessionDirectory", "Choose Session Directory"))
self.label.setText(_translate("TemplateChooseSessionDirectory", "Here will be a text that we need a directory to save to. The program name will be included so it needs to be set programatically."))
self.openFileDialogButton.setText(_translate("TemplateChooseSessionDirectory", "Choose Directory"))