Commit Graph

23 Commits

Author SHA1 Message Date
Sergio Martins
ba2ce8b8db qml: Implement QWidgetAdapter::isWindow and initialize min/max 2020-07-28 20:41:26 +01:00
Sergio Martins
2e2288cc0f Update .gitignore 2020-07-26 17:59:37 +01:00
Sergio Martins
3121b4cf28 Add *pyc to .gitignore 2020-06-17 14:29:52 +01:00
Sergio Martins
45d5d7b519 update .gitignore 2020-05-25 21:47:03 +01:00
Sergio Martins
4af582a21f Update .gitignore 2020-05-24 20:53:52 +01:00
Sergio Martins
6fe998d9df Add build* to .gitignore 2020-05-17 15:04:53 +01:00
Sergio Martins
97c1ca30fd Layouting engine rewrite
The layouting was becoming too complex to maintain and to introduce
new features. Was even buggy, the fuzzer was constantly finding
bugs, which took hours to workaround.

Problem with the old layout engine is that there was a catch 22, between
Items driving the separators, and separators driving the anchors.

The new layout is much simpler, both in implementation and conceptually.
There's simply a recursive hierarchy of Item elements. An Item can either
have a QWidget to show, or be a ItemContainer, which contains Item children,
and so forth. Each ItemContainer is either vertical or horizontal. That's enough
to represent the "nested multi-splitter" concept which KDDW uses.

After each item insertion/deletion/resize, the separators are regenerated. They
are essentially dumb now.

TODO:
- Separators are drawn, but are not interactive yet
- There's 5 tests failing
- LayoutSaver scalling functionality
2020-05-04 00:02:03 +01:00
Sergio Martins
2d007c558a Update .gitignore 2020-05-02 14:18:30 +01:00
Sergio Martins
4a2a718f78 Add .cmake to .gitignore 2019-12-18 17:51:08 +00:00
Sergio Martins
4d7da1e6f3 tests: Fix build
Fuzzer.cpp was filtered out by .gitignore
2019-10-11 13:27:13 +01:00
Sergio Martins
58e90bd7c4 Make MainWindow_None the default, instead of MainWindow_HasCentralFrame
Central Frame is the old Qt way. With KDDockWidgets everwhere
is fair game to dock and undock.
2019-10-07 14:02:30 +01:00
Sergio Martins
a0787f1488 examples: Move custom_titlebar code into kddockwidgets_example
Guarded with a command line switch, no need to have two examples
2019-10-06 22:26:09 +01:00
Sergio Martins
0d4551d42a Update .gitignore 2019-10-04 17:34:31 +01:00
Sergio Martins
abbc79f0e0 Progress with the QtQuick port 2019-09-07 16:20:22 +01:00
Sergio Martins
c1272c577c Update .gitignore 2019-09-04 13:41:41 +01:00
Sergio Martins
8ebd4dd05b Update .gitignore 2019-08-18 18:35:02 +01:00
Sergio Martins
89757def76 Abstract TabWidget away from QtWidgets, so can be used for QtQuick 2019-08-08 00:41:48 +01:00
Sergio Martins
d2bd2b5601 Update .gitignore 2019-08-07 21:26:21 +01:00
Sergio Martins
9c0baea108 Add the fuzzer to .gitignore 2019-07-15 13:10:49 +01:00
Sergio Martins
fa7c9c6b7f Update .gitignore to ignore doxygen artifacts 2019-06-18 14:46:07 +01:00
Sergio Martins
e5a6040d09 Update .gitignore 2019-04-26 18:44:01 +01:00
Laurent Montel
a9b17aee02 Add ECMEnableSanitizers to allow to compile it with ASAN support
Change-Id: Ia2d9fc073d716e1ed9d525fdfdbf762bedc80e3b
Reviewed-on: https://codereview.kdab.com/67814
Reviewed-by: Sérgio Martins <sergio@kdab.com>
2019-04-26 15:19:28 +02:00
Sergio Martins
e43b673858 Initial commit 2019-04-24 14:49:01 +01:00