![]() |
Miam-Player
0.8.0
A nice music player
|
The CustomizeThemeDialog class is a very important class. It is designed to help one to customize theme of Miam-Player. More...
#include <customizethemedialog.h>
Public Slots | |
virtual int | exec () override |
Public Member Functions | |
CustomizeThemeDialog (QWidget *parent=nullptr) | |
Reflector * | targetedColor () const |
![]() | |
void | setupUi (QDialog *CustomizeThemeDialog) |
void | retranslateUi (QDialog *CustomizeThemeDialog) |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *e) override |
virtual void | showEvent (QShowEvent *event) override |
The CustomizeThemeDialog class is a very important class. It is designed to help one to customize theme of Miam-Player.
Almost everything can be customized: buttons, volume bar, fonts, colors, library and tabs. Lots of efforts have been made to apply these effects at runtime, in real time, without classic "Apply button". Also, no buttons to reset defaults are present. It is a choice and it won't be changed. Except for rare cases (colors) because it can be absolutely awful.
CustomizeThemeDialog::CustomizeThemeDialog | ( | QWidget * | parent = nullptr | ) |
|
overrideprotectedvirtual |
Automatically centers the parent window when closing this dialog.
|
overridevirtualslot |
Redefined to initialize favorites from settings.
|
overrideprotectedvirtual |
XXX: why should I show the dialog before adding tags to have the exact and right size? Is it impossible to compute real size even if dialog is hidden?
|
inline |