cuissedemouche
7cc07c2657
First commit of the app Basic and advanced tab can be generated via code to the QPlainTextEdit
69 lines
2.9 KiB
Python
69 lines
2.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
################################################################################
|
|
## Form generated from reading UI file 'main_window.ui'
|
|
##
|
|
## Created by: Qt User Interface Compiler version 6.4.1
|
|
##
|
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
################################################################################
|
|
|
|
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
|
QMetaObject, QObject, QPoint, QRect,
|
|
QSize, QTime, QUrl, Qt)
|
|
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
|
QFont, QFontDatabase, QGradient, QIcon,
|
|
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
from PySide6.QtWidgets import (QApplication, QLineEdit, QListWidget, QListWidgetItem,
|
|
QPlainTextEdit, QSizePolicy, QSplitter, QVBoxLayout,
|
|
QWidget)
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
if not MainWindow.objectName():
|
|
MainWindow.setObjectName(u"MainWindow")
|
|
MainWindow.resize(1214, 896)
|
|
self.verticalLayout_2 = QVBoxLayout(MainWindow)
|
|
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
|
|
self.splitter = QSplitter(MainWindow)
|
|
self.splitter.setObjectName(u"splitter")
|
|
self.splitter.setOrientation(Qt.Horizontal)
|
|
self.layoutWidget = QWidget(self.splitter)
|
|
self.layoutWidget.setObjectName(u"layoutWidget")
|
|
self.verticalLayout = QVBoxLayout(self.layoutWidget)
|
|
self.verticalLayout.setObjectName(u"verticalLayout")
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
self.lineEdit = QLineEdit(self.layoutWidget)
|
|
self.lineEdit.setObjectName(u"lineEdit")
|
|
|
|
self.verticalLayout.addWidget(self.lineEdit)
|
|
|
|
self.media_tracks_list_widget = QListWidget(self.layoutWidget)
|
|
self.media_tracks_list_widget.setObjectName(u"media_tracks_list_widget")
|
|
|
|
self.verticalLayout.addWidget(self.media_tracks_list_widget)
|
|
|
|
self.splitter.addWidget(self.layoutWidget)
|
|
self.media_detail_plain_text_edit = QPlainTextEdit(self.splitter)
|
|
self.media_detail_plain_text_edit.setObjectName(u"media_detail_plain_text_edit")
|
|
self.media_detail_plain_text_edit.setUndoRedoEnabled(False)
|
|
self.media_detail_plain_text_edit.setLineWrapMode(QPlainTextEdit.NoWrap)
|
|
self.media_detail_plain_text_edit.setReadOnly(True)
|
|
self.splitter.addWidget(self.media_detail_plain_text_edit)
|
|
|
|
self.verticalLayout_2.addWidget(self.splitter)
|
|
|
|
|
|
self.retranslateUi(MainWindow)
|
|
|
|
QMetaObject.connectSlotsByName(MainWindow)
|
|
# setupUi
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"Form", None))
|
|
self.lineEdit.setText(QCoreApplication.translate("MainWindow", u"Search", None))
|
|
self.media_detail_plain_text_edit.setPlainText("")
|
|
# retranslateUi
|
|
|