EResult 结果
示例与代码
结果页自定义标题与操作
结果
属性
属性说明取值与默认值
contentalias内容插槽;直接在组件内部声明 QML 子对象。
默认值
别名:actions.dataenabledbool是否允许交互;false 时控件禁用。
默认值
trueheightreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitHeighticonDelegateComponent自定义图标的 Component 插槽;null 使用默认内容。 委托上下文见本页示例。
默认值
nullstyleTypeint语义配色风格。
EStyle.DefaultEStyle.PrimaryEStyle.SuccessEStyle.InfoEStyle.WarningEStyle.Danger
默认值
EStyle.SuccesssubTitlestring副标题文字。
默认值
""subTitleDelegateComponent自定义副标题的 Component 插槽;null 使用默认内容。 委托上下文见本页示例。
默认值
nulltitlestring标题文字。
默认值
""titleDelegateComponent自定义标题的 Component 插槽;null 使用默认内容。 委托上下文见本页示例。
默认值
nullvisiblebool是否显示组件。
默认值
truewidthreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitWidthiconSourceint只读组件使用的图标。
EIcons.*
0(无图标)
默认值
由运行时计算