Miam-Player  0.8.0
A nice music player
ClosePlaylistPopup Class Reference

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

#include <closeplaylistpopup.h>

Inheritance diagram for ClosePlaylistPopup:
Ui::ClosePlaylistPopup Ui_ClosePlaylistPopup

Signals

void aboutToCancel ()
 
void aboutToRemoveTab (int index)
 
void aboutToSavePlaylist (bool overwrite)
 
void aboutToDeletePlaylist (uint playlistId)
 

Public Member Functions

 ClosePlaylistPopup (Playlist *playlist, int index, QWidget *parent=nullptr)
 
- Public Member Functions inherited from Ui_ClosePlaylistPopup
void setupUi (QDialog *ClosePlaylistPopup)
 
void retranslateUi (QDialog *ClosePlaylistPopup)
 

Additional Inherited Members

- Public Attributes inherited from Ui_ClosePlaylistPopup
QVBoxLayout * vboxLayout
 
QLabel * labelPlaylist
 
QSpacerItem * verticalSpacer
 
QDialogButtonBox * buttonBox
 
QCheckBox * checkBoxRememberChoice
 

Detailed Description

The ClosePlaylistPopup class is a small modal dialog.

This dialog is displayed on screen when one is about to close a playlist. 3 actions are possible for the user:

  • Save the current playlist in database, or overwrite it if already exists
  • Discard (do not save contents) and close the tab
  • Cancel
    Author
    Matthieu Bachelier

Constructor & Destructor Documentation

ClosePlaylistPopup::ClosePlaylistPopup ( Playlist playlist,
int  index,
QWidget *  parent = nullptr 
)
explicit

Member Function Documentation

void ClosePlaylistPopup::aboutToCancel ( )
signal
void ClosePlaylistPopup::aboutToDeletePlaylist ( uint  playlistId)
signal
void ClosePlaylistPopup::aboutToRemoveTab ( int  index)
signal
void ClosePlaylistPopup::aboutToSavePlaylist ( bool  overwrite)
signal

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