![]() |
Sayonara Player
|
#include <GUI_ShortcutEntry.h>
The delegate class for displaying a shortcut.
Signals | |
| void | sig_test_pressed (const QList< QKeySequence > &sequences) |
| signal is emitted when the test button is pressed More... | |
| void | sig_sequence_entered () |
Public Member Functions | |
| GUI_ShortcutEntry (const Shortcut &shortcut, QWidget *parent=nullptr) | |
| QList< QKeySequence > | get_sequences () const |
| void | show_sequence_error () |
| SayonaraDialog * | box_into_dialog () |
| bool | is_dark () const |
| Returns, if the current skin is dark. More... | |
Public Slots | |
| void | commit () |
| void | clear () |
| void | revert () |
Protected Member Functions | |
| QString | elide_text (const QString &text, QWidget *widget, int max_lines) |
Protected Attributes | |
| SayonaraDialog * | _boxed_dialog =nullptr |
| Settings * | _settings =nullptr |
Private Member Functions | |
| void | setupUi (QWidget *GUI_ShortcutEntry) |
| void | retranslateUi (QWidget *GUI_ShortcutEntry) |
Private Attributes | |
| QHBoxLayout * | horizontalLayout |
| QLabel * | lab_description |
| ShortcutLineEdit * | le_entry |
| QPushButton * | btn_edit |
| QPushButton * | btn_default |
| QPushButton * | btn_test |
|
inlineinherited |
Returns, if the current skin is dark.
|
signal |
signal is emitted when the test button is pressed
| sequences | list of sequences mapped to a specific shortcut |
1.8.12