forked from maccarets/health_check
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecond_win.py
More file actions
30 lines (24 loc) · 1.05 KB
/
Copy pathsecond_win.py
File metadata and controls
30 lines (24 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (
QApplication, QWidget,
QHBoxLayout, QVBoxLayout,
QGroupBox, QRadioButton,
QPushButton, QLabel, QListWidget, QLineEdit)
from instr import *
from final_win import *
class TestWin(QWidget):
def __init__(self):
''' вікно, в якому проводиться опитування '''
super().__init__()
self.initUI()
self.set_appear()
self.show()
def set_appear(self):
''' встановлює, як виглядатиме вікно (напис, розмір, місце) '''
def initUI(self):
''' створює графічні елементи '''
def set_appear(self):
''' встановлює, як виглядатиме вікно (напис, розмір, місце) '''
self.setWindowTitle(txt_title)
# TODO вствановити розмір вікна в pyqt
# TODO вствановити місце де вікно зявлятиметься в pyqt