TableViewStyle QML Type | Qt Quick Controls 5.4

- Qt 5.4
- Qt Quick Controls
- QML Types
- TableViewStyle QML Type
- Qt 5.4.2 Reference Documentation

# TableViewStyle QML Type

Provides custom styling for TableView More...

Import Statement: | import QtQuick.Controls.Styles 1.3
Since: | Qt 5.1

- List of all members, including inherited members

## Properties

- activateItemOnSingleClick : bool
- alternateBackgroundColor : color
- backgroundColor : color
- control : TableView
- headerDelegate : Component
- highlightedTextColor : color
- itemDelegate : Component
- rowDelegate : Component
- textColor : color

## Detailed Description

Note: This class derives from ScrollViewStyle and supports all of the properties defined there.

## Property Documentation

activateItemOnSingleClick : bool

Activates items on single click.

alternateBackgroundColor : color

The alternate background color.

backgroundColor : color

The background color.

read-onlycontrol : TableView

The TableView this style is attached to.

headerDelegate : Component

Delegate for header. This delegate is described in TableView::headerDelegate

highlightedTextColor : color

The text highlight color, used within selections.

itemDelegate : Component

Delegate for item. This delegate is described in TableView::itemDelegate

rowDelegate : Component

Delegate for row. This delegate is described in TableView::rowDelegate

textColor : color

The text color.