Everything working pretty well.

This commit is contained in:
Landon Wark
2024-02-20 14:36:58 -06:00
parent a7e915995e
commit 1e711149f1
14 changed files with 62 additions and 37 deletions

View File

@@ -10,4 +10,8 @@ from .submission_table import *
from .submission_widget import *
from .controls_chart import *
from .kit_creator import *
from .app import App
from .submission_details import *
from .equipment_usage import *
from .gel_checker import *
from .submission_type_creator import *
from .app import App

View File

@@ -80,7 +80,6 @@ class EquipmentUsage(QDialog):
for object in self.parent().findChildren(QCheckBox):
object.setChecked(self.check.isChecked())
# TODO: Figure out how this is working again
class RoleComboBox(QWidget):
def __init__(self, parent, role:PydEquipmentRole, used:list) -> None:

View File

@@ -49,4 +49,4 @@ def select_save_file(obj:QMainWindow, default_name:str, extension:str) -> Path:
home_dir = obj.app.last_dir.joinpath(default_name).resolve().__str__()
fname = Path(QFileDialog.getSaveFileName(obj, "Save File", home_dir, filter = f"{extension}(*.{extension})")[0])
obj.last_dir = fname.parent
return fname
return fname

View File

@@ -1,12 +1,12 @@
"""
Gel box for artic quality control
"""
from PyQt6.QtWidgets import *
from PyQt6.QtWidgets import QWidget
from PyQt6.QtWidgets import (QWidget, QDialog, QGridLayout,
QLabel, QLineEdit, QDialogButtonBox
)
import numpy as np
import pyqtgraph as pg
from PyQt6.QtGui import *
from PyQt6.QtCore import *
from PyQt6.QtGui import QIcon
from PIL import Image
import numpy as np
import logging

View File

@@ -60,7 +60,6 @@ class SubmissionDetails(QDialog):
btn.setFixedWidth(900)
btn.clicked.connect(self.export)
def export(self):
"""
Renders submission to html, then creates and saves .pdf file to user selected file.