forked from qt-creator/qt-creator
EffectComposer: Enable mouse wheel scroll for the uniforms view
Task-number: QDS-14246 Change-Id: I605a5ca5ee5e4763b897486183b46adbb2ca4e53 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -62,7 +62,7 @@ ColumnLayout {
|
|||||||
columnSpacing: -StudioTheme.Values.border
|
columnSpacing: -StudioTheme.Values.border
|
||||||
rowSpacing: -StudioTheme.Values.border
|
rowSpacing: -StudioTheme.Values.border
|
||||||
clip: true
|
clip: true
|
||||||
interactive: false
|
interactive: true
|
||||||
selectionMode: TableView.SingleSelection
|
selectionMode: TableView.SingleSelection
|
||||||
selectionBehavior: TableView.SelectRows
|
selectionBehavior: TableView.SelectRows
|
||||||
selectionModel: ItemSelectionModel {}
|
selectionModel: ItemSelectionModel {}
|
||||||
@@ -140,7 +140,7 @@ ColumnLayout {
|
|||||||
|
|
||||||
visible: !tableView.hideHorizontalScrollBar
|
visible: !tableView.hideHorizontalScrollBar
|
||||||
|
|
||||||
show: (hoverHandler.hovered || tableView.focus || tableView.adsFocus
|
show: (hoverHandler.hovered || tableView.focus
|
||||||
|| horizontalScrollBar.inUse || horizontalScrollBar.otherInUse)
|
|| horizontalScrollBar.inUse || horizontalScrollBar.otherInUse)
|
||||||
&& horizontalScrollBar.isNeeded
|
&& horizontalScrollBar.isNeeded
|
||||||
otherInUse: verticalScrollBar.inUse
|
otherInUse: verticalScrollBar.inUse
|
||||||
@@ -158,8 +158,8 @@ ColumnLayout {
|
|||||||
|
|
||||||
visible: !tableView.hideVerticalScrollBar
|
visible: !tableView.hideVerticalScrollBar
|
||||||
|
|
||||||
show: (hoverHandler.hovered || tableView.focus || tableView.adsFocus
|
show: (hoverHandler.hovered || tableView.focus
|
||||||
|| horizontalScrollBar.inUse || horizontalScrollBar.otherInUse)
|
|| verticalScrollBar.inUse || verticalScrollBar.otherInUse)
|
||||||
&& verticalScrollBar.isNeeded
|
&& verticalScrollBar.isNeeded
|
||||||
otherInUse: horizontalScrollBar.inUse
|
otherInUse: horizontalScrollBar.inUse
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user