![]() |
Mixxx
|
#include <cratefeature.h>
Public Slots | |
void | activate () |
void | activateChild (const QModelIndex &index) |
void | onRightClick (const QPoint &globalPos) |
void | onRightClickChild (const QPoint &globalPos, QModelIndex index) |
void | onLazyChildExpandation (const QModelIndex &index) |
void | slotCreateCrate () |
void | slotDeleteCrate () |
void | slotRenameCrate () |
void | slotToggleCrateLock () |
void | slotImportPlaylist () |
void | slotExportPlaylist () |
Signals | |
void | showPage (const QUrl &page) |
Public Member Functions | |
CrateFeature (QObject *parent, TrackCollection *pTrackCollection, ConfigObject< ConfigValue > *pConfig) | |
virtual | ~CrateFeature () |
QVariant | title () |
QIcon | getIcon () |
bool | dropAccept (QUrl url) |
bool | dropAcceptChild (const QModelIndex &index, QUrl url) |
bool | dragMoveAccept (QUrl url) |
bool | dragMoveAcceptChild (const QModelIndex &index, QUrl url) |
void | bindWidget (WLibrarySidebar *sidebarWidget, WLibrary *libraryWidget, MixxxKeyboard *keyboard) |
TreeItemModel * | getChildModel () |
Definition at line 16 of file cratefeature.h.
CrateFeature::CrateFeature | ( | QObject * | parent, |
TrackCollection * | pTrackCollection, | ||
ConfigObject< ConfigValue > * | pConfig | ||
) |
CrateFeature::~CrateFeature | ( | ) | [virtual] |
Definition at line 63 of file cratefeature.cpp.
void CrateFeature::activate | ( | ) | [virtual, slot] |
called when you single click on the root item
Implements LibraryFeature.
Definition at line 137 of file cratefeature.cpp.
void CrateFeature::activateChild | ( | const QModelIndex & | index | ) | [virtual, slot] |
called when you single click on a child item, e.g., a concrete playlist or crate
Implements LibraryFeature.
Definition at line 142 of file cratefeature.cpp.
void CrateFeature::bindWidget | ( | WLibrarySidebar * | sidebarWidget, |
WLibrary * | libraryWidget, | ||
MixxxKeyboard * | keyboard | ||
) | [virtual] |
Reimplemented from LibraryFeature.
Definition at line 122 of file cratefeature.cpp.
bool CrateFeature::dragMoveAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 105 of file cratefeature.cpp.
bool CrateFeature::dragMoveAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 110 of file cratefeature.cpp.
bool CrateFeature::dropAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 80 of file cratefeature.cpp.
bool CrateFeature::dropAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 84 of file cratefeature.cpp.
TreeItemModel * CrateFeature::getChildModel | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 133 of file cratefeature.cpp.
QIcon CrateFeature::getIcon | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 76 of file cratefeature.cpp.
void CrateFeature::onLazyChildExpandation | ( | const QModelIndex & | index | ) | [virtual, slot] |
Implements LibraryFeature.
Definition at line 415 of file cratefeature.cpp.
void CrateFeature::onRightClick | ( | const QPoint & | globalPos | ) | [virtual, slot] |
called when you right click on the root item
Implements LibraryFeature.
Definition at line 151 of file cratefeature.cpp.
void CrateFeature::onRightClickChild | ( | const QPoint & | globalPos, |
QModelIndex | index | ||
) | [virtual, slot] |
called when you right click on a child item, e.g., a concrete playlist or crate
Implements LibraryFeature.
Definition at line 158 of file cratefeature.cpp.
void CrateFeature::showPage | ( | const QUrl & | page | ) | [signal] |
void CrateFeature::slotCreateCrate | ( | ) | [slot] |
Definition at line 185 of file cratefeature.cpp.
void CrateFeature::slotDeleteCrate | ( | ) | [slot] |
Definition at line 242 of file cratefeature.cpp.
void CrateFeature::slotExportPlaylist | ( | ) | [slot] |
Definition at line 420 of file cratefeature.cpp.
void CrateFeature::slotImportPlaylist | ( | ) | [slot] |
Definition at line 376 of file cratefeature.cpp.
void CrateFeature::slotRenameCrate | ( | ) | [slot] |
Definition at line 265 of file cratefeature.cpp.
void CrateFeature::slotToggleCrateLock | ( | ) | [slot] |
Definition at line 321 of file cratefeature.cpp.
QVariant CrateFeature::title | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 72 of file cratefeature.cpp.