add version and ok button to about dialog

This commit is contained in:
2021-10-31 19:50:33 +01:00
parent f1b0bf4981
commit 0d04432d8b
3 changed files with 29 additions and 2 deletions

9
vbox.py Normal file
View File

@@ -0,0 +1,9 @@
from PyQt6.QtWidgets import QWidget, QVBoxLayout
class VBox(QWidget):
def __init__(self, *widgets: QWidget):
super(VBox, self).__init__()
self.layout = QVBoxLayout(self)
for widget in widgets:
self.layout.addWidget(widget)