mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 20:22:58 +03:00
Maxim Slipenko
bdcc2cdfe2
Closes #2 --------- Co-authored-by: MisterMLiL <99662459+MisterMLiL@users.noreply.github.com>
24 lines
599 B
Python
24 lines
599 B
Python
from PySide2.QtCore import Slot
|
|
from PySide2.QtWidgets import QDialog
|
|
|
|
from statapp.ui.ui_generate_window import Ui_GenerateWindow
|
|
|
|
|
|
class GenerateWindow(QDialog):
|
|
def __init__(self):
|
|
super().__init__()
|
|
self.deviation = None
|
|
self.mat = None
|
|
self.count = None
|
|
self.ui = Ui_GenerateWindow()
|
|
self.ui.setupUi(self)
|
|
|
|
@Slot()
|
|
def on_generatePushButton_clicked(self):
|
|
|
|
self.count = self.ui.countSpinBox.value()
|
|
self.mat = self.ui.matSpinBox.value()
|
|
self.deviation = self.ui.deviationSpinBox.value()
|
|
|
|
self.accept()
|