Miam-Player  0.8.0
A nice music player
DragDropDialog Class Reference

The DragDropDialog class is a small modal dialog. More...

#include <dragdropdialog.h>

Inheritance diagram for DragDropDialog:
Ui::DragDropDialog Ui_DragDropDialog

Signals

void aboutToAddExtFoldersToLibrary (const QList< QDir > &)
 
void aboutToAddExtFoldersToPlaylist (const QList< QDir > &)
 

Public Member Functions

 DragDropDialog (QWidget *parent=nullptr)
 
bool setMimeData (const QMimeData *mimeData)
 
- Public Member Functions inherited from Ui_DragDropDialog
void setupUi (QDialog *DragDropDialog)
 
void retranslateUi (QDialog *DragDropDialog)
 

Public Attributes

QStringList externalLocations
 
- Public Attributes inherited from Ui_DragDropDialog
QVBoxLayout * verticalLayout
 
QLabel * labelHowToProceed
 
QHBoxLayout * horizontalLayout
 
QSpacerItem * horizontalSpacer
 
QToolButton * toolButtonLibrary
 
QToolButton * toolButtonPlaylist
 
QSpacerItem * horizontalSpacer_2
 
QCheckBox * checkBoxRememberChoice
 
QSpacerItem * verticalSpacer
 
QDialogButtonBox * buttonBox
 

Detailed Description

The DragDropDialog class is a small modal dialog.

This dialog is displayed on screen when one is interacting from an external application to the Miam-Player. One can drag files or folders from any filesystem explorer to this application. The first time this dialog will appear, 2 options will be proposed: to add items to the current playlist, or to add them to the library. This choice can be remembered.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

DragDropDialog::DragDropDialog ( QWidget *  parent = nullptr)
explicit

Member Function Documentation

void DragDropDialog::aboutToAddExtFoldersToLibrary ( const QList< QDir > &  )
signal
void DragDropDialog::aboutToAddExtFoldersToPlaylist ( const QList< QDir > &  )
signal
bool DragDropDialog::setMimeData ( const QMimeData *  mimeData)

Member Data Documentation

QStringList DragDropDialog::externalLocations

The documentation for this class was generated from the following files: