diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index 6669feaa34a1779a9d2458be10070eda692fa528..3f95ec19565703b43a21122d29831d0cd41ca5a5 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -160,6 +160,12 @@ ScrollView { */ property Component rowDelegate: __style ? __style.rowDelegate : null + /*! \qmlproperty color TableView::backgroundColor + + This property sets the background color of the viewport. + The default value is the base color of the SystemPalette. */ + property alias backgroundColor: colorRect.color + /*! This property defines a delegate to draw a header. */ property Component headerDelegate: __style ? __style.headerDelegate : null