Compare commits
2 Commits
9ac2911a55
...
d7c64141f2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7c64141f2 | ||
|
|
3a612558e4 |
@ -787,6 +787,9 @@ 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)
|
||||||
|
|
||||||
@ -818,9 +821,6 @@ 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)
|
||||||
|
|||||||
@ -1,34 +0,0 @@
|
|||||||
# 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