Commit Graph

8 Commits

Author SHA1 Message Date
Jarek Kobus
48c2afe157 Decorate some classes and methods with final keyword
This way we silence the clang warnings about calling
virtual methods from c'tor or from d'tor:
[clang-analyzer-optin.cplusplus.VirtualCall]

Change-Id: I8d6318b490152133da4833bda2ba28622bce30dd
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-11-19 09:45:53 +00:00
Eike Ziller
2307c61c95 Factor an overlay widget out of progress indicator
The principle of having a widget on top of all other children of the
same parent, for the purpose of painting an overlay, is generic.

Change-Id: I6d3ee89cc51354988fedcc40340bb45a065db607
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-03-17 08:39:22 +00:00
Tobias Hunger
5d8b0e6352 Utils: Separate rendering out of ProgressIndicator
I want to reuse the rendering of the progress indicator outside
of a widget.

Change-Id: Icaeeb798578ad838693b68556bf2193c4ba45cfa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-07-27 09:15:05 +00:00
hjk
39a38d5679 Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce

Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-03-30 15:20:19 +00:00
Tobias Hunger
f72370f20a Update License according to agreement with Free Qt Foundation
* Update remaining files in src

Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-19 15:59:41 +00:00
Alessandro Portale
bc46e179cd Utils: Add medium sized round indicator
Change-Id: I7f66f63a905e1a9abf7905816dbd86ec3a8951ed
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-19 15:44:07 +01:00
Eike Ziller
bafdf36f80 Add easy way to add progress indicator overlay to a widget
Adds a way to 'attach' a progress indicator to a parent, so it
automatically keeps itself centered on the parent.
Also adds shortcut methods to BaseTreeView.

Change-Id: I962a9300d89ef5d1e03298d670e0cee781d3a4e5
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-01-16 16:45:02 +01:00
Eike Ziller
5e60848942 Utils: Add round progress indicator widget
Change-Id: Ia3a51fb99ae6cec1b7b3c135d272e92d503128dc
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-15 17:45:08 +01:00