29 #ifndef GUI_LOCAL_LIBRARY_H_
30 #define GUI_LOCAL_LIBRARY_H_
33 #include "GUI/Library/ui_GUI_LocalLibrary.h"
34 #include "GUI_AbstractLibrary.h"
35 #include "Components/Library/LibraryNamespaces.h"
36 #include "Interfaces/LibraryInterface/LibraryContainer/LibraryContainer.h"
56 QComboBox* get_libchooser()
const;
57 QMenu* get_menu()
const;
60 void showEvent(QShowEvent* e)
override;
61 void init_shortcuts()
override;
63 Library::ReloadQuality show_quality_dialog();
68 void disc_pressed(
int);
69 void lib_no_lib_path();
70 void progress_changed(
const QString& type,
int progress);
72 void genre_selection_changed(
const QModelIndex& index);
73 void paths_activated(
const QStringList& paths);
78 void reload_library_requested();
79 void import_dirs_requested();
80 void import_files_requested();
81 void import_files(
const QStringList& files);
85 void import_dialog_requested();
88 void set_library_path_clicked();
90 void splitter_artist_moved(
int pos,
int idx);
91 void splitter_tracks_moved(
int pos,
int idx);
92 void splitter_genre_moved(
int pos,
int idx);
95 Library::TrackDeletionMode show_delete_dialog(
int n_tracks)
override;
96 void reload_finished();
101 void language_changed()
override;
103 void _sl_libpath_changed();
132 QWidget*
get_ui()
const override;
QMenu * get_menu() override
return actions menu (may be nullptr). The title does not have to be set
QWidget * get_ui() const override
Should return the UI for the library view.
QIcon get_icon() const override
Should return the icon displayed in the library view combobox.
Definition: GUI_ImportFolder.h:34
Definition: ui_GUI_LocalLibrary.h:450
An interface class needed when implementing a library plugin.
Definition: LibraryContainer.h:42
void init_ui() override
Should initialize the ui. The ui constructor should be called within this function.
QString get_name() const override
Should return an untranslated name used for identifying this widget.
Definition: GUI_AbstractLibrary.h:57
Definition: GUI_LibraryInfoBox.h:33
QComboBox * get_libchooser() override
Should return the library chooser combo box.
Definition: GUI_LocalLibrary.h:42
QString get_display_name() const override
Should return the translated name displayed in the library view combobox.
Definition: GUI_LocalLibrary.h:116