Sayonara Player
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GUI_TagEdit Class Reference
Inheritance diagram for GUI_TagEdit:
Gui::Widget Gui::WidgetTemplate< QWidget > Gui::WidgetTemplateParent

Signals

void sig_ok_clicked (const MetaDataList &)
 
void sig_undo_clicked (int idx)
 
void sig_undo_all_clicked ()
 
void sig_cancelled ()
 
void sig_shown ()
 
void sig_closed ()
 

Public Member Functions

 GUI_TagEdit (QWidget *parent=nullptr)
 
void commit ()
 Commits changes to db/file.
 
void cancel ()
 calls undo_all, and closes the entire dialog
 
void show_close_button (bool show)
 shows/hides the close button. We don't need a close button when this widget is part of another More...
 
void show_cover_tab ()
 Directly go to the cover tab.
 
void set_metadata (const MetaDataList &v_md)
 
int count () const
 
Tagging::Editoreditor () const
 
Dialog * box_into_dialog ()
 

Protected Member Functions

void showEvent (QShowEvent *e) override
 
virtual void closeEvent (QCloseEvent *e)
 
virtual void skin_changed ()
 

Protected Attributes

Dialog * _boxed_dialog =nullptr
 

Member Function Documentation

◆ show_close_button()

void GUI_TagEdit::show_close_button ( bool  show)

shows/hides the close button. We don't need a close button when this widget is part of another

Parameters
show