Sayonara Player
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GUI_ShortcutEntry Class Reference

The delegate class for displaying a shortcut. More...

#include <GUI_ShortcutEntry.h>

Inheritance diagram for GUI_ShortcutEntry:
Gui::Widget Gui::WidgetTemplate< QWidget > Gui::WidgetTemplateParent

Public Slots

void commit ()
 
void clear ()
 
void revert ()
 

Signals

void sig_test_pressed (const QList< QKeySequence > &sequences)
 signal is emitted when the test button is pressed More...
 
void sig_sequence_entered ()
 
void sig_shown ()
 
void sig_closed ()
 

Public Member Functions

 GUI_ShortcutEntry (ShortcutIdentifier identifier, QWidget *parent=nullptr)
 
QList< QKeySequence > sequences () const
 
void show_sequence_error ()
 
Dialog * box_into_dialog ()
 

Protected Member Functions

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

Protected Attributes

Dialog * _boxed_dialog =nullptr
 

Detailed Description

The delegate class for displaying a shortcut.

Member Function Documentation

◆ sig_test_pressed

void GUI_ShortcutEntry::sig_test_pressed ( const QList< QKeySequence > &  sequences)
signal

signal is emitted when the test button is pressed

Parameters
sequenceslist of sequences mapped to a specific shortcut