jdxi_editor.ui.editors.playlist.table
Playlist Widget Module
This module defines the PlaylistWidget class, a widget for managing playlists in a sortable, editable table with database integration.
- Classes:
- PlaylistWidget(QWidget)
A widget for displaying and managing playlists.
Classes
Widget for managing playlists in a database table. |
Module Contents
- class jdxi_editor.ui.editors.playlist.table.PlaylistTable(parent: jdxi_editor.ui.common.QWidget | None = None, on_playlist_changed: Callable[[], None] | None = None)[source]
Bases:
jdxi_editor.ui.common.QWidgetWidget for managing playlists in a database table.
- _add_round_action_button(icon_enum: Any, text: str, slot: Any, layout: PySide6.QtWidgets.QHBoxLayout, *, name: str | None = None, checkable: bool = False) PySide6.QtWidgets.QPushButton[source]
Create a round button with icon + text label (same style as Transport).
- _get_table_style() str[source]
Get custom styling for tables with rounded corners and charcoal embossed cells.
- Returns:
str CSS style string
- _on_playlist_item_changed(item: PySide6.QtWidgets.QTableWidgetItem) None[source]
Handle changes to playlist name or description.
- Parameters:
item – The table item that was changed