Sergio Martins
|
cf44110033
|
Rename DockWidget::show() to DockWidget::open()
Since non-current tabs are open but not visible.
|
2022-09-10 12:26:30 +01:00 |
|
Sergio Martins
|
764385de9f
|
refactor: DockWidget::isOpen() now keeps its state in the controller
No longer tied to QtWidget visibility. This will make it easier to
make new frontends.
|
2022-09-09 19:51:25 +01:00 |
|
Sergio Martins
|
ad8457490b
|
Add an xfailing test for issue #312
|
2022-09-07 12:07:03 +01:00 |
|
Sergio Martins
|
c0ef4ae0d2
|
tests: Add a test for DockWidget:setAsCurrentTab()
CC issue #312
|
2022-09-07 11:52:19 +01:00 |
|
Sergio Martins
|
f0c008fae3
|
tests: Add a unit-test for Adding dock widget hidden
|
2022-08-21 12:57:53 +01:00 |
|
Sergio Martins
|
61e93a1970
|
tests: Add a unit-test for DockWidget::isOpen()
|
2022-08-21 00:54:24 +01:00 |
|
Sergio Martins
|
763ad1ae6b
|
Wrapper views now also get a dummy controller
Now we can finally make all setVisible/isVisible calls go
through the controller
|
2022-08-20 19:24:21 +01:00 |
|
Sergio Martins
|
ca26e856db
|
tests: Fix tst_tabbar for QtQuick
|
2022-08-15 20:46:36 +01:00 |
|
Sergio Martins
|
be2c297fa9
|
Fix list of tabs not being updated when dock widget closed
When closing, we need to remove from the TabBar controller.
QtWidgets tests no pass again.
|
2022-08-15 19:55:01 +01:00 |
|
Sergio Martins
|
2a37813409
|
Remove more TabBarViewInterface related to indexes
That's in the controller now, shared by all frontends
|
2022-08-15 14:14:15 +01:00 |
|
Sergio Martins
|
5a455f86a1
|
TabBar now knows the list of dockwidgets
It's no longer on the view.
|
2022-08-14 22:43:33 +01:00 |
|
Sergio Martins
|
4627571f3f
|
qtquick: Fix current tab being current even after removed
Added lots of tests for TabBar.
|
2022-08-14 15:44:38 +01:00 |
|
Sergio Martins
|
d8189e3e03
|
.clang-format: wrap at column 100
|
2022-08-05 16:49:00 +01:00 |
|
Sergio Martins
|
69c2c0770f
|
tests: Add another test to tst_dropArea
|
2022-08-03 09:48:30 +01:00 |
|
Sergio Martins
|
3f32bc3dce
|
tests: Move tst_droparea.cpp into tests/controllers/
|
2022-08-03 09:24:03 +01:00 |
|
Sergio Martins
|
36931e7c45
|
Allow DragController views to have access to its controller
For consistency
|
2022-07-20 13:12:52 +01:00 |
|
Sergio Martins
|
ae5cf1d723
|
More renaming of "frame" to "group"
|
2022-06-23 16:01:43 +01:00 |
|
Sergio Martins
|
9469273c7a
|
Rename "frame" variables to "group"
|
2022-06-21 17:12:11 +01:00 |
|
Sergio Martins
|
fe7a8d450c
|
Rename Frame class to Group
|
2022-06-21 16:34:20 +01:00 |
|
Sergio Martins
|
73d627554a
|
Remove Frame.h/cpp to Group.h/cpp
It's a better name.
Files only for now. Contents will come in a followup.
|
2022-06-21 08:51:52 +01:00 |
|
Sergio Martins
|
755bc6ac14
|
cmake: Don't add src/ to include path
Fully qualify includes instead
|
2022-06-14 16:57:22 +01:00 |
|
Sergio Martins
|
a4d337e891
|
Fully qualify header paths when including controllers
so this still works when private headers are installed
|
2022-06-13 23:24:43 +01:00 |
|
Sergio Martins
|
ab2b481a80
|
cmake: QtQuick frontend no longer needs to link against QtWidgets
|
2022-06-12 14:43:17 +01:00 |
|
Sergio Martins
|
118fe3d32e
|
qtquick: Fix guest view not getting parented when getting added
To be improved on milestone 3
|
2022-06-08 12:22:57 +01:00 |
|
Sergio Martins
|
2421e607a9
|
Users now instantiate DockWidget view instead of controller
The controllers are private and not intentend for the public.
|
2022-05-30 11:45:43 +01:00 |
|
Sergio Martins
|
1c0c594abe
|
cmake: Add qtwidgets/qtquick ifdefs
Code now builds without QtQuick if needed
|
2022-05-28 16:02:14 +01:00 |
|
Sergio Martins
|
da8539820e
|
qtquick: Find the correct controller when using ViewWrapper
|
2022-05-27 14:00:19 +01:00 |
|
Sergio Martins
|
267bc4ec79
|
tests: Test that a floating window is created
|
2022-05-27 13:35:52 +01:00 |
|
Sergio Martins
|
c554bdc68c
|
Fix DropArea only looking for QtWidget children
Instead of using findChildren(), just ask the layout for the
items.
tst_floatingWindow now doesn't crash anymore when looking for
the layout items.
|
2022-05-26 09:58:23 +01:00 |
|
Sergio Martins
|
a85c56a25a
|
Implement ViewWrapper::is()
|
2022-05-23 23:37:25 +01:00 |
|
Sergio Martins
|
ac51ffc7d4
|
tests: Add tests for DockWidget and FloatingWindow ctor
To catch potential QML errors in the .qml files.
|
2022-05-23 23:06:32 +01:00 |
|
Sergio Martins
|
bab0c99d13
|
tests: Added tst_separator
Helps finding problems in the respective qml file
|
2022-05-23 19:12:32 +01:00 |
|
Sergio Martins
|
79ef648a27
|
tests: Added tst_stack and tst_tabbar
Finds errors in the respective qml files
|
2022-05-23 19:00:21 +01:00 |
|
Sergio Martins
|
0f55a2f87a
|
tests: Add tst_titlebar
At least for the ctor, which already helps to find bugs in
the .qml file
|
2022-05-23 18:07:56 +01:00 |
|
Sergio Martins
|
87e9cbc388
|
tests: Add tst_frame
|
2022-05-23 17:15:43 +01:00 |
|