Everything working pretty well.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user