Skip to content

Commit 0fa69f0

Browse files
v0.3.1
1 parent b37c070 commit 0fa69f0

File tree

3 files changed

+109
-3
lines changed

3 files changed

+109
-3
lines changed

fibsem/ui/FibsemCryoDepositionWidget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
from fibsem import constants, conversions, utils
88
from fibsem.microscope import FibsemMicroscope, TescanMicroscope, ThermoMicroscope, DemoMicroscope
99
from fibsem.structures import MicroscopeSettings
10-
from fibsem.ui.qtdesigner_files import FibsemCryoDepositionWidget
10+
from fibsem.ui import FibsemCryoDepositionWidget_qt
1111
from fibsem import gis
1212

1313

14-
class FibsemCryoDepositionWidget(FibsemCryoDepositionWidget.Ui_Dialog, QtWidgets.QDialog):
14+
class FibsemCryoDepositionWidget(FibsemCryoDepositionWidget_qt.Ui_Dialog, QtWidgets.QDialog):
1515
def __init__(
1616
self,
1717
microscope: FibsemMicroscope = None,
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# Form implementation generated from reading ui file 'FibsemCryoDepositionWidget.ui'
4+
#
5+
# Created by: PyQt5 UI code generator 5.15.9
6+
#
7+
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8+
# run again. Do not edit this file unless you know what you are doing.
9+
10+
11+
from PyQt5 import QtCore, QtGui, QtWidgets
12+
13+
14+
class Ui_Dialog(object):
15+
def setupUi(self, Dialog):
16+
Dialog.setObjectName("Dialog")
17+
Dialog.resize(400, 300)
18+
self.gridLayout = QtWidgets.QGridLayout(Dialog)
19+
self.gridLayout.setObjectName("gridLayout")
20+
self.label_title = QtWidgets.QLabel(Dialog)
21+
font = QtGui.QFont()
22+
font.setPointSize(10)
23+
font.setBold(True)
24+
font.setWeight(75)
25+
self.label_title.setFont(font)
26+
self.label_title.setObjectName("label_title")
27+
self.gridLayout.addWidget(self.label_title, 0, 0, 1, 2)
28+
self.label_sputter_stage_position = QtWidgets.QLabel(Dialog)
29+
self.label_sputter_stage_position.setObjectName("label_sputter_stage_position")
30+
self.gridLayout.addWidget(self.label_sputter_stage_position, 1, 0, 1, 1)
31+
self.comboBox_sputter_stage_position = QtWidgets.QComboBox(Dialog)
32+
self.comboBox_sputter_stage_position.setObjectName("comboBox_sputter_stage_position")
33+
self.gridLayout.addWidget(self.comboBox_sputter_stage_position, 1, 1, 1, 1)
34+
self.label_sputter_application_file = QtWidgets.QLabel(Dialog)
35+
self.label_sputter_application_file.setObjectName("label_sputter_application_file")
36+
self.gridLayout.addWidget(self.label_sputter_application_file, 2, 0, 1, 1)
37+
self.lineEdit_sputter_application_file = QtWidgets.QLineEdit(Dialog)
38+
self.lineEdit_sputter_application_file.setObjectName("lineEdit_sputter_application_file")
39+
self.gridLayout.addWidget(self.lineEdit_sputter_application_file, 2, 1, 1, 1)
40+
self.label_sputter_gis_position = QtWidgets.QLabel(Dialog)
41+
self.label_sputter_gis_position.setObjectName("label_sputter_gis_position")
42+
self.gridLayout.addWidget(self.label_sputter_gis_position, 3, 0, 1, 1)
43+
self.lineEdit_sputter_gis_position = QtWidgets.QLineEdit(Dialog)
44+
self.lineEdit_sputter_gis_position.setObjectName("lineEdit_sputter_gis_position")
45+
self.gridLayout.addWidget(self.lineEdit_sputter_gis_position, 3, 1, 1, 1)
46+
self.label_sputter_gas = QtWidgets.QLabel(Dialog)
47+
self.label_sputter_gas.setObjectName("label_sputter_gas")
48+
self.gridLayout.addWidget(self.label_sputter_gas, 4, 0, 1, 1)
49+
self.lineEdit_sputter_gas = QtWidgets.QLineEdit(Dialog)
50+
self.lineEdit_sputter_gas.setObjectName("lineEdit_sputter_gas")
51+
self.gridLayout.addWidget(self.lineEdit_sputter_gas, 4, 1, 1, 1)
52+
self.label_sputter_hfw = QtWidgets.QLabel(Dialog)
53+
self.label_sputter_hfw.setObjectName("label_sputter_hfw")
54+
self.gridLayout.addWidget(self.label_sputter_hfw, 5, 0, 1, 1)
55+
self.doubleSpinBox_sputter_hfw = QtWidgets.QDoubleSpinBox(Dialog)
56+
self.doubleSpinBox_sputter_hfw.setMaximum(1000.0)
57+
self.doubleSpinBox_sputter_hfw.setProperty("value", 30.0)
58+
self.doubleSpinBox_sputter_hfw.setObjectName("doubleSpinBox_sputter_hfw")
59+
self.gridLayout.addWidget(self.doubleSpinBox_sputter_hfw, 5, 1, 1, 1)
60+
self.label_sputter_length = QtWidgets.QLabel(Dialog)
61+
self.label_sputter_length.setObjectName("label_sputter_length")
62+
self.gridLayout.addWidget(self.label_sputter_length, 6, 0, 1, 1)
63+
self.doubleSpinBox_sputter_length = QtWidgets.QDoubleSpinBox(Dialog)
64+
self.doubleSpinBox_sputter_length.setMaximum(1000.0)
65+
self.doubleSpinBox_sputter_length.setProperty("value", 7.5)
66+
self.doubleSpinBox_sputter_length.setObjectName("doubleSpinBox_sputter_length")
67+
self.gridLayout.addWidget(self.doubleSpinBox_sputter_length, 6, 1, 1, 1)
68+
self.label = QtWidgets.QLabel(Dialog)
69+
self.label.setObjectName("label")
70+
self.gridLayout.addWidget(self.label, 7, 0, 1, 1)
71+
self.doubleSpinBox_sputter_beam_current = QtWidgets.QDoubleSpinBox(Dialog)
72+
self.doubleSpinBox_sputter_beam_current.setMaximum(1000.0)
73+
self.doubleSpinBox_sputter_beam_current.setProperty("value", 10.0)
74+
self.doubleSpinBox_sputter_beam_current.setObjectName("doubleSpinBox_sputter_beam_current")
75+
self.gridLayout.addWidget(self.doubleSpinBox_sputter_beam_current, 7, 1, 1, 1)
76+
self.label_sputter_time = QtWidgets.QLabel(Dialog)
77+
self.label_sputter_time.setObjectName("label_sputter_time")
78+
self.gridLayout.addWidget(self.label_sputter_time, 8, 0, 1, 1)
79+
self.doubleSpinBox_sputter_time = QtWidgets.QDoubleSpinBox(Dialog)
80+
self.doubleSpinBox_sputter_time.setMaximum(1000.0)
81+
self.doubleSpinBox_sputter_time.setProperty("value", 30.0)
82+
self.doubleSpinBox_sputter_time.setObjectName("doubleSpinBox_sputter_time")
83+
self.gridLayout.addWidget(self.doubleSpinBox_sputter_time, 8, 1, 1, 1)
84+
self.pushButton_run_sputter = QtWidgets.QPushButton(Dialog)
85+
self.pushButton_run_sputter.setObjectName("pushButton_run_sputter")
86+
self.gridLayout.addWidget(self.pushButton_run_sputter, 9, 0, 1, 2)
87+
88+
self.retranslateUi(Dialog)
89+
QtCore.QMetaObject.connectSlotsByName(Dialog)
90+
91+
def retranslateUi(self, Dialog):
92+
_translate = QtCore.QCoreApplication.translate
93+
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
94+
self.label_title.setText(_translate("Dialog", "Cryo Sputter"))
95+
self.label_sputter_stage_position.setText(_translate("Dialog", "Stage Position"))
96+
self.label_sputter_application_file.setText(_translate("Dialog", "Application File"))
97+
self.lineEdit_sputter_application_file.setText(_translate("Dialog", "cryo_Pt_dep"))
98+
self.label_sputter_gis_position.setText(_translate("Dialog", "GIS Position"))
99+
self.lineEdit_sputter_gis_position.setText(_translate("Dialog", "cryo"))
100+
self.label_sputter_gas.setText(_translate("Dialog", "Gas"))
101+
self.lineEdit_sputter_gas.setText(_translate("Dialog", "Pt cryo"))
102+
self.label_sputter_hfw.setText(_translate("Dialog", "HFW (um)"))
103+
self.label_sputter_length.setText(_translate("Dialog", "Length (um)"))
104+
self.label.setText(_translate("Dialog", "Current (nA)"))
105+
self.label_sputter_time.setText(_translate("Dialog", "Time (s)"))
106+
self.pushButton_run_sputter.setText(_translate("Dialog", "Run Sputtering"))

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = fibsem
3-
version = 0.3.0a1
3+
version = 0.3.1
44
author = Patrick Cleeve
55
author_email = Patrick.Cleeve@monash.edu
66
description = a universal api for fibsem control

0 commit comments

Comments
 (0)