属性后的逗号对齐

This commit is contained in:
tanjing 2024-03-01 14:42:22 +08:00
parent b370c10b36
commit c93b66b061
1 changed files with 225 additions and 225 deletions

View File

@ -7881,60 +7881,60 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//pushbutton //pushbutton
QSharedPointer<ConfigPushButtonParameters> pb(new ConfigPushButtonParameters); QSharedPointer<ConfigPushButtonParameters> pb(new ConfigPushButtonParameters);
sp->getDefaultConfigPushButtonBevelParameters(pb.data(), isUseDarkPalette()); sp->getDefaultConfigPushButtonBevelParameters(pb.data(), isUseDarkPalette());
app->setProperty("PushButton_DefaultParameters_radius", pb.data()->radius); app->setProperty("PushButton_DefaultParameters_Radius" , pb.data()->radius);
app->setProperty("PushButton_DefaultParameters_DefaultBrush", pb.data()->pushButtonDefaultBrush ); app->setProperty("PushButton_DefaultParameters_DefaultBrush" , pb.data()->pushButtonDefaultBrush );
app->setProperty("PushButton_DefaultParameters_ClickBrush", pb.data()->pushButtonClickBrush ); app->setProperty("PushButton_DefaultParameters_ClickBrush" , pb.data()->pushButtonClickBrush );
app->setProperty("PushButton_DefaultParameters_HoverBrush", pb.data()->pushButtonHoverBrush ); app->setProperty("PushButton_DefaultParameters_HoverBrush" , pb.data()->pushButtonHoverBrush );
app->setProperty("PushButton_DefaultParameters_DisableBrush", pb.data()->pushButtonDisableBrush ); app->setProperty("PushButton_DefaultParameters_DisableBrush" , pb.data()->pushButtonDisableBrush );
app->setProperty("PushButton_DefaultParameters_CheckBrush", pb.data()->pushButtonCheckBrush ); app->setProperty("PushButton_DefaultParameters_CheckBrush" , pb.data()->pushButtonCheckBrush );
app->setProperty("PushButton_DefaultParameters_CheckHoverBrush", pb.data()->pushButtonCheckHoverBrush ); app->setProperty("PushButton_DefaultParameters_CheckHoverBrush" , pb.data()->pushButtonCheckHoverBrush );
app->setProperty("PushButton_DefaultParameters_CheckClickBrush", pb.data()->pushButtonCheckClickBrush ); app->setProperty("PushButton_DefaultParameters_CheckClickBrush" , pb.data()->pushButtonCheckClickBrush );
app->setProperty("PushButton_DefaultParameters_CheckDisableBrush", pb.data()->pushButtonCheckDisableBrush); app->setProperty("PushButton_DefaultParameters_CheckDisableBrush", pb.data()->pushButtonCheckDisableBrush);
app->setProperty("PushButton_DefaultParameters_DefaultPen", pb.data()->pushButtonDefaultPen ); app->setProperty("PushButton_DefaultParameters_DefaultPen" , pb.data()->pushButtonDefaultPen );
app->setProperty("PushButton_DefaultParameters_ClickPen", pb.data()->pushButtonClickPen ); app->setProperty("PushButton_DefaultParameters_ClickPen" , pb.data()->pushButtonClickPen );
app->setProperty("PushButton_DefaultParameters_HoverPen", pb.data()->pushButtonHoverPen ); app->setProperty("PushButton_DefaultParameters_HoverPen" , pb.data()->pushButtonHoverPen );
app->setProperty("PushButton_DefaultParameters_DisablePen", pb.data()->pushButtonDisablePen ); app->setProperty("PushButton_DefaultParameters_DisablePen" , pb.data()->pushButtonDisablePen );
app->setProperty("PushButton_DefaultParameters_CheckPen", pb.data()->pushButtonCheckPen ); app->setProperty("PushButton_DefaultParameters_CheckPen" , pb.data()->pushButtonCheckPen );
app->setProperty("PushButton_DefaultParameters_CheckHoverPen", pb.data()->pushButtonCheckHoverPen ); app->setProperty("PushButton_DefaultParameters_CheckHoverPen" , pb.data()->pushButtonCheckHoverPen );
app->setProperty("PushButton_DefaultParameters_CheckClickPen", pb.data()->pushButtonCheckClickPen ); app->setProperty("PushButton_DefaultParameters_CheckClickPen" , pb.data()->pushButtonCheckClickPen );
app->setProperty("PushButton_DefaultParameters_CheckDisablePen", pb.data()->pushButtonCheckDisablePen ); app->setProperty("PushButton_DefaultParameters_CheckDisablePen" , pb.data()->pushButtonCheckDisablePen );
app->setProperty("PushButton_DefaultParameters_FocusPen", pb.data()->pushButtonFocusPen ); app->setProperty("PushButton_DefaultParameters_FocusPen" , pb.data()->pushButtonFocusPen );
sp->getDefaultConfigPushButtonLabelParameters(pb.data(), isUseDarkPalette()); sp->getDefaultConfigPushButtonLabelParameters(pb.data(), isUseDarkPalette());
app->setProperty("PushButton_DefaultParameters_TextDefaultColor", pb.data()->textDefaultColor ); app->setProperty("PushButton_DefaultParameters_TextDefaultColor" , pb.data()->textDefaultColor );
app->setProperty("PushButton_DefaultParameters_TextHoverColor", pb.data()->textHoverColor ); app->setProperty("PushButton_DefaultParameters_TextHoverColor" , pb.data()->textHoverColor );
//ToolButton //ToolButton
QSharedPointer<ConfigToolButtonParameters> tb(new ConfigToolButtonParameters); QSharedPointer<ConfigToolButtonParameters> tb(new ConfigToolButtonParameters);
sp->getDefaultConfigToolButtonPanelParameters(tb.data(), isUseDarkPalette()); sp->getDefaultConfigToolButtonPanelParameters(tb.data(), isUseDarkPalette());
app->setProperty("ToolButton_DefaultParameters_radius", tb.data()->radius); app->setProperty("ToolButton_DefaultParameters_Radius" , tb.data()->radius);
app->setProperty("ToolButton_DefaultParameters_DefaultBrush", tb.data()->toolButtonDefaultBrush ); app->setProperty("ToolButton_DefaultParameters_DefaultBrush" , tb.data()->toolButtonDefaultBrush );
app->setProperty("ToolButton_DefaultParameters_ClickBrush", tb.data()->toolButtonClickBrush ); app->setProperty("ToolButton_DefaultParameters_ClickBrush" , tb.data()->toolButtonClickBrush );
app->setProperty("ToolButton_DefaultParameters_HoverBrush", tb.data()->toolButtonHoverBrush ); app->setProperty("ToolButton_DefaultParameters_HoverBrush" , tb.data()->toolButtonHoverBrush );
app->setProperty("ToolButton_DefaultParameters_DisableBrush", tb.data()->toolButtonDisableBrush ); app->setProperty("ToolButton_DefaultParameters_DisableBrush" , tb.data()->toolButtonDisableBrush );
app->setProperty("ToolButton_DefaultParameters_CheckBrush", tb.data()->toolButtonCheckBrush ); app->setProperty("ToolButton_DefaultParameters_CheckBrush" , tb.data()->toolButtonCheckBrush );
app->setProperty("ToolButton_DefaultParameters_CheckHoverBrush", tb.data()->toolButtonCheckHoverBrush ); app->setProperty("ToolButton_DefaultParameters_CheckHoverBrush" , tb.data()->toolButtonCheckHoverBrush );
app->setProperty("ToolButton_DefaultParameters_CheckClickBrush", tb.data()->toolButtonCheckClickBrush ); app->setProperty("ToolButton_DefaultParameters_CheckClickBrush" , tb.data()->toolButtonCheckClickBrush );
app->setProperty("ToolButton_DefaultParameters_CheckDisableBrush", tb.data()->toolButtonCheckDisableBrush); app->setProperty("ToolButton_DefaultParameters_CheckDisableBrush", tb.data()->toolButtonCheckDisableBrush);
app->setProperty("ToolButton_DefaultParameters_DefaultPen", tb.data()->toolButtonDefaultPen ); app->setProperty("ToolButton_DefaultParameters_DefaultPen" , tb.data()->toolButtonDefaultPen );
app->setProperty("ToolButton_DefaultParameters_ClickPen", tb.data()->toolButtonClickPen ); app->setProperty("ToolButton_DefaultParameters_ClickPen" , tb.data()->toolButtonClickPen );
app->setProperty("ToolButton_DefaultParameters_HoverPen", tb.data()->toolButtonHoverPen ); app->setProperty("ToolButton_DefaultParameters_HoverPen" , tb.data()->toolButtonHoverPen );
app->setProperty("ToolButton_DefaultParameters_DisablePen", tb.data()->toolButtonDisablePen ); app->setProperty("ToolButton_DefaultParameters_DisablePen" , tb.data()->toolButtonDisablePen );
app->setProperty("ToolButton_DefaultParameters_CheckPen", tb.data()->toolButtonCheckPen ); app->setProperty("ToolButton_DefaultParameters_CheckPen" , tb.data()->toolButtonCheckPen );
app->setProperty("ToolButton_DefaultParameters_CheckHoverPen", tb.data()->toolButtonCheckHoverPen ); app->setProperty("ToolButton_DefaultParameters_CheckHoverPen" , tb.data()->toolButtonCheckHoverPen );
app->setProperty("ToolButton_DefaultParameters_CheckClickPen", tb.data()->toolButtonCheckClickPen ); app->setProperty("ToolButton_DefaultParameters_CheckClickPen" , tb.data()->toolButtonCheckClickPen );
app->setProperty("ToolButton_DefaultParameters_CheckDisablePen", tb.data()->toolButtonCheckDisablePen ); app->setProperty("ToolButton_DefaultParameters_CheckDisablePen" , tb.data()->toolButtonCheckDisablePen );
app->setProperty("ToolButton_DefaultParameters_FocusPen", tb.data()->toolButtonFocusPen ); app->setProperty("ToolButton_DefaultParameters_FocusPen" , tb.data()->toolButtonFocusPen );
sp->getDefaultConfigToolButtonLabelParameters(tb.data(), isUseDarkPalette()); sp->getDefaultConfigToolButtonLabelParameters(tb.data(), isUseDarkPalette());
app->setProperty("ToolButton_DefaultParameters_TextDefaultColor", tb.data()->textDefaultColor ); app->setProperty("ToolButton_DefaultParameters_TextDefaultColor" , tb.data()->textDefaultColor );
app->setProperty("ToolButton_DefaultParameters_TextHoverColor", tb.data()->textHoverColor ); app->setProperty("ToolButton_DefaultParameters_TextHoverColor" , tb.data()->textHoverColor );
//lineedit //lineedit
QSharedPointer<ConfigLineEditParameters> lineedit(new ConfigLineEditParameters); QSharedPointer<ConfigLineEditParameters> lineedit(new ConfigLineEditParameters);
sp->getDefaultConfigLineEditParameters(lineedit.data(), isUseDarkPalette()); sp->getDefaultConfigLineEditParameters(lineedit.data(), isUseDarkPalette());
app->setProperty("Lineedit_DefaultParameters_radius", lineedit.data()->radius ); app->setProperty("Lineedit_DefaultParameters_Radius", lineedit.data()->radius );
app->setProperty("Lineedit_DefaultParameters_DefaultBrush", lineedit.data()->lineEditDefaultBrush); app->setProperty("Lineedit_DefaultParameters_DefaultBrush", lineedit.data()->lineEditDefaultBrush);
app->setProperty("Lineedit_DefaultParameters_HoverBrush", lineedit.data()->lineEditHoverBrush ); app->setProperty("Lineedit_DefaultParameters_HoverBrush", lineedit.data()->lineEditHoverBrush );
app->setProperty("Lineedit_DefaultParameters_FocusBrush", lineedit.data()->lineEditFocusBrush ); app->setProperty("Lineedit_DefaultParameters_FocusBrush", lineedit.data()->lineEditFocusBrush );
@ -7947,266 +7947,266 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//spinbox //spinbox
QSharedPointer<ConfigSpinBoxParameters> spinbox(new ConfigSpinBoxParameters); QSharedPointer<ConfigSpinBoxParameters> spinbox(new ConfigSpinBoxParameters);
sp->getDefaultConfigSpinBoxParameters(spinbox.data(), isUseDarkPalette()); sp->getDefaultConfigSpinBoxParameters(spinbox.data(), isUseDarkPalette());
app->setProperty("SpinBox_DefaultParameters_radius", spinbox.data()->radius ); app->setProperty("SpinBox_DefaultParameters_Radius" ,spinbox.data()->radius );
app->setProperty("SpinBox_DefaultParameters_DefaultBrush", spinbox.data()->spinBoxDefaultBrush ); app->setProperty("SpinBox_DefaultParameters_DefaultBrush" ,spinbox.data()->spinBoxDefaultBrush );
app->setProperty("SpinBox_DefaultParameters_HoverBrush", spinbox.data()->spinBoxHoverBrush ); app->setProperty("SpinBox_DefaultParameters_HoverBrush" ,spinbox.data()->spinBoxHoverBrush );
app->setProperty("SpinBox_DefaultParameters_FocusBrush", spinbox.data()->spinBoxFocusBrush ); app->setProperty("SpinBox_DefaultParameters_FocusBrush" ,spinbox.data()->spinBoxFocusBrush );
app->setProperty("SpinBox_DefaultParameters_DisableBrush", spinbox.data()->spinBoxDisableBrush ); app->setProperty("SpinBox_DefaultParameters_DisableBrush" ,spinbox.data()->spinBoxDisableBrush );
app->setProperty("SpinBox_DefaultParameters_DefaultPen", spinbox.data()->spinBoxDefaultPen ); app->setProperty("SpinBox_DefaultParameters_DefaultPen" ,spinbox.data()->spinBoxDefaultPen );
app->setProperty("SpinBox_DefaultParameters_HoverPen", spinbox.data()->spinBoxHoverPen ); app->setProperty("SpinBox_DefaultParameters_HoverPen" ,spinbox.data()->spinBoxHoverPen );
app->setProperty("SpinBox_DefaultParameters_FocusPen", spinbox.data()->spinBoxFocusPen ); app->setProperty("SpinBox_DefaultParameters_FocusPen" ,spinbox.data()->spinBoxFocusPen );
app->setProperty("SpinBox_DefaultParameters_DisablePen", spinbox.data()->spinBoxDisablePen ); app->setProperty("SpinBox_DefaultParameters_DisablePen" ,spinbox.data()->spinBoxDisablePen );
app->setProperty("SpinBox_DefaultParameters_UpDefaultBrush", spinbox.data()->spinBoxUpDefaultBrush ); app->setProperty("SpinBox_DefaultParameters_UpDefaultBrush" ,spinbox.data()->spinBoxUpDefaultBrush );
app->setProperty("SpinBox_DefaultParameters_UpHoverBrush", spinbox.data()->spinBoxUpHoverBrush ); app->setProperty("SpinBox_DefaultParameters_UpHoverBrush" ,spinbox.data()->spinBoxUpHoverBrush );
app->setProperty("SpinBox_DefaultParameters_UpFocusHoverBrush", spinbox.data()->spinBoxUpFocusHoverBrush ); app->setProperty("SpinBox_DefaultParameters_UpFocusHoverBrush" ,spinbox.data()->spinBoxUpFocusHoverBrush );
app->setProperty("SpinBox_DefaultParameters_UpClickBrush", spinbox.data()->spinBoxUpClickBrush ); app->setProperty("SpinBox_DefaultParameters_UpClickBrush" ,spinbox.data()->spinBoxUpClickBrush );
app->setProperty("SpinBox_DefaultParameters_DownHoverBrush", spinbox.data()->spinBoxDownHoverBrush ); app->setProperty("SpinBox_DefaultParameters_DownHoverBrush" ,spinbox.data()->spinBoxDownHoverBrush );
app->setProperty("SpinBox_DefaultParameters_DownFocusHoverBrush", spinbox.data()->spinBoxDownFocusHoverBrush); app->setProperty("SpinBox_DefaultParameters_DownFocusHoverBrush" ,spinbox.data()->spinBoxDownFocusHoverBrush);
app->setProperty("SpinBox_DefaultParameters_DownClickBrush", spinbox.data()->spinBoxDownClickBrush ); app->setProperty("SpinBox_DefaultParameters_DownClickBrush" ,spinbox.data()->spinBoxDownClickBrush );
app->setProperty("SpinBox_DefaultParameters_DownDefaultBrush", spinbox.data()->spinBoxDownDefaultBrush ); app->setProperty("SpinBox_DefaultParameters_DownDefaultBrush" ,spinbox.data()->spinBoxDownDefaultBrush );
app->setProperty("SpinBox_DefaultParameters_UpDefaultPen", spinbox.data()->spinBoxUpDefaultPen ); app->setProperty("SpinBox_DefaultParameters_UpDefaultPen" ,spinbox.data()->spinBoxUpDefaultPen );
app->setProperty("SpinBox_DefaultParameters_UpHoverPen", spinbox.data()->spinBoxUpHoverPen ); app->setProperty("SpinBox_DefaultParameters_UpHoverPen" ,spinbox.data()->spinBoxUpHoverPen );
app->setProperty("SpinBox_DefaultParameters_UpFocusHoverPen", spinbox.data()->spinBoxUpFocusHoverPen ); app->setProperty("SpinBox_DefaultParameters_UpFocusHoverPen" ,spinbox.data()->spinBoxUpFocusHoverPen );
app->setProperty("SpinBox_DefaultParameters_UpClickPen", spinbox.data()->spinBoxUpClickPen ); app->setProperty("SpinBox_DefaultParameters_UpClickPen" ,spinbox.data()->spinBoxUpClickPen );
app->setProperty("SpinBox_DefaultParameters_UpDisablePen", spinbox.data()->spinBoxUpDisablePen ); app->setProperty("SpinBox_DefaultParameters_UpDisablePen" ,spinbox.data()->spinBoxUpDisablePen );
app->setProperty("SpinBox_DefaultParameters_DownDefaultPen", spinbox.data()->spinBoxDownDefaultPen ); app->setProperty("SpinBox_DefaultParameters_DownDefaultPen" ,spinbox.data()->spinBoxDownDefaultPen );
app->setProperty("SpinBox_DefaultParameters_DownHoverPen", spinbox.data()->spinBoxDownHoverPen ); app->setProperty("SpinBox_DefaultParameters_DownHoverPen" ,spinbox.data()->spinBoxDownHoverPen );
app->setProperty("SpinBox_DefaultParameters_DownFocusHoverPen", spinbox.data()->spinBoxDownFocusHoverPen ); app->setProperty("SpinBox_DefaultParameters_DownFocusHoverPen" ,spinbox.data()->spinBoxDownFocusHoverPen );
app->setProperty("SpinBox_DefaultParameters_DownClickPen ", spinbox.data()->spinBoxDownClickPen ); app->setProperty("SpinBox_DefaultParameters_DownClickPen " ,spinbox.data()->spinBoxDownClickPen );
app->setProperty("SpinBox_DefaultParameters_DownDisablePen", spinbox.data()->spinBoxDownDisablePen ); app->setProperty("SpinBox_DefaultParameters_DownDisablePen" ,spinbox.data()->spinBoxDownDisablePen );
app->setProperty("SpinBox_DefaultParameters_UpIconHightPixMap", spinbox.data()->spinBoxUpIconHightPixMap ); app->setProperty("SpinBox_DefaultParameters_UpIconHightPixMap" ,spinbox.data()->spinBoxUpIconHightPixMap );
app->setProperty("SpinBox_DefaultParameters_DownIconHightPixMap", spinbox.data()->spinBoxDownIconHightPixMap); app->setProperty("SpinBox_DefaultParameters_DownIconHightPixMap" ,spinbox.data()->spinBoxDownIconHightPixMap);
//combobox //combobox
QSharedPointer<ConfigComboBoxParameters> comboBox(new ConfigComboBoxParameters); QSharedPointer<ConfigComboBoxParameters> comboBox(new ConfigComboBoxParameters);
sp->getDefaultConfigComboBoxParameters(comboBox.data(), isUseDarkPalette()); sp->getDefaultConfigComboBoxParameters(comboBox.data(), isUseDarkPalette());
app->setProperty("ComboBox_DefaultParameters_radius", comboBox.data()->radius ); app->setProperty("ComboBox_DefaultParameters_Radius" , comboBox.data()->radius );
app->setProperty("ComboBox_DefaultParameters_DefaultBrush", comboBox.data()->comboBoxDefaultBrush); app->setProperty("ComboBox_DefaultParameters_DefaultBrush", comboBox.data()->comboBoxDefaultBrush);
app->setProperty("ComboBox_DefaultParameters_HoverBrush", comboBox.data()->comboBoxHoverBrush ); app->setProperty("ComboBox_DefaultParameters_HoverBrush" , comboBox.data()->comboBoxHoverBrush );
app->setProperty("ComboBox_DefaultParameters_OnBrush", comboBox.data()->comboBoxOnBrush ); app->setProperty("ComboBox_DefaultParameters_OnBrush" , comboBox.data()->comboBoxOnBrush );
app->setProperty("ComboBox_DefaultParameters_EditBrush", comboBox.data()->comboBoxEditBrush ); app->setProperty("ComboBox_DefaultParameters_EditBrush" , comboBox.data()->comboBoxEditBrush );
app->setProperty("ComboBox_DefaultParameters_DisableBrush", comboBox.data()->comboBoxDisableBrush); app->setProperty("ComboBox_DefaultParameters_DisableBrush", comboBox.data()->comboBoxDisableBrush);
app->setProperty("ComboBox_DefaultParameters_DefaultPen", comboBox.data()->comboBoxDefaultPen ); app->setProperty("ComboBox_DefaultParameters_DefaultPen" , comboBox.data()->comboBoxDefaultPen );
app->setProperty("ComboBox_DefaultParameters_HoverPen", comboBox.data()->comboBoxHoverPen ); app->setProperty("ComboBox_DefaultParameters_HoverPen" , comboBox.data()->comboBoxHoverPen );
app->setProperty("ComboBox_DefaultParameters_OnPen", comboBox.data()->comboBoxOnPen ); app->setProperty("ComboBox_DefaultParameters_OnPen" , comboBox.data()->comboBoxOnPen );
app->setProperty("ComboBox_DefaultParameters_EditPen", comboBox.data()->comboBoxEditPen ); app->setProperty("ComboBox_DefaultParameters_EditPen" , comboBox.data()->comboBoxEditPen );
app->setProperty("ComboBox_DefaultParameters_DisablePen", comboBox.data()->comboBoxDisablePen ); app->setProperty("ComboBox_DefaultParameters_DisablePen" , comboBox.data()->comboBoxDisablePen );
app->setProperty("ComboBox_DefaultParameters_FocusPen", comboBox.data()->comboBoxFocusPen ); app->setProperty("ComboBox_DefaultParameters_FocusPen" , comboBox.data()->comboBoxFocusPen );
//list //list
QSharedPointer<ConfigListParameters> list(new ConfigListParameters); QSharedPointer<ConfigListParameters> list(new ConfigListParameters);
sp->getDefaultConfigListParameters(list.data(), isUseDarkPalette()); sp->getDefaultConfigListParameters(list.data(), isUseDarkPalette());
app->setProperty("List_DefaultParameters_radius", list.data()->radius ); app->setProperty("List_DefaultParameters_Radius" , list.data()->radius );
app->setProperty("List_DefaultParameters_DefaultBrush", list.data()->listDefaultBrush ); app->setProperty("List_DefaultParameters_DefaultBrush" , list.data()->listDefaultBrush );
app->setProperty("List_DefaultParameters_HoverBrush", list.data()->listHoverBrush ); app->setProperty("List_DefaultParameters_HoverBrush" , list.data()->listHoverBrush );
app->setProperty("List_DefaultParameters_SelectBrush", list.data()->listSelectBrush ); app->setProperty("List_DefaultParameters_SelectBrush" , list.data()->listSelectBrush );
app->setProperty("List_DefaultParameters_DisableBrush", list.data()->listDisableBrush ); app->setProperty("List_DefaultParameters_DisableBrush" , list.data()->listDisableBrush );
app->setProperty("List_DefaultParameters_TextHoverPen", list.data()->listTextHoverPen ); app->setProperty("List_DefaultParameters_TextHoverPen" , list.data()->listTextHoverPen );
app->setProperty("List_DefaultParameters_TextSelectPen", list.data()->listTextSelectPen ); app->setProperty("List_DefaultParameters_TextSelectPen" , list.data()->listTextSelectPen );
app->setProperty("List_DefaultParameters_TextDisablePen", list.data()->listTextDisablePen); app->setProperty("List_DefaultParameters_TextDisablePen" , list.data()->listTextDisablePen);
app->setProperty("List_DefaultParameters_HoverPen", list.data()->listHoverPen ); app->setProperty("List_DefaultParameters_HoverPen" , list.data()->listHoverPen );
app->setProperty("List_DefaultParameters_SelectPen", list.data()->listSelectPen ); app->setProperty("List_DefaultParameters_SelectPen" , list.data()->listSelectPen );
app->setProperty("List_DefaultParameters_FocusPen", list.data()->listFocusPen ); app->setProperty("List_DefaultParameters_FocusPen" , list.data()->listFocusPen );
sp->getHighlightModeConfigListParameters(list.data(), isUseDarkPalette()); sp->getHighlightModeConfigListParameters(list.data(), isUseDarkPalette());
app->setProperty("List_HighlightMode_radius", list.data()->radius ); app->setProperty("List_HighlightMode_Radius" , list.data()->radius );
app->setProperty("List_HighlightMode_DefaultBrush", list.data()->listDefaultBrush ); app->setProperty("List_HighlightMode_DefaultBrush" , list.data()->listDefaultBrush );
app->setProperty("List_HighlightMode_HoverBrush", list.data()->listHoverBrush ); app->setProperty("List_HighlightMode_HoverBrush" , list.data()->listHoverBrush );
app->setProperty("List_HighlightMode_SelectBrush", list.data()->listSelectBrush ); app->setProperty("List_HighlightMode_SelectBrush" , list.data()->listSelectBrush );
app->setProperty("List_HighlightMode_DisableBrush", list.data()->listDisableBrush ); app->setProperty("List_HighlightMode_DisableBrush" , list.data()->listDisableBrush );
app->setProperty("List_HighlightMode_TextHoverPen", list.data()->listTextHoverPen ); app->setProperty("List_HighlightMode_TextHoverPen" , list.data()->listTextHoverPen );
app->setProperty("List_HighlightMode_TextSelectPen", list.data()->listTextSelectPen ); app->setProperty("List_HighlightMode_TextSelectPen" , list.data()->listTextSelectPen );
app->setProperty("List_HighlightMode_TextDisablePen", list.data()->listTextDisablePen); app->setProperty("List_HighlightMode_TextDisablePen", list.data()->listTextDisablePen);
app->setProperty("List_HighlightMode_HoverPen", list.data()->listHoverPen ); app->setProperty("List_HighlightMode_HoverPen" , list.data()->listHoverPen );
app->setProperty("List_HighlightMode_SelectPen", list.data()->listSelectPen ); app->setProperty("List_HighlightMode_SelectPen" , list.data()->listSelectPen );
app->setProperty("List_HighlightMode_FocusPen", list.data()->listFocusPen ); app->setProperty("List_HighlightMode_FocusPen" , list.data()->listFocusPen );
//tree //tree
QSharedPointer<ConfigTreeParameters> tree(new ConfigTreeParameters); QSharedPointer<ConfigTreeParameters> tree(new ConfigTreeParameters);
sp->getDefaultConfigTreeParameters(tree.data(), isUseDarkPalette()); sp->getDefaultConfigTreeParameters(tree.data(), isUseDarkPalette());
app->setProperty("Tree_DefaultParameters_radius", tree.data()->radius ); app->setProperty("Tree_DefaultParameters_Radius" , tree.data()->radius );
app->setProperty("Tree_DefaultParameters_DefaultBrush", tree.data()->treeDefaultBrush ); app->setProperty("Tree_DefaultParameters_DefaultBrush" , tree.data()->treeDefaultBrush );
app->setProperty("Tree_DefaultParameters_HoverBrush", tree.data()->treeHoverBrush ); app->setProperty("Tree_DefaultParameters_HoverBrush" , tree.data()->treeHoverBrush );
app->setProperty("Tree_DefaultParameters_SelectBrush", tree.data()->treeSelectBrush ); app->setProperty("Tree_DefaultParameters_SelectBrush" , tree.data()->treeSelectBrush );
app->setProperty("Tree_DefaultParameters_DisableBrush", tree.data()->treeDisableBrush ); app->setProperty("Tree_DefaultParameters_DisableBrush" , tree.data()->treeDisableBrush );
app->setProperty("Tree_DefaultParameters_BranchDefaultBrush", tree.data()->treeBranchDefaultBrush); app->setProperty("Tree_DefaultParameters_BranchDefaultBrush", tree.data()->treeBranchDefaultBrush);
app->setProperty("Tree_DefaultParameters_BranchHoverBrush", tree.data()->treeBranchHoverBrush ); app->setProperty("Tree_DefaultParameters_BranchHoverBrush" , tree.data()->treeBranchHoverBrush );
app->setProperty("Tree_DefaultParameters_BranchSelectBrush", tree.data()->treeBranchSelectBrush ); app->setProperty("Tree_DefaultParameters_BranchSelectBrush" , tree.data()->treeBranchSelectBrush );
app->setProperty("Tree_DefaultParameters_BranchDisableBrush", tree.data()->treeBranchDisableBrush); app->setProperty("Tree_DefaultParameters_BranchDisableBrush", tree.data()->treeBranchDisableBrush);
app->setProperty("Tree_DefaultParameters_HoverPen", tree.data()->treeHoverPen ); app->setProperty("Tree_DefaultParameters_HoverPen" , tree.data()->treeHoverPen );
app->setProperty("Tree_DefaultParameters_SelectPen", tree.data()->treeSelectPen ); app->setProperty("Tree_DefaultParameters_SelectPen" , tree.data()->treeSelectPen );
app->setProperty("Tree_DefaultParameters_FocusPen", tree.data()->treeFocusPen ); app->setProperty("Tree_DefaultParameters_FocusPen" , tree.data()->treeFocusPen );
app->setProperty("Tree_DefaultParameters_TextHoverPen", tree.data()->treeTextHoverPen ); app->setProperty("Tree_DefaultParameters_TextHoverPen" , tree.data()->treeTextHoverPen );
app->setProperty("Tree_DefaultParameters_TextSelectPen", tree.data()->treeTextSelectPen ); app->setProperty("Tree_DefaultParameters_TextSelectPen" , tree.data()->treeTextSelectPen );
app->setProperty("Tree_DefaultParameters_TextDisablePen", tree.data()->treeTextDisablePen ); app->setProperty("Tree_DefaultParameters_TextDisablePen" , tree.data()->treeTextDisablePen );
sp->getHighlightModeConfigTreeParameters(tree.data(), isUseDarkPalette()); sp->getHighlightModeConfigTreeParameters(tree.data(), isUseDarkPalette());
app->setProperty("Tree_HighlightMode_radius", tree.data()->radius ); app->setProperty("Tree_HighlightMode_Radius" , tree.data()->radius );
app->setProperty("Tree_HighlightMode_DefaultBrush", tree.data()->treeDefaultBrush ); app->setProperty("Tree_HighlightMode_DefaultBrush" , tree.data()->treeDefaultBrush );
app->setProperty("Tree_HighlightMode_HoverBrush", tree.data()->treeHoverBrush ); app->setProperty("Tree_HighlightMode_HoverBrush" , tree.data()->treeHoverBrush );
app->setProperty("Tree_HighlightMode_SelectBrush", tree.data()->treeSelectBrush ); app->setProperty("Tree_HighlightMode_SelectBrush" , tree.data()->treeSelectBrush );
app->setProperty("Tree_HighlightMode_DisableBrush", tree.data()->treeDisableBrush ); app->setProperty("Tree_HighlightMode_DisableBrush" , tree.data()->treeDisableBrush );
app->setProperty("Tree_HighlightMode_BranchDefaultBrush", tree.data()->treeBranchDefaultBrush); app->setProperty("Tree_HighlightMode_BranchDefaultBrush", tree.data()->treeBranchDefaultBrush);
app->setProperty("Tree_HighlightMode_BranchHoverBrush", tree.data()->treeBranchHoverBrush ); app->setProperty("Tree_HighlightMode_BranchHoverBrush" , tree.data()->treeBranchHoverBrush );
app->setProperty("Tree_HighlightMode_BranchSelectBrush", tree.data()->treeBranchSelectBrush ); app->setProperty("Tree_HighlightMode_BranchSelectBrush" , tree.data()->treeBranchSelectBrush );
app->setProperty("Tree_HighlightMode_BranchDisableBrush", tree.data()->treeBranchDisableBrush); app->setProperty("Tree_HighlightMode_BranchDisableBrush", tree.data()->treeBranchDisableBrush);
app->setProperty("Tree_HighlightMode_HoverPen", tree.data()->treeHoverPen ); app->setProperty("Tree_HighlightMode_HoverPen" , tree.data()->treeHoverPen );
app->setProperty("Tree_HighlightMode_SelectPen", tree.data()->treeSelectPen ); app->setProperty("Tree_HighlightMode_SelectPen" , tree.data()->treeSelectPen );
app->setProperty("Tree_HighlightMode_FocusPen", tree.data()->treeFocusPen ); app->setProperty("Tree_HighlightMode_FocusPen" , tree.data()->treeFocusPen );
app->setProperty("Tree_HighlightMode_TextHoverPen", tree.data()->treeTextHoverPen ); app->setProperty("Tree_HighlightMode_TextHoverPen" , tree.data()->treeTextHoverPen );
app->setProperty("Tree_HighlightMode_TextSelectPen", tree.data()->treeTextSelectPen ); app->setProperty("Tree_HighlightMode_TextSelectPen" , tree.data()->treeTextSelectPen );
app->setProperty("Tree_HighlightMode_TextDisablePen", tree.data()->treeTextDisablePen ); app->setProperty("Tree_HighlightMode_TextDisablePen" , tree.data()->treeTextDisablePen );
//table //table
QSharedPointer<ConfigTableParameters> table(new ConfigTableParameters); QSharedPointer<ConfigTableParameters> table(new ConfigTableParameters);
sp->getDefaultConfigTableParameters(table.data(), isUseDarkPalette()); sp->getDefaultConfigTableParameters(table.data(), isUseDarkPalette());
app->setProperty("Table_DefaultParameters_radius", table.data()->radius ); app->setProperty("Table_DefaultParameters_Radius" , table.data()->radius );
app->setProperty("Table_DefaultParameters_DefaultBrush", table.data()->tableDefaultBrush ); app->setProperty("Table_DefaultParameters_DefaultBrush" , table.data()->tableDefaultBrush );
app->setProperty("Table_DefaultParameters_HoverBrush", table.data()->tableHoverBrush ); app->setProperty("Table_DefaultParameters_HoverBrush" , table.data()->tableHoverBrush );
app->setProperty("Table_DefaultParameters_SelectBrush", table.data()->tableSelectBrush ); app->setProperty("Table_DefaultParameters_SelectBrush" , table.data()->tableSelectBrush );
app->setProperty("Table_DefaultParameters_DisableBrush", table.data()->tableDisableBrush ); app->setProperty("Table_DefaultParameters_DisableBrush" , table.data()->tableDisableBrush );
app->setProperty("Table_DefaultParameters_HoverPen", table.data()->tableHoverPen ); app->setProperty("Table_DefaultParameters_HoverPen" , table.data()->tableHoverPen );
app->setProperty("Table_DefaultParameters_SelectPen", table.data()->tableSelectPen ); app->setProperty("Table_DefaultParameters_SelectPen" , table.data()->tableSelectPen );
app->setProperty("Table_DefaultParameters_FocusPen", table.data()->tableFocusPen ); app->setProperty("Table_DefaultParameters_FocusPen" , table.data()->tableFocusPen );
app->setProperty("Table_DefaultParameters_TextHoverPen", table.data()->tableTextHoverPen ); app->setProperty("Table_DefaultParameters_TextHoverPen" , table.data()->tableTextHoverPen );
app->setProperty("Table_DefaultParameters_TextSelectPen", table.data()->tableTextSelectPen ); app->setProperty("Table_DefaultParameters_TextSelectPen" , table.data()->tableTextSelectPen );
app->setProperty("Table_DefaultParameters_TextDisablePen", table.data()->tableTextDisablePen); app->setProperty("Table_DefaultParameters_TextDisablePen", table.data()->tableTextDisablePen);
sp->getHighlightModeConfigTableParameters(table.data(), isUseDarkPalette()); sp->getHighlightModeConfigTableParameters(table.data(), isUseDarkPalette());
app->setProperty("Table_HighlightMode_radius", table.data()->radius ); app->setProperty("Table_HighlightMode_Radius" , table.data()->radius );
app->setProperty("Table_HighlightMode_DefaultBrush", table.data()->tableDefaultBrush ); app->setProperty("Table_HighlightMode_DefaultBrush" , table.data()->tableDefaultBrush );
app->setProperty("Table_HighlightMode_HoverBrush", table.data()->tableHoverBrush ); app->setProperty("Table_HighlightMode_HoverBrush" , table.data()->tableHoverBrush );
app->setProperty("Table_HighlightMode_SelectBrush", table.data()->tableSelectBrush ); app->setProperty("Table_HighlightMode_SelectBrush" , table.data()->tableSelectBrush );
app->setProperty("Table_HighlightMode_DisableBrush", table.data()->tableDisableBrush ); app->setProperty("Table_HighlightMode_DisableBrush" , table.data()->tableDisableBrush );
app->setProperty("Table_HighlightMode_HoverPen", table.data()->tableHoverPen ); app->setProperty("Table_HighlightMode_HoverPen" , table.data()->tableHoverPen );
app->setProperty("Table_HighlightMode_SelectPen", table.data()->tableSelectPen ); app->setProperty("Table_HighlightMode_SelectPen" , table.data()->tableSelectPen );
app->setProperty("Table_HighlightMode_FocusPen", table.data()->tableFocusPen ); app->setProperty("Table_HighlightMode_FocusPen" , table.data()->tableFocusPen );
app->setProperty("Table_HighlightMode_TextHoverPen", table.data()->tableTextHoverPen ); app->setProperty("Table_HighlightMode_TextHoverPen" , table.data()->tableTextHoverPen );
app->setProperty("Table_HighlightMode_TextSelectPen", table.data()->tableTextSelectPen ); app->setProperty("Table_HighlightMode_TextSelectPen" , table.data()->tableTextSelectPen );
app->setProperty("Table_HighlightMode_TextDisablePen", table.data()->tableTextDisablePen); app->setProperty("Table_HighlightMode_TextDisablePen", table.data()->tableTextDisablePen);
//checkbox //checkbox
QSharedPointer<ConfigCheckBoxParameters> checkBox(new ConfigCheckBoxParameters); QSharedPointer<ConfigCheckBoxParameters> checkBox(new ConfigCheckBoxParameters);
sp->getDefaultConfigCheckBoxParameters(checkBox.data(), isUseDarkPalette()); sp->getDefaultConfigCheckBoxParameters(checkBox.data(), isUseDarkPalette());
app->setProperty("CheckBox_DefaultParameters_radius", checkBox.data()->radius ); app->setProperty("CheckBox_DefaultParameters_Radius" , checkBox.data()->radius );
app->setProperty("CheckBox_DefaultParameters_DefaultPen", checkBox.data()->checkBoxDefaultPen ); app->setProperty("CheckBox_DefaultParameters_DefaultPen" , checkBox.data()->checkBoxDefaultPen );
app->setProperty("CheckBox_DefaultParameters_HoverPen", checkBox.data()->checkBoxHoverPen ); app->setProperty("CheckBox_DefaultParameters_HoverPen" , checkBox.data()->checkBoxHoverPen );
app->setProperty("CheckBox_DefaultParameters_ClickPen", checkBox.data()->checkBoxClickPen ); app->setProperty("CheckBox_DefaultParameters_ClickPen" , checkBox.data()->checkBoxClickPen );
app->setProperty("CheckBox_DefaultParameters_DisablePen", checkBox.data()->checkBoxDisablePen ); app->setProperty("CheckBox_DefaultParameters_DisablePen" , checkBox.data()->checkBoxDisablePen );
app->setProperty("CheckBox_DefaultParameters_OnDefaultPen", checkBox.data()->checkBoxOnDefaultPen ); app->setProperty("CheckBox_DefaultParameters_OnDefaultPen" , checkBox.data()->checkBoxOnDefaultPen );
app->setProperty("CheckBox_DefaultParameters_OnHoverPen", checkBox.data()->checkBoxOnHoverPen ); app->setProperty("CheckBox_DefaultParameters_OnHoverPen" , checkBox.data()->checkBoxOnHoverPen );
app->setProperty("CheckBox_DefaultParameters_OnClickPen", checkBox.data()->checkBoxOnClickPen ); app->setProperty("CheckBox_DefaultParameters_OnClickPen" , checkBox.data()->checkBoxOnClickPen );
app->setProperty("CheckBox_DefaultParameters_ContentPen", checkBox.data()->checkBoxContentPen ); app->setProperty("CheckBox_DefaultParameters_ContentPen" , checkBox.data()->checkBoxContentPen );
app->setProperty("CheckBox_DefaultParameters_DefaultBrush", checkBox.data()->checkBoxDefaultBrush ); app->setProperty("CheckBox_DefaultParameters_DefaultBrush" , checkBox.data()->checkBoxDefaultBrush );
app->setProperty("CheckBox_DefaultParameters_HoverBrush", checkBox.data()->checkBoxHoverBrush ); app->setProperty("CheckBox_DefaultParameters_HoverBrush" , checkBox.data()->checkBoxHoverBrush );
app->setProperty("CheckBox_DefaultParameters_ClickBrush", checkBox.data()->checkBoxClickBrush ); app->setProperty("CheckBox_DefaultParameters_ClickBrush" , checkBox.data()->checkBoxClickBrush );
app->setProperty("CheckBox_DefaultParameters_DisableBrush", checkBox.data()->checkBoxDisableBrush ); app->setProperty("CheckBox_DefaultParameters_DisableBrush" , checkBox.data()->checkBoxDisableBrush );
app->setProperty("CheckBox_DefaultParameters_OnDefaultBrush", checkBox.data()->checkBoxOnDefaultBrush ); app->setProperty("CheckBox_DefaultParameters_OnDefaultBrush" , checkBox.data()->checkBoxOnDefaultBrush );
app->setProperty("CheckBox_DefaultParameters_OnHoverBrush", checkBox.data()->checkBoxOnHoverBrush ); app->setProperty("CheckBox_DefaultParameters_OnHoverBrush" , checkBox.data()->checkBoxOnHoverBrush );
app->setProperty("CheckBox_DefaultParameters_OnClickBrush", checkBox.data()->checkBoxOnClickBrush ); app->setProperty("CheckBox_DefaultParameters_OnClickBrush" , checkBox.data()->checkBoxOnClickBrush );
app->setProperty("CheckBox_DefaultParameters_PathBrush", checkBox.data()->checkBoxPathBrush ); app->setProperty("CheckBox_DefaultParameters_PathBrush" , checkBox.data()->checkBoxPathBrush );
app->setProperty("CheckBox_DefaultParameters_PathDisableBrush", checkBox.data()->checkBoxPathDisableBrush); app->setProperty("CheckBox_DefaultParameters_PathDisableBrush", checkBox.data()->checkBoxPathDisableBrush);
//radiobutton //radiobutton
QSharedPointer<ConfigRadioButtonParameters> radiobutton(new ConfigRadioButtonParameters); QSharedPointer<ConfigRadioButtonParameters> radiobutton(new ConfigRadioButtonParameters);
sp->getDefaultConfigRadioButtonParameters(radiobutton.data(), isUseDarkPalette()); sp->getDefaultConfigRadioButtonParameters(radiobutton.data(), isUseDarkPalette());
app->setProperty("RadioButton_DefaultParameters_radius", radiobutton.data()->radius ); app->setProperty("RadioButton_DefaultParameters_Radius" , radiobutton.data()->radius );
app->setProperty("RadioButton_DefaultParameters_DefaultPen", radiobutton.data()->radioButtonDefaultPen ); app->setProperty("RadioButton_DefaultParameters_DefaultPen" , radiobutton.data()->radioButtonDefaultPen );
app->setProperty("RadioButton_DefaultParameters_HoverPen", radiobutton.data()->radioButtonHoverPen ); app->setProperty("RadioButton_DefaultParameters_HoverPen" , radiobutton.data()->radioButtonHoverPen );
app->setProperty("RadioButton_DefaultParameters_ClickPen", radiobutton.data()->radioButtonClickPen ); app->setProperty("RadioButton_DefaultParameters_ClickPen" , radiobutton.data()->radioButtonClickPen );
app->setProperty("RadioButton_DefaultParameters_DisablePen", radiobutton.data()->radioButtonDisablePen ); app->setProperty("RadioButton_DefaultParameters_DisablePen" , radiobutton.data()->radioButtonDisablePen );
app->setProperty("RadioButton_DefaultParameters_OnDefaultPen", radiobutton.data()->radioButtonOnDefaultPen ); app->setProperty("RadioButton_DefaultParameters_OnDefaultPen" , radiobutton.data()->radioButtonOnDefaultPen );
app->setProperty("RadioButton_DefaultParameters_OnHoverPen", radiobutton.data()->radioButtonOnHoverPen ); app->setProperty("RadioButton_DefaultParameters_OnHoverPen" , radiobutton.data()->radioButtonOnHoverPen );
app->setProperty("RadioButton_DefaultParameters_OnClickPen", radiobutton.data()->radioButtonOnClickPen ); app->setProperty("RadioButton_DefaultParameters_OnClickPen" , radiobutton.data()->radioButtonOnClickPen );
app->setProperty("RadioButton_DefaultParameters_DefaultBrush", radiobutton.data()->radioButtonDefaultBrush ); app->setProperty("RadioButton_DefaultParameters_DefaultBrush" , radiobutton.data()->radioButtonDefaultBrush );
app->setProperty("RadioButton_DefaultParameters_HoverBrush", radiobutton.data()->radioButtonHoverBrush ); app->setProperty("RadioButton_DefaultParameters_HoverBrush" , radiobutton.data()->radioButtonHoverBrush );
app->setProperty("RadioButton_DefaultParameters_ClickBrush", radiobutton.data()->radioButtonClickBrush ); app->setProperty("RadioButton_DefaultParameters_ClickBrush" , radiobutton.data()->radioButtonClickBrush );
app->setProperty("RadioButton_DefaultParameters_DisableBrush", radiobutton.data()->radioButtonDisableBrush ); app->setProperty("RadioButton_DefaultParameters_DisableBrush" , radiobutton.data()->radioButtonDisableBrush );
app->setProperty("RadioButton_DefaultParameters_OnDefaultBrush", radiobutton.data()->radioButtonOnDefaultBrush ); app->setProperty("RadioButton_DefaultParameters_OnDefaultBrush" , radiobutton.data()->radioButtonOnDefaultBrush );
app->setProperty("RadioButton_DefaultParameters_OnHoverBrush", radiobutton.data()->radioButtonOnHoverBrush ); app->setProperty("RadioButton_DefaultParameters_OnHoverBrush" , radiobutton.data()->radioButtonOnHoverBrush );
app->setProperty("RadioButton_DefaultParameters_OnClickBrush", radiobutton.data()->radioButtonOnClickBrush ); app->setProperty("RadioButton_DefaultParameters_OnClickBrush" , radiobutton.data()->radioButtonOnClickBrush );
app->setProperty("RadioButton_DefaultParameters_ChildrenOnDefaultBrush", radiobutton.data()->radioButtonChildrenOnDefaultBrush); app->setProperty("RadioButton_DefaultParameters_ChildrenOnDefaultBrush", radiobutton.data()->radioButtonChildrenOnDefaultBrush);
app->setProperty("RadioButton_DefaultParameters_ChildrenOnHoverBrush", radiobutton.data()->radioButtonChildrenOnHoverBrush ); app->setProperty("RadioButton_DefaultParameters_ChildrenOnHoverBrush" , radiobutton.data()->radioButtonChildrenOnHoverBrush );
app->setProperty("RadioButton_DefaultParameters_ChildrenOnClickBrush ", radiobutton.data()->radioButtonChildrenOnClickBrush ); app->setProperty("RadioButton_DefaultParameters_ChildrenOnClickBrush ", radiobutton.data()->radioButtonChildrenOnClickBrush );
app->setProperty("RadioButton_DefaultParameters_ChildrenOnDisableBrush", radiobutton.data()->radioButtonChildrenOnDisableBrush); app->setProperty("RadioButton_DefaultParameters_ChildrenOnDisableBrush", radiobutton.data()->radioButtonChildrenOnDisableBrush);
//slider //slider
QSharedPointer<ConfigSliderParameters> slider(new ConfigSliderParameters); QSharedPointer<ConfigSliderParameters> slider(new ConfigSliderParameters);
sp->getDefaultSliderParameters(slider.data(), isUseDarkPalette()); sp->getDefaultSliderParameters(slider.data(), isUseDarkPalette());
app->setProperty("Slider_DefaultParameters_radius", slider.data()->radius ); app->setProperty("Slider_DefaultParameters_Radius" , slider.data()->radius );
app->setProperty("Slider_DefaultParameters_GrooveRadius", slider.data()->sliderGrooveRadius ); app->setProperty("Slider_DefaultParameters_GrooveRadius" , slider.data()->sliderGrooveRadius );
app->setProperty("Slider_DefaultParameters_HandleDefaultBrush", slider.data()->sliderHandleDefaultBrush ); app->setProperty("Slider_DefaultParameters_HandleDefaultBrush" , slider.data()->sliderHandleDefaultBrush );
app->setProperty("Slider_DefaultParameters_HandleHoverBrush", slider.data()->sliderHandleHoverBrush ); app->setProperty("Slider_DefaultParameters_HandleHoverBrush" , slider.data()->sliderHandleHoverBrush );
app->setProperty("Slider_DefaultParameters_HandleClickBrush", slider.data()->sliderHandleClickBrush ); app->setProperty("Slider_DefaultParameters_HandleClickBrush" , slider.data()->sliderHandleClickBrush );
app->setProperty("Slider_DefaultParameters_HandleDisableBrush", slider.data()->sliderHandleDisableBrush ); app->setProperty("Slider_DefaultParameters_HandleDisableBrush" , slider.data()->sliderHandleDisableBrush );
app->setProperty("Slider_DefaultParameters_GrooveValueDefaultBrush", slider.data()->sliderGrooveValueDefaultBrush ); app->setProperty("Slider_DefaultParameters_GrooveValueDefaultBrush" , slider.data()->sliderGrooveValueDefaultBrush );
app->setProperty("Slider_DefaultParameters_GrooveValueHoverBrush", slider.data()->sliderGrooveValueHoverBrush ); app->setProperty("Slider_DefaultParameters_GrooveValueHoverBrush" , slider.data()->sliderGrooveValueHoverBrush );
app->setProperty("Slider_DefaultParameters_GrooveValueDisableBrush", slider.data()->sliderGrooveValueDisableBrush ); app->setProperty("Slider_DefaultParameters_GrooveValueDisableBrush" , slider.data()->sliderGrooveValueDisableBrush );
app->setProperty("Slider_DefaultParameters_GrooveUnvalueDefaultBrush", slider.data()->sliderGrooveUnvalueDefaultBrush); app->setProperty("Slider_DefaultParameters_GrooveUnvalueDefaultBrush", slider.data()->sliderGrooveUnvalueDefaultBrush);
app->setProperty("Slider_DefaultParameters_GrooveUnvalueHoverBrush", slider.data()->sliderGrooveUnvalueHoverBrush ); app->setProperty("Slider_DefaultParameters_GrooveUnvalueHoverBrush" , slider.data()->sliderGrooveUnvalueHoverBrush );
app->setProperty("Slider_DefaultParameters_GrooveUnvalueDisableBrush", slider.data()->sliderGrooveUnvalueDisableBrush); app->setProperty("Slider_DefaultParameters_GrooveUnvalueDisableBrush", slider.data()->sliderGrooveUnvalueDisableBrush);
app->setProperty("Slider_DefaultParameters_HandleDefaultPen", slider.data()->sliderHandleDefaultPen ); app->setProperty("Slider_DefaultParameters_HandleDefaultPen" , slider.data()->sliderHandleDefaultPen );
app->setProperty("Slider_DefaultParameters_HandleHoverPen", slider.data()->sliderHandleHoverPen ); app->setProperty("Slider_DefaultParameters_HandleHoverPen" , slider.data()->sliderHandleHoverPen );
app->setProperty("Slider_DefaultParameters_HandleClickPen", slider.data()->sliderHandleClickPen ); app->setProperty("Slider_DefaultParameters_HandleClickPen" , slider.data()->sliderHandleClickPen );
app->setProperty("Slider_DefaultParameters_HandleDisablePen", slider.data()->sliderHandleDisablePen ); app->setProperty("Slider_DefaultParameters_HandleDisablePen" , slider.data()->sliderHandleDisablePen );
app->setProperty("Slider_DefaultParameters_GroovePen", slider.data()->sliderGroovePen ); app->setProperty("Slider_DefaultParameters_GroovePen" , slider.data()->sliderGroovePen );
app->setProperty("Slider_DefaultParameters_focusPen", slider.data()->focusPen ); app->setProperty("Slider_DefaultParameters_focusPen" , slider.data()->focusPen );
//progressabr //progressabr
QSharedPointer<ConfigProgressBarParameters> progressbar(new ConfigProgressBarParameters); QSharedPointer<ConfigProgressBarParameters> progressbar(new ConfigProgressBarParameters);
sp->getDefaultProgressBarParameters(progressbar.data(), isUseDarkPalette()); sp->getDefaultProgressBarParameters(progressbar.data(), isUseDarkPalette());
app->setProperty("ProgressBar_DefaultParameters_radius", progressbar.data()->radius ); app->setProperty("ProgressBar_DefaultParameters_Radius" , progressbar.data()->radius );
app->setProperty("ProgressBar_DefaultParameters_ContentPen", progressbar.data()->progressBarContentPen ); app->setProperty("ProgressBar_DefaultParameters_ContentPen" , progressbar.data()->progressBarContentPen );
app->setProperty("ProgressBar_DefaultParameters_GrooveDefaultPen", progressbar.data()->progressBarGrooveDefaultPen ); app->setProperty("ProgressBar_DefaultParameters_GrooveDefaultPen" , progressbar.data()->progressBarGrooveDefaultPen );
app->setProperty("ProgressBar_DefaultParameters_GrooveDisablePen", progressbar.data()->progressBarGrooveDisablePen ); app->setProperty("ProgressBar_DefaultParameters_GrooveDisablePen" , progressbar.data()->progressBarGrooveDisablePen );
app->setProperty("ProgressBar_DefaultParameters_ContentBrush", progressbar.data()->progressBarContentBrush ); app->setProperty("ProgressBar_DefaultParameters_ContentBrush" , progressbar.data()->progressBarContentBrush );
app->setProperty("ProgressBar_DefaultParameters_GrooveDefaultBrush", progressbar.data()->progressBarGrooveDefaultBrush ); app->setProperty("ProgressBar_DefaultParameters_GrooveDefaultBrush" , progressbar.data()->progressBarGrooveDefaultBrush );
app->setProperty("ProgressBar_DefaultParameters_GrooveDisableBrush", progressbar.data()->progressBarGrooveDisableBrush ); app->setProperty("ProgressBar_DefaultParameters_GrooveDisableBrush" , progressbar.data()->progressBarGrooveDisableBrush );
app->setProperty("ProgressBar_DefaultParameters_ContentHightColor", progressbar.data()->progressBarContentHightColor ); app->setProperty("ProgressBar_DefaultParameters_ContentHightColor" , progressbar.data()->progressBarContentHightColor );
app->setProperty("ProgressBar_DefaultParameters_ContentMidLightColor", progressbar.data()->progressBarContentMidLightColor); app->setProperty("ProgressBar_DefaultParameters_ContentMidLightColor", progressbar.data()->progressBarContentMidLightColor);
//scrollbar //scrollbar
QSharedPointer<ConfigScrollBarParameters> scrollbar(new ConfigScrollBarParameters); QSharedPointer<ConfigScrollBarParameters> scrollbar(new ConfigScrollBarParameters);
sp->getDefaultScrollBarParameters(scrollbar.data(), isUseDarkPalette()); sp->getDefaultScrollBarParameters(scrollbar.data(), isUseDarkPalette());
app->setProperty("ScrollBar_DefaultParameters_radius", scrollbar.data()->radius ); app->setProperty("ScrollBar_DefaultParameters_Radius" , scrollbar.data()->radius );
app->setProperty("ScrollBar_DefaultParameters_GrooveDefaultBrush", scrollbar.data()->scrollBarGrooveDefaultBrush ); app->setProperty("ScrollBar_DefaultParameters_GrooveDefaultBrush" , scrollbar.data()->scrollBarGrooveDefaultBrush );
app->setProperty("ScrollBar_DefaultParameters_GrooveInactiveBrush", scrollbar.data()->scrollBarGrooveInactiveBrush); app->setProperty("ScrollBar_DefaultParameters_GrooveInactiveBrush", scrollbar.data()->scrollBarGrooveInactiveBrush);
app->setProperty("ScrollBar_DefaultParameters_SliderDefaultBrush", scrollbar.data()->scrollBarSliderDefaultBrush ); app->setProperty("ScrollBar_DefaultParameters_SliderDefaultBrush" , scrollbar.data()->scrollBarSliderDefaultBrush );
app->setProperty("ScrollBar_DefaultParameters_SliderHoverBrush", scrollbar.data()->scrollBarSliderHoverBrush ); app->setProperty("ScrollBar_DefaultParameters_SliderHoverBrush" , scrollbar.data()->scrollBarSliderHoverBrush );
app->setProperty("ScrollBar_DefaultParameters_SliderClickBrush", scrollbar.data()->scrollBarSliderClickBrush ); app->setProperty("ScrollBar_DefaultParameters_SliderClickBrush" , scrollbar.data()->scrollBarSliderClickBrush );
app->setProperty("ScrollBar_DefaultParameters_SliderDisableBrush", scrollbar.data()->scrollBarSliderDisableBrush ); app->setProperty("ScrollBar_DefaultParameters_SliderDisableBrush" , scrollbar.data()->scrollBarSliderDisableBrush );
//tooltip //tooltip
QSharedPointer<ConfigToolTipParameters> tooltip(new ConfigToolTipParameters); QSharedPointer<ConfigToolTipParameters> tooltip(new ConfigToolTipParameters);
sp->getDefaultToolTipParameters(tooltip.data(), isUseDarkPalette()); sp->getDefaultToolTipParameters(tooltip.data(), isUseDarkPalette());
app->setProperty("ToolTip_DefaultParameters_radius", tooltip.data()->radius ); app->setProperty("ToolTip_DefaultParameters_Radius" , tooltip.data()->radius );
app->setProperty("ToolTip_DefaultParameters_BackgroundBrush", tooltip.data()->toolTipBackgroundBrush); app->setProperty("ToolTip_DefaultParameters_BackgroundBrush", tooltip.data()->toolTipBackgroundBrush);
app->setProperty("ToolTip_DefaultParameters_BackgroundPen", tooltip.data()->toolTipBackgroundPen ); app->setProperty("ToolTip_DefaultParameters_BackgroundPen" , tooltip.data()->toolTipBackgroundPen );
//tabwidget //tabwidget
QSharedPointer<ConfigTabWidgetParameters> tabwidget(new ConfigTabWidgetParameters); QSharedPointer<ConfigTabWidgetParameters> tabwidget(new ConfigTabWidgetParameters);
sp->getDefaultTabWidgetParameters(tabwidget.data(), isUseDarkPalette()); sp->getDefaultTabWidgetParameters(tabwidget.data(), isUseDarkPalette());
app->setProperty("TabWidget_DefaultParameters_radius", tabwidget.data()->radius ); app->setProperty("TabWidget_DefaultParameters_Radius" , tabwidget.data()->radius );
app->setProperty("TabWidget_DefaultParameters_tabWidgetBackgroundBrush", tabwidget.data()->tabWidgetBackgroundBrush); app->setProperty("TabWidget_DefaultParameters_tabWidgetBackgroundBrush", tabwidget.data()->tabWidgetBackgroundBrush);
app->setProperty("TabWidget_DefaultParameters_tabBarBackgroundBrush", tabwidget.data()->tabBarBackgroundBrush ); app->setProperty("TabWidget_DefaultParameters_tabBarBackgroundBrush" , tabwidget.data()->tabBarBackgroundBrush );
app->setProperty("TabWidget_DefaultParameters_tabBarDefaultBrush", tabwidget.data()->tabBarDefaultBrush ); app->setProperty("TabWidget_DefaultParameters_tabBarDefaultBrush" , tabwidget.data()->tabBarDefaultBrush );
app->setProperty("TabWidget_DefaultParameters_tabBarHoverBrush", tabwidget.data()->tabBarHoverBrush ); app->setProperty("TabWidget_DefaultParameters_tabBarHoverBrush" , tabwidget.data()->tabBarHoverBrush );
app->setProperty("TabWidget_DefaultParameters_tabBarClickBrush", tabwidget.data()->tabBarClickBrush ); app->setProperty("TabWidget_DefaultParameters_tabBarClickBrush" , tabwidget.data()->tabBarClickBrush );
app->setProperty("TabWidget_DefaultParameters_tabBarSelectBrush", tabwidget.data()->tabBarSelectBrush ); app->setProperty("TabWidget_DefaultParameters_tabBarSelectBrush" , tabwidget.data()->tabBarSelectBrush );
app->setProperty("TabWidget_DefaultParameters_tabBarDefaultPen", tabwidget.data()->tabBarDefaultPen ); app->setProperty("TabWidget_DefaultParameters_tabBarDefaultPen" , tabwidget.data()->tabBarDefaultPen );
app->setProperty("TabWidget_DefaultParameters_tabBarHoverPen", tabwidget.data()->tabBarHoverPen ); app->setProperty("TabWidget_DefaultParameters_tabBarHoverPen" , tabwidget.data()->tabBarHoverPen );
app->setProperty("TabWidget_DefaultParameters_tabBarClickPen", tabwidget.data()->tabBarClickPen ); app->setProperty("TabWidget_DefaultParameters_tabBarClickPen" , tabwidget.data()->tabBarClickPen );
app->setProperty("TabWidget_DefaultParameters_tabBarFocusPen", tabwidget.data()->tabBarFocusPen ); app->setProperty("TabWidget_DefaultParameters_tabBarFocusPen" , tabwidget.data()->tabBarFocusPen );
//menu //menu
QSharedPointer<ConfigMenuParameters> menu(new ConfigMenuParameters); QSharedPointer<ConfigMenuParameters> menu(new ConfigMenuParameters);
sp->getDefaultMenuParameters(menu.data(), isUseDarkPalette()); sp->getDefaultMenuParameters(menu.data(), isUseDarkPalette());
app->setProperty("Menu_DefaultParameters_frameRadius", menu.data()->frameRadius ); app->setProperty("Menu_DefaultParameters_frameRadius" , menu.data()->frameRadius );
app->setProperty("Menu_DefaultParameters_itemRadius", menu.data()->itemRadius ); app->setProperty("Menu_DefaultParameters_itemRadius" , menu.data()->itemRadius );
app->setProperty("Menu_DefaultParameters_menuBackgroundBrush", menu.data()->menuBackgroundBrush); app->setProperty("Menu_DefaultParameters_menuBackgroundBrush", menu.data()->menuBackgroundBrush);
app->setProperty("Menu_DefaultParameters_menuBackgroundPen", menu.data()->menuBackgroundPen ); app->setProperty("Menu_DefaultParameters_menuBackgroundPen" , menu.data()->menuBackgroundPen );
app->setProperty("Menu_DefaultParameters_menuItemSelectBrush", menu.data()->menuItemSelectBrush); app->setProperty("Menu_DefaultParameters_menuItemSelectBrush", menu.data()->menuItemSelectBrush);
app->setProperty("Menu_DefaultParameters_menuItemFocusPen", menu.data()->menuItemFocusPen ); app->setProperty("Menu_DefaultParameters_menuItemFocusPen" , menu.data()->menuItemFocusPen );
app->setProperty("Menu_DefaultParameters_menuTextHoverPen", menu.data()->menuTextHoverPen ); app->setProperty("Menu_DefaultParameters_menuTextHoverPen" , menu.data()->menuTextHoverPen );
} }