Miam-Player  0.8.0
A nice music player
CustomizeThemeDialog Class Reference

The CustomizeThemeDialog class is a very important class. It is designed to help one to customize theme of Miam-Player. More...

#include <customizethemedialog.h>

Inheritance diagram for CustomizeThemeDialog:
Ui::CustomizeThemeDialog Ui_CustomizeThemeDialog

Public Slots

virtual int exec () override
 

Public Member Functions

 CustomizeThemeDialog (MainWindow *parent=nullptr)
 
ReflectortargetedColor () const
 
- Public Member Functions inherited from Ui_CustomizeThemeDialog
void setupUi (QDialog *CustomizeThemeDialog)
 
void retranslateUi (QDialog *CustomizeThemeDialog)
 

Protected Member Functions

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

Additional Inherited Members

- Public Attributes inherited from Ui_CustomizeThemeDialog
QHBoxLayout * horizontalLayout
 
QListWidget * listWidget
 
QStackedWidget * stackedWidget
 
QWidget * buttonsPage
 
QVBoxLayout * verticalLayout
 
QGroupBox * buttonThemeBox
 
QVBoxLayout * verticalLayout_2
 
QComboBox * themeComboBox
 
QCheckBox * customizeThemeCheckBox
 
QGroupBox * buttonsListBox
 
QVBoxLayout * verticalLayout_5
 
QLabel * customizeIconsLabel
 
QScrollArea * customizeButtonsScrollArea
 
QWidget * scrollAreaWidgetContents
 
QGridLayout * gridLayout
 
QCheckBox * skipBackwardCheckBox
 
QLabel * stopLabel
 
QHBoxLayout * hl_stop
 
QPushButton * stop
 
QCheckBox * playCheckBox
 
QCheckBox * stopCheckBox
 
QHBoxLayout * hl_skipF
 
QPushButton * skipForward
 
QHBoxLayout * hl_seekF
 
QPushButton * seekForward
 
QHBoxLayout * hl_seekB
 
QPushButton * seekBackward
 
QCheckBox * skipForwardCheckBox
 
QLabel * skipBackwardLabel
 
QLabel * seekForwardLabel
 
QHBoxLayout * hl_skipB
 
QPushButton * skipBackward
 
QCheckBox * seekBackwardCheckBox
 
QSpacerItem * horizontalSpacer
 
QLabel * playLabel
 
QCheckBox * seekForwardCheckBox
 
QHBoxLayout * hl_play
 
QPushButton * play
 
QPushButton * pause
 
QLabel * skipForwardLabel
 
QHBoxLayout * horizontalLayout_11
 
QPushButton * sequential
 
QLabel * seekBackwardLabel
 
QHBoxLayout * horizontalLayout_12
 
QPushButton * repeat
 
QLabel * loopLabel
 
QHBoxLayout * horizontalLayout_14
 
QPushButton * shuffle
 
QHBoxLayout * horizontalLayout_15
 
QPushButton * itemOnce
 
QLabel * playbackModeLabel
 
QCheckBox * playbackModeCheckBox
 
QLabel * sequentialLabel
 
QLabel * itemOnceLabel
 
QLabel * itemLoopLabel
 
QLabel * shuffleLabel
 
QHBoxLayout * horizontalLayout_16
 
QPushButton * itemLoop
 
QGroupBox * groupBoxMediaButtons
 
QGridLayout * gridLayout_5
 
QLabel * sizeButtonsLabel
 
QSpinBox * sizeButtonsSpinBox
 
QGroupBox * groupBoxSearchBar
 
QVBoxLayout * verticalLayout_15
 
QLabel * labelSearchBar
 
QHBoxLayout * horizontalLayout_9
 
QRadioButton * radioButtonShowExtendedSearch
 
QRadioButton * radioButtonHideExtendedSearch
 
QGroupBox * groupBoxVolumeBar
 
QVBoxLayout * verticalLayout_10
 
QLabel * displayVolumeInTopLeftCorner
 
QRadioButton * radioButtonShowVolume
 
QHBoxLayout * horizontalLayout_6
 
QRadioButton * radioButtonHideVolume
 
QSpinBox * spinBoxHideVolumeLabel
 
QSpacerItem * verticalSpacer
 
QWidget * fontsPage
 
QVBoxLayout * verticalLayout_14
 
QGroupBox * groupBoxFonts
 
QGridLayout * gridLayout_3
 
QLabel * labelFontSize
 
QLabel * labelFontFamily
 
QSpinBox * spinBoxLibrary
 
QFontComboBox * fontComboBoxPlaylist
 
QFontComboBox * fontComboBoxLibrary
 
QSpinBox * spinBoxPlaylist
 
QLabel * label_3
 
QLabel * label_5
 
QFontComboBox * fontComboBoxMenus
 
QSpinBox * spinBoxMenus
 
QLabel * label_4
 
QSpacerItem * verticalSpacer_3
 
QWidget * colorsPage
 
QVBoxLayout * verticalLayout_12
 
QGroupBox * groupBox_4
 
