diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index fad6ee47a47df4648e4c15588c60ecf62ad5c6b2..c021239181c0d550b71f1c015307e92a26e7be3c 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -123,6 +123,16 @@ ScrollView { The default value is \c true. */ property bool headerVisible: true + /*! \qmlproperty bool TableView::backgroundVisible + + This property determines if the background should be filled or not. + + The default value is \c true. + + \note The rowDelegate is not affected by this property + */ + property alias backgroundVisible: colorRect.visible + /*! This property defines a delegate to draw a specific cell. In the item delegate you have access to the following special properties: diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index 84f67b23cd5c44ca23b8e644ca9dce0819f98e35..fd715a36c21a02588f1f3831668ff011e52cab74 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -599,14 +599,13 @@ ScrollView { edit.undo(); } - /*! - \qmlproperty color TextArea::backgroundColor + /*! \qmlproperty bool TextArea::backgroundVisible - This property sets the background color of the viewport. + This property determines if the background should be filled or not. - The default value is the base color of the SystemPalette. + The default value is \c true. */ - property alias backgroundColor: colorRect.color + property alias backgroundVisible: colorRect.visible /*! \internal */ default property alias data: area.data