Actions
Feature #13787
openWTableView: Add getters for size of viewport
Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
06/19/2025
Due date:
% Done:
0%
Estimated time:
Description
We are porting a desktop application having wide tables. Single cell selection must work using arrow keys.
We have implemented this by handling signals keyWentDown
and selectionChanged
calling scrollTo
.
In order to enable implementing page-wise movement on press of Key::PageUp
/ Key::PageDown
, we need getters like
int countOfVisibleRows() const;
int countOfVisibleColumns() const;
(meaning entirely visible rows).
The necessary information "which cells are visible in the browser" is available in WTableView
, but inaccessible because all private
.
I.e. WTableView
itself needs to be modified.
No data to display
Actions