QVBoxLayout * verticalLayout_9
 
QLabel * label_2
 
QHBoxLayout * horizontalLayout_8
 
QRadioButton * enableAlternateBGRadioButton
 
QRadioButton * disableAlternateBGRadioButton
 
QGroupBox * groupBoxCustomColors
 
QVBoxLayout * verticalLayout_8
 
QLabel * label_6
 
QHBoxLayout * horizontalLayout_3
 
QRadioButton * enableCustomColorsRadioButton
 
QRadioButton * disableCustomColorsRadioButton
 
QGridLayout * customColorsGridLayout
 
ReflectorbgPrimaryColorWidget
 
QToolButton * selectedItemColorToolButton
 
QToolButton * bgPrimaryColorToolButton
 
QLabel * labelBackgroundPrimary
 
QLabel * labelSelectedItem
 
ReflectorselectedItemColorWidget
 
QLabel * labelFontColor
 
ReflectorfontColorWidget
 
QToolButton * fontColorToolButton
 
QSpacerItem * verticalSpacer_4
 
QTabWidget * tabAvailableViews
 
QWidget * tabLibraryTreeView
 
QVBoxLayout * verticalLayout_16
 
QGroupBox * groupBoxLibraryCovers
 
QVBoxLayout * verticalLayout_6
 
QHBoxLayout * horizontalLayout_2
 
QLabel * labelDisplayCovers
 
QCheckBox * checkBoxDisplayCovers
 
QHBoxLayout * horizontalLayout_5
 
QLabel * labelCoverSize
 
QSpinBox * spinBoxCoverSize
 
QLabel * labelOpacity
 
QGridLayout * gridLayout_2
 
QRadioButton * radioButtonEnableBigCover
 
QRadioButton * radioButtonDisableBigCover
 
QLabel * labelBigCoverOpacity
 
QSpinBox * spinBoxBigCoverOpacity
 
QGroupBox * groupBoxSortingLibrary
 
QVBoxLayout * verticalLayout_7
 
QLabel * labelIgnoreArticles
 
QGridLayout * gridLayout_9
 
QRadioButton * radioButtonEnableArticles
 
QRadioButton * radioButtonDisableArticles
 
CustomizeThemeTagLineEditarticlesLineEdit
 
QSpacerItem * verticalSpacer_6
 
QLabel * labelReorderArtistsArticle
 
QLabel * labelReorderArtistsArticleExample
 
QGridLayout * gridLayout_8
 
QRadioButton * radioButtonEnableReorderArtistsArticle
 
QRadioButton * radioButtonDisableReorderArtistsArticle
 
QGroupBox * groupBoxLibraryDelegates
 
QVBoxLayout * verticalLayout_4
 
QLabel * labelLibraryDelegatesState
 
QHBoxLayout * horizontalLayout_17
 
QHBoxLayout * horizontalLayout_4
 
QRadioButton * radioButtonEnableStarDelegate
 
StarsWidgetstarsLibrary
 
QHBoxLayout * horizontalLayout_10
 
QSpacerItem * horizontalSpacer_4
 
QRadioButton * radioButtonDisableStarDelegate
 
QLabel * labelLibraryDelegates
 
QGridLayout * gridLayout_6
 
QRadioButton * radioButtonShowNeverScoredTracks
 
QRadioButton * radioButtonHideNeverScoredTracks
 
QSpacerItem * verticalSpacer_2
 
QWidget * tabUniqueLibrary
 
QVBoxLayout * verticalLayout_18
 
QWidget * tabsPage
 
QVBoxLayout * verticalLayout_13
 
QGroupBox * groupBoxTabs
 
QVBoxLayout * verticalLayout_11
 
QLabel * labelShapeTabs
 
QRadioButton * radioButtonTabsRect
 
QRadioButton * radioButtonTabsRounded
 
QHBoxLayout * horizontalLayout_13
 
QLabel * labelOverlapTabs
 
QSpinBox * overlapTabsSpinBox
 
QSpacerItem * verticalSpacer_5
 
QButtonGroup * buttonGroupReorderArtists
 
QButtonGroup * buttonGroupArtistsArticle
 
QButtonGroup * buttonGroupEnableStarOutline
 
QButtonGroup * buttonGroupEnableStarDelegate
 

Detailed Description

The CustomizeThemeDialog class is a very important class. It is designed to help one to customize theme of Miam-Player.

Almost everything can be customize: 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.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

CustomizeThemeDialog::CustomizeThemeDialog ( MainWindow parent = nullptr)

Member Function Documentation

void CustomizeThemeDialog::closeEvent ( QCloseEvent *  e)
overrideprotectedvirtual

Automatically centers the parent window when closing this dialog.

int CustomizeThemeDialog::exec ( )
overridevirtualslot

Redefined to initialize favorites from settings.

void CustomizeThemeDialog::showEvent ( QShowEvent *  event)
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?

Reflector* CustomizeThemeDialog::targetedColor ( ) const
inline

The documentation for this class was generated from the following files: