Skip to content

Commit

Permalink
feat: Optimize the interface
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Oct 26, 2024
1 parent e0c2d38 commit cdd9874
Show file tree
Hide file tree
Showing 20 changed files with 628 additions and 791 deletions.
8 changes: 0 additions & 8 deletions LDDC/ui/about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>about</class>
<widget class="QWidget" name="about">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1050</width>
<height>600</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="title_label">
Expand Down
3 changes: 1 addition & 2 deletions LDDC/ui/about_ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'about.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -15,7 +15,6 @@ class Ui_about:
def setupUi(self, about):
if not about.objectName():
about.setObjectName("about")
about.resize(1050, 600)
self.verticalLayout = QVBoxLayout(about)
self.verticalLayout.setObjectName("verticalLayout")
self.title_label = QLabel(about)
Expand Down
8 changes: 0 additions & 8 deletions LDDC/ui/desktop_lyrics_control_bar.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>DesktopLyricsControlBar</class>
<widget class="QWidget" name="DesktopLyricsControlBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>186</width>
<height>24</height>
</rect>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
Expand Down
3 changes: 1 addition & 2 deletions LDDC/ui/desktop_lyrics_control_bar_ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'desktop_lyrics_control_bar.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -15,7 +15,6 @@ class Ui_DesktopLyricsControlBar:
def setupUi(self, DesktopLyricsControlBar):
if not DesktopLyricsControlBar.objectName():
DesktopLyricsControlBar.setObjectName("DesktopLyricsControlBar")
DesktopLyricsControlBar.resize(186, 24)
DesktopLyricsControlBar.setMouseTracking(True)
self.horizontalLayout = QHBoxLayout(DesktopLyricsControlBar)
self.horizontalLayout.setSpacing(0)
Expand Down
8 changes: 0 additions & 8 deletions LDDC/ui/get_list_lyrics.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>get_list_lyrics</class>
<widget class="QWidget" name="get_list_lyrics">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>900</width>
<height>450</height>
</rect>
</property>
<property name="windowTitle">
<string>获取专辑/歌单歌词</string>
</property>
Expand Down
3 changes: 1 addition & 2 deletions LDDC/ui/get_list_lyrics_ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'get_list_lyrics.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -15,7 +15,6 @@ class Ui_get_list_lyrics:
def setupUi(self, get_list_lyrics):
if not get_list_lyrics.objectName():
get_list_lyrics.setObjectName("get_list_lyrics")
get_list_lyrics.resize(900, 450)
icon = QIcon()
icon.addFile(":/LDDC/img/icon/logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
get_list_lyrics.setWindowIcon(icon)
Expand Down
8 changes: 0 additions & 8 deletions LDDC/ui/local_song_lyrics_db_manager/dir_selector.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>DirSelectorDialog</class>
<widget class="QDialog" name="DirSelectorDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>406</width>
<height>314</height>
</rect>
</property>
<property name="windowTitle">
<string>选择文件夹</string>
</property>
Expand Down
3 changes: 1 addition & 2 deletions LDDC/ui/local_song_lyrics_db_manager/dir_selector_ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'dir_selector.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -15,7 +15,6 @@ class Ui_DirSelectorDialog:
def setupUi(self, DirSelectorDialog):
if not DirSelectorDialog.objectName():
DirSelectorDialog.setObjectName("DirSelectorDialog")
DirSelectorDialog.resize(406, 314)
icon = QIcon()
icon.addFile(":/LDDC/img/icon/logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
DirSelectorDialog.setWindowIcon(icon)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>LocalSongLyricsDBManager</class>
<widget class="QWidget" name="LocalSongLyricsDBManager">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>868</width>
<height>538</height>
</rect>
</property>
<property name="windowTitle">
<string>歌词关联管理器</string>
</property>
Expand Down Expand Up @@ -79,7 +71,7 @@
<customwidget>
<class>ProportionallyStretchedTableWidget</class>
<extends>QTableWidget</extends>
<header>ui.custom_widgets</header>
<header>LDDC.ui.custom_widgets</header>
</customwidget>
</customwidgets>
<resources>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'local_song_lyrics_db_manager.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -17,7 +17,6 @@ class Ui_LocalSongLyricsDBManager:
def setupUi(self, LocalSongLyricsDBManager):
if not LocalSongLyricsDBManager.objectName():
LocalSongLyricsDBManager.setObjectName("LocalSongLyricsDBManager")
LocalSongLyricsDBManager.resize(868, 538)
icon = QIcon()
icon.addFile(":/LDDC/img/icon/logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
LocalSongLyricsDBManager.setWindowIcon(icon)
Expand Down
8 changes: 0 additions & 8 deletions LDDC/ui/open_lyrics.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>open_lyrics</class>
<widget class="QWidget" name="open_lyrics">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1050</width>
<height>600</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPlainTextEdit" name="plainTextEdit">
Expand Down
3 changes: 1 addition & 2 deletions LDDC/ui/open_lyrics_ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'open_lyrics.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -25,7 +25,6 @@ class Ui_open_lyrics:
def setupUi(self, open_lyrics):
if not open_lyrics.objectName():
open_lyrics.setObjectName("open_lyrics")
open_lyrics.resize(1050, 600)
self.verticalLayout = QVBoxLayout(open_lyrics)
self.verticalLayout.setObjectName("verticalLayout")
self.plainTextEdit = QPlainTextEdit(open_lyrics)
Expand Down
8 changes: 0 additions & 8 deletions LDDC/ui/progres.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>progressDialog</class>
<widget class="QDialog" name="progressDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>564</width>
<height>72</height>
</rect>
</property>
<property name="windowTitle">
<string>进度</string>
</property>
Expand Down
3 changes: 1 addition & 2 deletions LDDC/ui/progres_ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'progres.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -15,7 +15,6 @@ class Ui_progressDialog:
def setupUi(self, progressDialog):
if not progressDialog.objectName():
progressDialog.setObjectName("progressDialog")
progressDialog.resize(564, 72)
icon = QIcon()
icon.addFile(":/LDDC/img/icon/logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
progressDialog.setWindowIcon(icon)
Expand Down
10 changes: 1 addition & 9 deletions LDDC/ui/search_base.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<ui version="4.0">
<class>search_base</class>
<widget class="QWidget" name="search_base">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1039</width>
<height>433</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
Expand Down Expand Up @@ -486,7 +478,7 @@
<customwidget>
<class>ProportionallyStretchedTableWidget</class>
<extends>QTableWidget</extends>
<header>ui.custom_widgets</header>
<header>LDDC.ui.custom_widgets</header>
</customwidget>
</customwidgets>
<resources/>
Expand Down
3 changes: 1 addition & 2 deletions LDDC/ui/search_base_ui.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
## Form generated from reading UI file 'search_base.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down Expand Up @@ -34,7 +34,6 @@ class Ui_search_base:
def setupUi(self, search_base):
if not search_base.objectName():
search_base.setObjectName("search_base")
search_base.resize(1039, 433)
self.verticalLayout = QVBoxLayout(search_base)
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout = QHBoxLayout()
Expand Down
Loading

0 comments on commit cdd9874

Please sign in to comment.