![]() |
Sayonara Player
|
Friends | |
| class | PreferenceWidgetInterface |
| class | PreferenceInterface< SayonaraWidget > |
Public Member Functions | |
| GUI_PlaylistPreferences (QWidget *parent=0) | |
| void | commit () override |
| This method is called, when OK or apply is pressed. So all settings should be written there. | |
| void | revert () override |
| This method is called, when cancel is clicked. So the gui should be re-initialized when this method is called. This method should also be called in the init_ui() method. | |
| virtual bool | is_ui_initialized () const final |
| checks if ui has already been initialized. More... | |
| virtual QAction * | get_action () final |
| get action with translated text More... | |
| SayonaraDialog * | box_into_dialog () |
| bool | is_dark () const |
| Returns, if the current skin is dark. More... | |
Protected Member Functions | |
| void | setup_parent (W *widget) |
| Sets up the Preference dialog. After this method, the dialog is "ready to use" This method should be the first to be called when calling init_ui() More... | |
| void | translate_action () |
| Sets the new translated action name. | |
| void | showEvent (QShowEvent *e) override |
| shows the widget and automatically calls init_ui() More... | |
| void | closeEvent (QCloseEvent *e) override |
| closes the widget More... | |
| QString | elide_text (const QString &text, QWidget *widget, int max_lines) |
| void | setupUi (QWidget *GUI_PlaylistPreferences) |
| void | retranslateUi (QWidget *GUI_PlaylistPreferences) |
Protected Slots | |
| virtual void | skin_changed () |
Protected Attributes | |
| SayonaraDialog * | _boxed_dialog =nullptr |
| Settings * | _settings =nullptr |
| QGridLayout * | gridLayout |
| QTabWidget * | tabWidget |
| QWidget * | tab |
| QGridLayout * | gridLayout_4 |
| QFrame * | line_3 |
| QCheckBox * | cb_load_temporary_playlists |
| QCheckBox * | cb_remember_time |
| QCheckBox * | cb_load_saved_playlists |
| QCheckBox * | cb_load_last_track |
| QCheckBox * | cb_start_playing |
| QSpacerItem * | verticalSpacer_2 |
| QWidget * | tab_2 |
| QGridLayout * | gridLayout_3 |
| QPushButton * | btn_default |
| QLineEdit * | le_expression |
| QGridLayout * | gridLayout_2 |
| QLabel * | label_4 |
| QLabel * | label_9 |
| QLabel * | label_5 |
| QLabel * | label_7 |
| QLabel * | label |
| QLabel * | label_10 |
| QLabel * | label_8 |
| QLabel * | label_6 |
| QLabel * | label_11 |
| QLabel * | label_12 |
| QLabel * | label_13 |
| QLabel * | label_2 |
| QFrame * | line_4 |
| QFrame * | line_5 |
| QSpacerItem * | horizontalSpacer |
| QCheckBox * | cb_show_numbers |
| QSpacerItem * | verticalSpacer |
|
inlineoverrideprotectedinherited |
closes the widget
| e |
|
inlinefinalvirtualinherited |
get action with translated text
|
inlineinherited |
Returns, if the current skin is dark.
|
inlinefinalvirtualinherited |
checks if ui has already been initialized.
|
inlineprotectedinherited |
Sets up the Preference dialog. After this method, the dialog is "ready to use"
This method should be the first to be called when calling init_ui()
| widget | should always be "this" |
|
inlineoverrideprotectedinherited |
shows the widget and automatically calls init_ui()
| e |
1.8.12