Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

ThemeDialog

Defines style of Dialog items and inherited components. More...

Import Statement: import Felgo 4.0
Since: Felgo 3.3.0
Inherits:

QtObject

Properties

Detailed Description

This type is used in the global Theme object for the appearance of Dialog items and inherited components like InputDialog.

Property Documentation

backgroundColor : color

The background color of the dialog.

The default value matches Theme.colors.backgroundColor.


buttonTextBold : bool

Dispaly button text as bold.

The default value is false.


buttonTextColor : color

The color of the button (flat style, text only) of the dialog.

The default value is Theme.colors.tintColor.

See also ThemeDialog::buttonTextColorDisabled.


buttonTextColorDisabled : color

The color of the button (flat style, text only) of the dialog when disabled.

The default value is the same as set for ThemeDialog::dividerColor, which is Theme.colors.dividerColor.

See also ThemeDialog::buttonTextColor.


buttonTextSize : real

The text size of dialog buttons.

The default value is 22 on iOS, else 19.

Note: Set this property without wrapping it with sp(). If you use this property in your custom code, wrap it with sp().


buttonTextUpperCase : bool

Dispaly button text as uppercase.

The default value is true on Android, else false.


defaultContentPadding : real

The default padding used for the dialog layout, for example the title. You can use this property in your custom content to align it with the title.

The default value is 20.

Note: Set this property without wrapping it with dp(). If you use this property in your custom code, wrap it with dp().


dividerColor : color

The color used for the dividers. By default, dividers are only displayed on iOS.

The default value is Theme.colors.dividerColor.

See also ThemeDialog::dividerHeight.


dividerHeight : real

The height (size) of divers used in the dialog. By default, dividers are only displayed on iOS.

The default value is 1 on iOS, else 0.

See also ThemeDialog::dividerColor.


overlayColor : color

The color that fills the overlay background.

The default value is "#60000000".


radius : real

The radius of the dialog edges.

The default value is 6 on Android, else 3.

Note: Set this property without wrapping it with dp(). If you use this property in your custom code, wrap it with dp().


titleBold : bool

Display the title text bold.

This is by default true on iOS, else false.


titleColor : color

The title text color.

The default value matches Theme.colors.textColor.


titleDividerVisible : bool

Display a divider below the title on iOS.

The default value is false.


titleTextSize : real

The title text size.

The default value is 18.

Note: Set this property without wrapping it with sp(). If you use this property in your custom code, wrap it with sp().


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded