Update with zoom
This commit is contained in:
parent
7bd6c4731c
commit
6fac08414b
@ -15,7 +15,6 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: rgb(42, 42, 42);
|
<string notr="true">background-color: rgb(42, 42, 42);
|
||||||
font: 11pt "UbuntuMono NF";
|
|
||||||
selection-background-color: rgb(105, 105, 105);
|
selection-background-color: rgb(105, 105, 105);
|
||||||
color: rgb(230, 230, 230);</string>
|
color: rgb(230, 230, 230);</string>
|
||||||
</property>
|
</property>
|
||||||
@ -58,7 +57,8 @@ background-color: rgb(105, 105, 105);</string>
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="search_line_edit">
|
<widget class="QLineEdit" name="search_line_edit">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: rgb(42, 42, 42);</string>
|
<string notr="true">background-color: rgb(42, 42, 42);
|
||||||
|
font: 11pt "UbuntuMono NF";</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
@ -74,7 +74,8 @@ background-color: rgb(105, 105, 105);</string>
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QListWidget" name="tracks_list_widget">
|
<widget class="QListWidget" name="tracks_list_widget">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: rgb(42, 42, 42);</string>
|
<string notr="true">background-color: rgb(42, 42, 42);
|
||||||
|
font: 11pt "UbuntuMono NF";</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
<enum>QFrame::NoFrame</enum>
|
<enum>QFrame::NoFrame</enum>
|
||||||
@ -90,6 +91,9 @@ background-color: rgb(105, 105, 105);</string>
|
|||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
<enum>QFrame::NoFrame</enum>
|
<enum>QFrame::NoFrame</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="lineWrapMode">
|
||||||
|
<enum>QTextEdit::NoWrap</enum>
|
||||||
|
</property>
|
||||||
<property name="readOnly">
|
<property name="readOnly">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
@ -17,6 +17,9 @@ class MainWindow(QWidget, Ui_MainWindow):
|
|||||||
self.splitter.setStretchFactor(0, False)
|
self.splitter.setStretchFactor(0, False)
|
||||||
self.splitter.setStretchFactor(1, True)
|
self.splitter.setStretchFactor(1, True)
|
||||||
|
|
||||||
|
self.detail_text_edit.setFont("UbuntuMono NF")
|
||||||
|
self.detail_text_edit.zoomIn(2)
|
||||||
|
|
||||||
|
|
||||||
def setupConnections(self):
|
def setupConnections(self):
|
||||||
self.tracks_list_widget.itemSelectionChanged.connect(self.popuplate_content)
|
self.tracks_list_widget.itemSelectionChanged.connect(self.popuplate_content)
|
||||||
|
@ -25,7 +25,6 @@ class Ui_MainWindow(object):
|
|||||||
MainWindow.setObjectName(u"MainWindow")
|
MainWindow.setObjectName(u"MainWindow")
|
||||||
MainWindow.resize(1214, 888)
|
MainWindow.resize(1214, 888)
|
||||||
MainWindow.setStyleSheet(u"background-color: rgb(42, 42, 42);\n"
|
MainWindow.setStyleSheet(u"background-color: rgb(42, 42, 42);\n"
|
||||||
"font: 11pt \"UbuntuMono NF\";\n"
|
|
||||||
"selection-background-color: rgb(105, 105, 105);\n"
|
"selection-background-color: rgb(105, 105, 105);\n"
|
||||||
"color: rgb(230, 230, 230);")
|
"color: rgb(230, 230, 230);")
|
||||||
self.verticalLayout_2 = QVBoxLayout(MainWindow)
|
self.verticalLayout_2 = QVBoxLayout(MainWindow)
|
||||||
@ -47,14 +46,16 @@ class Ui_MainWindow(object):
|
|||||||
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||||||
self.search_line_edit = QLineEdit(self.layoutWidget)
|
self.search_line_edit = QLineEdit(self.layoutWidget)
|
||||||
self.search_line_edit.setObjectName(u"search_line_edit")
|
self.search_line_edit.setObjectName(u"search_line_edit")
|
||||||
self.search_line_edit.setStyleSheet(u"background-color: rgb(42, 42, 42);")
|
self.search_line_edit.setStyleSheet(u"background-color: rgb(42, 42, 42);\n"
|
||||||
|
"font: 11pt \"UbuntuMono NF\";")
|
||||||
self.search_line_edit.setFrame(False)
|
self.search_line_edit.setFrame(False)
|
||||||
|
|
||||||
self.verticalLayout.addWidget(self.search_line_edit)
|
self.verticalLayout.addWidget(self.search_line_edit)
|
||||||
|
|
||||||
self.tracks_list_widget = QListWidget(self.layoutWidget)
|
self.tracks_list_widget = QListWidget(self.layoutWidget)
|
||||||
self.tracks_list_widget.setObjectName(u"tracks_list_widget")
|
self.tracks_list_widget.setObjectName(u"tracks_list_widget")
|
||||||
self.tracks_list_widget.setStyleSheet(u"background-color: rgb(42, 42, 42);")
|
self.tracks_list_widget.setStyleSheet(u"background-color: rgb(42, 42, 42);\n"
|
||||||
|
"font: 11pt \"UbuntuMono NF\";")
|
||||||
self.tracks_list_widget.setFrameShape(QFrame.NoFrame)
|
self.tracks_list_widget.setFrameShape(QFrame.NoFrame)
|
||||||
|
|
||||||
self.verticalLayout.addWidget(self.tracks_list_widget)
|
self.verticalLayout.addWidget(self.tracks_list_widget)
|
||||||
@ -64,6 +65,7 @@ class Ui_MainWindow(object):
|
|||||||
self.detail_text_edit.setObjectName(u"detail_text_edit")
|
self.detail_text_edit.setObjectName(u"detail_text_edit")
|
||||||
self.detail_text_edit.setStyleSheet(u"background-color: rgb(42, 42, 42);")
|
self.detail_text_edit.setStyleSheet(u"background-color: rgb(42, 42, 42);")
|
||||||
self.detail_text_edit.setFrameShape(QFrame.NoFrame)
|
self.detail_text_edit.setFrameShape(QFrame.NoFrame)
|
||||||
|
self.detail_text_edit.setLineWrapMode(QTextEdit.NoWrap)
|
||||||
self.detail_text_edit.setReadOnly(True)
|
self.detail_text_edit.setReadOnly(True)
|
||||||
self.splitter.addWidget(self.detail_text_edit)
|
self.splitter.addWidget(self.detail_text_edit)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user