![]() |
Sayonara Player
|
Public Types | |
| enum | SelectionType { Rows =0, Columns, Items } |
Signals | |
| void | sig_double_clicked (int row) |
| void | sig_left_tab_clicked () |
| void | sig_right_tab_clicked () |
| void | sig_time_changed () |
| void | sig_delete_tracks (const SP::Set< int > &rows) |
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 () const |
| void | remove_cur_selected_rows () |
| void | delete_cur_selected_tracks () |
| 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... | |
| int | get_index_by_model_index (const QModelIndex &idx) const override |
| QModelIndex | get_model_index_by_index (int idx) const override |
| virtual void | setSearchModel (SearchModelFunctionality *model) final |
| virtual QModelIndex | get_index (int row, int col, const QModelIndex &parent=QModelIndex()) const override final |
| virtual int | get_row_count (const QModelIndex &parent=QModelIndex()) const override final |
| virtual int | get_column_count (const QModelIndex &parent=QModelIndex()) const override final |
| virtual QItemSelectionModel * | get_selection_model () const override final |
| virtual void | set_current_index (int idx) override final |
| bool | is_minisearcher_active () const |
| SP::Set< int > | get_selected_items () const |
| virtual void | set_selection_type (SayonaraSelectionView::SelectionType type) |
| SayonaraSelectionView::SelectionType | selection_type () const |
| virtual SP::Set< int > | get_indexes_by_model_indexes (const QModelIndexList &idxs) const |
| virtual QModelIndexList | get_model_indexes_by_indexes (const SP::Set< int > &idxs) 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 Types | |
| enum | SearchDirection : unsigned char { First, Next, Prev } |
Protected Member Functions | |
| void | handleKeyPress (QKeyEvent *e) |
| void | select_rows (const SP::Set< int > &indexes, int min_col=-1, int max_col=-1) |
| void | select_row (int row) |
| void | select_columns (const SP::Set< int > &indexes, int min_row=-1, int max_row=-1) |
| void | select_column (int col) |
| void | select_items (const SP::Set< int > &items) |
| void | select_item (int item) |
| void | select_all () |
| void | clear_selection () |
| int | get_min_selected_item () const |
Protected Attributes | |
| SelectionType | _selection_type |
Private Types | |
| enum | ReleaseReason : char { Dropped, Destroyed } |
| 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
| event |
1.8.13