add about dialog

This commit is contained in:
WorldTeacher
2024-06-11 09:50:45 +02:00
parent ceee170107
commit 6bda35a198
2 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# Form implementation generated from reading ui file 'c:\Users\aky547\GitHub\SemesterapparatsManager\src\ui\dialogs\dialog_sources\about.ui'
#
# Created by: PyQt6 UI code generator 6.6.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_about(object):
def setupUi(self, about):
about.setObjectName("about")
about.resize(301, 313)
self.verticalLayout = QtWidgets.QVBoxLayout(about)
self.verticalLayout.setObjectName("verticalLayout")
self.version = QtWidgets.QLabel(parent=about)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.version.setFont(font)
self.version.setScaledContents(False)
self.version.setObjectName("version")
self.verticalLayout.addWidget(self.version)
self.description = QtWidgets.QTextEdit(parent=about)
self.description.setObjectName("description")
self.verticalLayout.addWidget(self.description)
self.retranslateUi(about)
QtCore.QMetaObject.connectSlotsByName(about)
def retranslateUi(self, about):
_translate = QtCore.QCoreApplication.translate
about.setWindowTitle(_translate("about", "Dialog"))
self.version.setText(_translate("about", "SemesterapparatsManagement"))

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>about</class>
<widget class="QDialog" name="about">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>301</width>
<height>313</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="version">
<property name="font">
<font>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>SemesterapparatsManagement</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="description"/>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>