Compare commits
No commits in common. "d7c64141f271c3839fad13bd2364170f82aa24c3" and "9ac2911a55970763327ac1d8a97e169cfcdbef52" have entirely different histories.
d7c64141f2
...
9ac2911a55
@ -787,9 +787,6 @@ class PlaylistTab(QTableWidget):
|
|||||||
# Clear playlist
|
# Clear playlist
|
||||||
self.setRowCount(0)
|
self.setRowCount(0)
|
||||||
|
|
||||||
# Set widths
|
|
||||||
self._set_column_widths(session)
|
|
||||||
|
|
||||||
# Get played tracks
|
# Get played tracks
|
||||||
played_rows = self._get_played_rows(session)
|
played_rows = self._get_played_rows(session)
|
||||||
|
|
||||||
@ -821,6 +818,9 @@ class PlaylistTab(QTableWidget):
|
|||||||
if row0_item:
|
if row0_item:
|
||||||
self.scrollToItem(row0_item, QAbstractItemView.ScrollHint.PositionAtTop)
|
self.scrollToItem(row0_item, QAbstractItemView.ScrollHint.PositionAtTop)
|
||||||
|
|
||||||
|
# Set widths
|
||||||
|
self._set_column_widths(session)
|
||||||
|
|
||||||
# Queue up time calculations to take place after UI has
|
# Queue up time calculations to take place after UI has
|
||||||
# updated
|
# updated
|
||||||
self._update_start_end_times(session)
|
self._update_start_end_times(session)
|
||||||
|
|||||||
34
app/ui/playlist_ui.py
Normal file
34
app/ui/playlist_ui.py
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Form implementation generated from reading ui file 'dlg_SelectPlaylist.ui'
|
||||||
|
#
|
||||||
|
# Created by: PyQt6 UI code generator 6.5.3
|
||||||
|
#
|
||||||
|
# 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_dlgSelectPlaylist(object):
|
||||||
|
def setupUi(self, dlgSelectPlaylist):
|
||||||
|
dlgSelectPlaylist.setObjectName("dlgSelectPlaylist")
|
||||||
|
dlgSelectPlaylist.resize(276, 150)
|
||||||
|
self.verticalLayout = QtWidgets.QVBoxLayout(dlgSelectPlaylist)
|
||||||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||||||
|
self.lstPlaylists = QtWidgets.QListWidget(parent=dlgSelectPlaylist)
|
||||||
|
self.lstPlaylists.setObjectName("lstPlaylists")
|
||||||
|
self.verticalLayout.addWidget(self.lstPlaylists)
|
||||||
|
self.buttonBox = QtWidgets.QDialogButtonBox(parent=dlgSelectPlaylist)
|
||||||
|
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
|
||||||
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
|
||||||
|
self.buttonBox.setObjectName("buttonBox")
|
||||||
|
self.verticalLayout.addWidget(self.buttonBox)
|
||||||
|
|
||||||
|
self.retranslateUi(dlgSelectPlaylist)
|
||||||
|
self.buttonBox.accepted.connect(dlgSelectPlaylist.accept) # type: ignore
|
||||||
|
self.buttonBox.rejected.connect(dlgSelectPlaylist.reject) # type: ignore
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(dlgSelectPlaylist)
|
||||||
|
|
||||||
|
def retranslateUi(self, dlgSelectPlaylist):
|
||||||
|
_translate = QtCore.QCoreApplication.translate
|
||||||
|
dlgSelectPlaylist.setWindowTitle(_translate("dlgSelectPlaylist", "Dialog"))
|
||||||
Loading…
Reference in New Issue
Block a user