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


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
    Matthieu Bachelier

Constructor & Destructor Documentation

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

Member Function Documentation

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

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