Commit Graph

25 Commits

Author SHA1 Message Date
Allen Winter
875544a449 Merge branch '1.2' 2021-01-02 09:32:20 -05:00
Allen Winter
a2f4c972a6 update copyright year 2021-01-02 09:27:50 -05:00
Sergio Martins
5582f37a18 Introduce InitialOption struct
addDockWidget() received a AddingOption enumerator. But that
enum isn't enough, as we also want to be able to specify an initial
QSize.

So, instead of adding yet another parameter to addDockWidget(), we
create a struct to old those "initial settings".

Implies a minor source break, but trivial to fix in user code,
just rename the enumerator.

Honouring preferredSize will be a followup.

Needed for issue #95
2020-12-27 20:22:02 +00:00
Sergio Martins
10f47a701f Fix -Wclazy-copyable-polymorphic 2020-12-22 15:38:50 +00:00
Sergio Martins
60331fc654 qtquick: Remove some unneeded QtWidget includes 2020-11-29 17:57:14 +00:00
Sergio Martins
52bf449366 qtquick: Fixes for focusing
Fixes tst_focus too, and  maybe a few other tests
2020-11-18 14:01:55 +00:00
Sergio Martins
3369816d31 Merge branch '1.1' into master 2020-10-14 14:59:44 +01:00
Sergio Martins
819725351a Fix -Wweak-vtables warnings 2020-10-14 14:55:28 +01:00
Sergio Martins
b0ad939db8 tests: Enable tst_tabbingWithAffinities for QtQuick 2020-10-10 11:18:40 +01:00
Sergio Martins
fd56ab7932 qml: Introduce tst_common
Will be moving tests that are common to both QtWidgets and QtQuick
2020-08-02 22:16:03 +01:00
Allen Winter
b4f49895c2 clarify: licensing is GPL2 or GPL3 or commercial licensed
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Allen Winter
df692686e7 various - update copyright year 2020-01-07 11:36:56 -05:00
Sergio Martins
195390aa9e Fix build with msvc2015, it doesn't have <optional> 2019-10-18 17:37:25 +01:00
Sergio Martins
0ca0ad492b fuzzer: don't require dock widgets to exist when loading json
They'll be created later. So use their name instead of a pointer
to them.
2019-10-13 17:50:50 +01:00
Sergio Martins
78efe4097f fuzzer: Add fromVariantMap(), so we can read the json 2019-10-13 14:03:23 +01:00
Sergio Martins
954fb271d3 fuzzer: Also serialize the AddDockWidget operation 2019-10-11 17:04:26 +01:00
Sergio Martins
38619e734f fuzzer: dump to json when it fails 2019-10-11 14:18:20 +01:00
Sergio Martins
e432c0d409 fuzzer: Move fuzzer into a fuzzer/ directory 2019-10-11 12:45:34 +01:00
Sergio Martins
b20d0f0412 tests: Add missing include guards 2019-10-11 11:41:31 +01:00
Sergio Martins
a2e610ee4b tests: share waitForEvent() and waitForDeleted() 2019-10-11 11:38:21 +01:00
Sergio Martins
5fdf551907 fuzzer: Refactor operations a bit 2019-10-11 11:24:43 +01:00
Sergio Martins
0322dcf553 fuzzer: Chose the dock widget to run the operation on 2019-10-11 09:01:29 +01:00
Sergio Martins
e530170753 fuzzer: Randomize operations too 2019-10-11 08:53:51 +01:00
Sergio Martins
83625bdda3 tests: Move the qDebug filter to Testing.h
So it can be shared with the fuzzer
2019-10-11 08:46:51 +01:00
Sergio Martins
d01c8ac646 tests: Initial implementation of the fuzzer
Also the Testing now has some sort of framework for so anyone can
write tests easier in the future. Still wip.
2019-10-09 18:35:04 +01:00