属性后的逗号对齐

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,7 +7881,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//pushbutton
QSharedPointer<ConfigPushButtonParameters> pb(new ConfigPushButtonParameters);
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_ClickBrush" , pb.data()->pushButtonClickBrush );
app->setProperty("PushButton_DefaultParameters_HoverBrush" , pb.data()->pushButtonHoverBrush );
@ -7908,7 +7908,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//ToolButton
QSharedPointer<ConfigToolButtonParameters> tb(new ConfigToolButtonParameters);
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_ClickBrush" , tb.data()->toolButtonClickBrush );
app->setProperty("ToolButton_DefaultParameters_HoverBrush" , tb.data()->toolButtonHoverBrush );
@ -7934,7 +7934,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//lineedit
QSharedPointer<ConfigLineEditParameters> lineedit(new ConfigLineEditParameters);
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_HoverBrush", lineedit.data()->lineEditHoverBrush );
app->setProperty("Lineedit_DefaultParameters_FocusBrush", lineedit.data()->lineEditFocusBrush );
@ -7947,7 +7947,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//spinbox
QSharedPointer<ConfigSpinBoxParameters> spinbox(new ConfigSpinBoxParameters);
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_HoverBrush" ,spinbox.data()->spinBoxHoverBrush );
app->setProperty("SpinBox_DefaultParameters_FocusBrush" ,spinbox.data()->spinBoxFocusBrush );
@ -7980,7 +7980,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//combobox
QSharedPointer<ConfigComboBoxParameters> comboBox(new ConfigComboBoxParameters);
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_HoverBrush" , comboBox.data()->comboBoxHoverBrush );
app->setProperty("ComboBox_DefaultParameters_OnBrush" , comboBox.data()->comboBoxOnBrush );
@ -7996,7 +7996,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//list
QSharedPointer<ConfigListParameters> list(new ConfigListParameters);
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_HoverBrush" , list.data()->listHoverBrush );
app->setProperty("List_DefaultParameters_SelectBrush" , list.data()->listSelectBrush );
@ -8009,7 +8009,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
app->setProperty("List_DefaultParameters_FocusPen" , list.data()->listFocusPen );
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_HoverBrush" , list.data()->listHoverBrush );
app->setProperty("List_HighlightMode_SelectBrush" , list.data()->listSelectBrush );
@ -8024,7 +8024,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//tree
QSharedPointer<ConfigTreeParameters> tree(new ConfigTreeParameters);
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_HoverBrush" , tree.data()->treeHoverBrush );
app->setProperty("Tree_DefaultParameters_SelectBrush" , tree.data()->treeSelectBrush );
@ -8041,7 +8041,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
app->setProperty("Tree_DefaultParameters_TextDisablePen" , tree.data()->treeTextDisablePen );
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_HoverBrush" , tree.data()->treeHoverBrush );
app->setProperty("Tree_HighlightMode_SelectBrush" , tree.data()->treeSelectBrush );
@ -8060,7 +8060,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//table
QSharedPointer<ConfigTableParameters> table(new ConfigTableParameters);
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_HoverBrush" , table.data()->tableHoverBrush );
app->setProperty("Table_DefaultParameters_SelectBrush" , table.data()->tableSelectBrush );
@ -8073,7 +8073,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
app->setProperty("Table_DefaultParameters_TextDisablePen", table.data()->tableTextDisablePen);
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_HoverBrush" , table.data()->tableHoverBrush );
app->setProperty("Table_HighlightMode_SelectBrush" , table.data()->tableSelectBrush );
@ -8089,7 +8089,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//checkbox
QSharedPointer<ConfigCheckBoxParameters> checkBox(new ConfigCheckBoxParameters);
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_HoverPen" , checkBox.data()->checkBoxHoverPen );
app->setProperty("CheckBox_DefaultParameters_ClickPen" , checkBox.data()->checkBoxClickPen );
@ -8111,7 +8111,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//radiobutton
QSharedPointer<ConfigRadioButtonParameters> radiobutton(new ConfigRadioButtonParameters);
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_HoverPen" , radiobutton.data()->radioButtonHoverPen );
app->setProperty("RadioButton_DefaultParameters_ClickPen" , radiobutton.data()->radioButtonClickPen );
@ -8134,7 +8134,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//slider
QSharedPointer<ConfigSliderParameters> slider(new ConfigSliderParameters);
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_HandleDefaultBrush" , slider.data()->sliderHandleDefaultBrush );
app->setProperty("Slider_DefaultParameters_HandleHoverBrush" , slider.data()->sliderHandleHoverBrush );
@ -8156,7 +8156,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//progressabr
QSharedPointer<ConfigProgressBarParameters> progressbar(new ConfigProgressBarParameters);
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_GrooveDefaultPen" , progressbar.data()->progressBarGrooveDefaultPen );
app->setProperty("ProgressBar_DefaultParameters_GrooveDisablePen" , progressbar.data()->progressBarGrooveDisablePen );
@ -8169,7 +8169,7 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//scrollbar
QSharedPointer<ConfigScrollBarParameters> scrollbar(new ConfigScrollBarParameters);
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_GrooveInactiveBrush", scrollbar.data()->scrollBarGrooveInactiveBrush);
app->setProperty("ScrollBar_DefaultParameters_SliderDefaultBrush" , scrollbar.data()->scrollBarSliderDefaultBrush );
@ -8180,14 +8180,14 @@ void UKUIConfigStyle::getDefaultControlParameters(QApplication *app)
//tooltip
QSharedPointer<ConfigToolTipParameters> tooltip(new ConfigToolTipParameters);
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_BackgroundPen" , tooltip.data()->toolTipBackgroundPen );
//tabwidget
QSharedPointer<ConfigTabWidgetParameters> tabwidget(new ConfigTabWidgetParameters);
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_tabBarBackgroundBrush" , tabwidget.data()->tabBarBackgroundBrush );
app->setProperty("TabWidget_DefaultParameters_tabBarDefaultBrush" , tabwidget.data()->tabBarDefaultBrush );