aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/spreadsheets/Spreadsheets/RowHeaderView.qml
Commit message (Collapse)AuthorAgeFilesLines
* QuickControls: Add vertical and horizontal header view delegatesMohammadHossein Qanbari2025-03-061-33/+25
| | | | | | | | | | | | | | | | | | | | | | Implement QQuickHeaderViewDelegate as the base class for header view delegates, introducing 'headerView' and 'orientation' properties. Separate previous delegate settings into HorizontalHeaderViewDelegate and VerticalHeaderViewDelegate components for Basic, Fusion, and Imagine styles. This change improves the modularity and reusability of header view delegates across different styles. It also allows for more consistent behavior and easier customization of header views. A test suite has been added to verify default property settings and ensure the new components work without warnings. [ChangeLog][QtQuickControls][HeaderView] Add dedicated delegate components for vertical and horizontal header views. Task-number: QTBUG-70326 Change-Id: I8831e77f6909bdae13c3a7262145ab156f63a59a Reviewed-by: Mitch Curtis <[email protected]>
* SpreadSheet: Use SpreadModel to invoke the required mapping functionsSanthosh Kumar2024-11-111-1/+1
| | | | | | | | | | | | The 'model' used when invoking mapColumn/mapRow during section reordering seems incorrect as the model here has been referred to as QHeaderProxyModel and not the SpreadModel. Updated the corresponding qml to refer to the correct model. Pick-to: 6.8 Change-Id: Ia8fe900eb0574319fd4c967b6f85cf8dd11bddd8 Reviewed-by: MohammadHossein Qanbari <[email protected]> Reviewed-by: Richard Moe Gustavsen <[email protected]>
* Spreadsheets Example: Separate HeaderViews and TapHandlers as typesMohammadHossein Qanbari2024-07-101-0/+191
The Main.qml file was growing larger due to modifications in header views. To prevent this, the header views have been separated into ColumnHeaderView and RowHeaderView QML module types. Similar to the header views, the tap handlers have been separated into a QML module type to maintain consistent behavior for header views. Additionally, the mouse tap handlers have been merged into a single tap handler to manage mouse events with different combinations of buttons and modifiers. Task-number: QTBUG-125767 Pick-to: 6.8 Change-Id: Ib465b8b631cb8fe2aeeaaea229e2c4985619d2e9 Reviewed-by: Santhosh Kumar <[email protected]>