Commit Graph

6 Commits

Author SHA1 Message Date
Mitch Curtis 31f73a9c6b Convert manual tests to CMake
Pick-to: 6.1 6.0
Change-Id: Ia974de4a852b70a9b9fdc79a819229393758c9d7
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2021-02-25 11:14:11 +01:00
Volker Hilsheimer 153c0ee3c4 Fix more compiler warnings from deprecated application attributes
Also cleanup documentation, with the exception of the "High-DPI
Support in Qt Quick Controls" page, which needs to be either
removed or rewritten after some fact checking.

Change-Id: I3cdf1f8554f8f26627a9a5f17c2ee0038c933468
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2020-09-16 10:32:15 +02:00
Mitch Curtis d451cab0c8 Remove all version numbers from QML imports
As of Qt 6, the latest version will be used by default. This saves us a
lot of effort in terms of version bumps.

Task-number: QTBUG-82922
Change-Id: I74eba8185ec3ccc75bc293d4b2ea87d59e2d9928
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-08-26 11:46:00 +02:00
Jarek Kobus ab5fee7aa2 Use QList instead of QVector
Task-number: QTBUG-84469
Change-Id: I4991ab7ce8ba8d2522005b1b0a78f7b474c54419
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2020-07-09 14:45:43 +02:00
Richard Moe Gustavsen 6cdd4b5303 HeaderView: set implicitSize on the style items
By setting an implicit size, the user don't need to set a
width or height on a HeaderView himself, but it will
get the default size recommended by the style.

By doing it the way it's done in the patch we achieve the following:

1. A HeaderView will by default be resized to be the same size
    as the delegate.
2. If the application sets a size on HeaderView it that is larger
    than the implicit size of the delegate, the delegate
    will be resized to have the same size (effectively
    filling out the free space in the header).
3. If the size of HeaderView is smaller than the implicit
    size of the delegate, the delegate will simply be clipped.
    (effectivly saying that the implicitSize of the delegate is
    also it's minimum size). If this is not acceptable for the
    application, it will need to use a custom delegate.

Since a HeaderView delegate is a component and not an item, it
should not be a part of the sanity checks we do to avoid using
internal IDs. Hence we blacklist until we have a better way of
handling such cases.

Task-number: QTPM-1300
Change-Id: I30ca3e13ce5e1371b60f5c4ecf742a7d7e794a36
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2020-03-10 08:51:31 +01:00
Yulong Bai 0b607bfe14 Add HorizontalHeaderView and VerticalHeaderView
[ChangeLog][Controls] Add HorizontalHeaderView and VerticalHeaderView.
They are controls associated with TableView. Support flicking synchronization
Support default, fusion, imagine, material and universal delegate styles.

Fixes: QTPM-1300
Change-Id: Ie3f913dd616cda0d4e5a22a3d95baf71692370fe
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-02-11 06:44:57 +00:00