cuissedemouche
0ffc67e04a
Increase the height of the QListWidget Now populate the content with selectionChanged insted of Clicked, allow to select with arrow keys
69 lines
2.8 KiB
Python
69 lines
2.8 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.tracks_list_widget = QListWidget(self.layoutWidget)
|
|
self.tracks_list_widget.setObjectName(u"tracks_list_widget")
|
|
|
|
self.verticalLayout.addWidget(self.tracks_list_widget)
|
|
|
|
self.splitter.addWidget(self.layoutWidget)
|
|
self.detail_plain_text_edit = QPlainTextEdit(self.splitter)
|
|
self.detail_plain_text_edit.setObjectName(u"detail_plain_text_edit")
|
|
self.detail_plain_text_edit.setUndoRedoEnabled(False)
|
|
self.detail_plain_text_edit.setLineWrapMode(QPlainTextEdit.NoWrap)
|
|
self.detail_plain_text_edit.setReadOnly(True)
|
|
self.splitter.addWidget(self.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.detail_plain_text_edit.setPlainText("")
|
|
# retranslateUi
|
|
|