![]() |
LIDL Soundboard
1.9.0
A simple soundboard, yet better than EXP Soundboard forsenE
|
The CustomListWidget class : inherits QListWidget. More...
#include <CustomListWidget.h>
Signals | |
void | fileDragged (QString) |
fileDragged Signal to send when a file is dragged onto the view. More... | |
Public Member Functions | |
CustomListWidget (QWidget *parent=nullptr) | |
CustomListWidget Default constructor. More... | |
void | dragEnterEvent (QDragEnterEvent *event) |
dragEnterEvent To deal with drag and drop events. More... | |
void | dropEvent (QDropEvent *e) |
dropEvent If a dragEnterEvent was accepted, it will end in the dropEvent when release. More... | |
The CustomListWidget class : inherits QListWidget.
|
explicit |
CustomListWidget Default constructor.
parent | As usual, the parent. |
void CustomListWidget::dragEnterEvent | ( | QDragEnterEvent * | event | ) |
dragEnterEvent To deal with drag and drop events.
We check the event to know if its MIME type are accepted, it it is, we allow the event to continue to dropEvent.
event | The variable containing the event. |
References LIDL::Controller::SettingsController::GetInstance().
void CustomListWidget::dropEvent | ( | QDropEvent * | e | ) |
dropEvent If a dragEnterEvent was accepted, it will end in the dropEvent when release.
e | The variable containing the event. |
References fileDragged().
|
signal |
fileDragged Signal to send when a file is dragged onto the view.
It is intercepted in wrapperproperties.cpp, it will add the file to the wrapper being edited.
Referenced by dropEvent(), and WrapperProperties::WrapperProperties().