Sayonara Player
Signals | Public Member Functions | Public Slots | Protected Member Functions | List of all members
PlaylistView Class Reference

Signals

void sig_double_clicked (int row)
 
void sig_left_tab_clicked ()
 
void sig_right_tab_clicked ()
 
void sig_time_changed ()
 
void sig_mouse_moved ()
 
void sig_mouse_pressed ()
 
void sig_mouse_released ()
 
void sig_focus_out ()
 
void sig_key_pressed (QKeyEvent *)
 
void sig_selection_changed (const QModelIndexList &idxs)
 

Public Member Functions

 PlaylistView (PlaylistPtr pl, QWidget *parent=nullptr)
 
void fill (PlaylistPtr pl)
 
void goto_row (int row)
 
void scroll_up ()
 
void scroll_down ()
 
int get_num_rows ()
 
void remove_cur_selected_rows ()
 
void dropEventFromOutside (QDropEvent *event)
 called from GUI_Playlist when data has not been dropped directly into the view widget. Insert on first row then More...
 
void setAbstractModel (AbstractSearchListModel *model)
 
SP::Set< int > get_selections () const
 
void show_info ()
 Show the Info dialogs' info tab.
 
void show_lyrics ()
 Show the Info dialogs' lyrics tab.
 
void show_edit ()
 Show the tag editor.
 
void info_dialog_closed ()
 this function should not be called from outside. This function is triggered when the info dialog was closed.
 

Public Slots

void clear ()
 

Protected Member Functions

void mouseReleaseEvent (QMouseEvent *) override
 
virtual void select_all ()
 
virtual void select_rows (const SP::Set< int > &indexes, int min_col=0, int max_col=0)
 
virtual void select_row (int row)
 
virtual void clear_selection ()
 
virtual int get_min_selected () const
 
virtual int get_max_selected () const
 

Member Function Documentation

◆ dropEventFromOutside()

void PlaylistView::dropEventFromOutside ( QDropEvent *  event)

called from GUI_Playlist when data has not been dropped directly into the view widget. Insert on first row then

Parameters
event
Inheritance diagram for PlaylistView:
SearchableListView InfoDialogContainer SayonaraSelectionView