Sergio Martins
|
38432ccacd
|
Make MainWindow::windowGeometry() private
|
2022-06-15 16:09:04 +01:00 |
|
Sergio Martins
|
0825a6bdc2
|
Move sidebars into MainWindow controller
No reason to have them duplicated between qtwidgets and qtquick
|
2022-06-15 15:57:50 +01:00 |
|
Sergio Martins
|
cd35f1ff62
|
MainWindow header cleanup
|
2022-06-15 15:29:42 +01:00 |
|
Sergio Martins
|
0c95550af6
|
Move some common view code into MainWindowViewInterface
So that it's not duplicated between QtWidgets and QtQuick
|
2022-06-15 12:29:14 +01:00 |
|
Sergio Martins
|
e1fe8054d0
|
Remove public MainWindow::onResized
|
2022-06-15 11:23:51 +01:00 |
|
Sergio Martins
|
29c675661f
|
cleanup regarding DockWidget::show()
|
2022-06-15 05:32:54 +01:00 |
|
Sergio Martins
|
de917f103a
|
Remove unneeded QtWidget ifdefs and TODO
|
2022-06-15 05:25:09 +01:00 |
|
Sergio Martins
|
95ff95e995
|
Remove TODO and shorten namespace
|
2022-06-15 05:22:41 +01:00 |
|
Sergio Martins
|
3b2a395668
|
Fix build with Wweak-vtables
Have to move kdbindings to its own target so we can use -isystem
with it, as it doesn't support Wweak-vtables
|
2022-06-15 05:01:10 +01:00 |
|
Sergio Martins
|
fec58dd217
|
Add missing exports
|
2022-06-15 04:34:49 +01:00 |
|
Sergio Martins
|
148a25a452
|
Fix some Wweak-tables warnings
|
2022-06-15 04:33:35 +01:00 |
|
Sergio Martins
|
e6dd002ca8
|
qtquick: Rename MainWindowLayout to DockingArea
Since it's not an actual Window, it's just a QQuickItem. QtQuick has
proper Window items that mean an actual Window.
|
2022-06-15 00:27:41 +01:00 |
|
Sergio Martins
|
95acf7a4cb
|
qtquick: Don't register Item, it's unneeded
|
2022-06-15 00:18:40 +01:00 |
|
Sergio Martins
|
73a5809f62
|
qtquick: Remove unneeded qml types registering
|
2022-06-15 00:17:10 +01:00 |
|
Sergio Martins
|
627b6a1593
|
qtquick: Bump qml imports to 2.0
|
2022-06-15 00:15:44 +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
|
dafa14536f
|
examples: include cleanup
|
2022-06-13 23:39:31 +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
|
44476789c2
|
Add fwd headers for the controllers
|
2022-06-13 23:01:57 +01:00 |
|
Sergio Martins
|
458ae05564
|
Move qtquick qrc into qtquick folder/
as it's unrelated to the other frontends
|
2022-06-13 22:51:22 +01:00 |
|
Sergio Martins
|
59013303ac
|
examples: Port MyViewFactory to new design
It was commented out still
|
2022-06-13 22:31:13 +01:00 |
|
Sergio Martins
|
4dab634abf
|
docs++
|
2022-06-13 20:44:59 +01:00 |
|
Sergio Martins
|
32b6c3acbe
|
Simplify ViewFactory by making it receive View parents instead of Controllers
Users don't need to worry about such details, like casting to QWidget.
|
2022-06-13 20:35:57 +01:00 |
|
Sergio Martins
|
91398d5fab
|
Minor: Make method protected instead of private
|
2022-06-13 20:16:11 +01:00 |
|
Sergio Martins
|
b596aaf1f4
|
Add the qtwidget and qtquick fwd headers to include path
|
2022-06-13 19:48:37 +01:00 |
|
Sergio Martins
|
ec56120290
|
Don't include controller headers in view headers
view headers will be installed, so shouldn't leak impl details
much. Controllers are more low level things that the user won't use
much
|
2022-06-13 19:44:47 +01:00 |
|
Sergio Martins
|
8ba160b0f6
|
Add forward headers for the views
|
2022-06-13 19:16:51 +01:00 |
|
Sergio Martins
|
8b49eabe95
|
Bump KDBindings
|
2022-06-13 18:45:05 +01:00 |
|
Waqar Ahmed
|
a17f6468cd
|
use 0 as default serializationVersion
|
2022-06-13 14:50:43 +05:00 |
|
Waqar Ahmed
|
c62b1a5a9b
|
Dont use nlohmann::operator[], use value() instead
|
2022-06-13 14:47:30 +05:00 |
|
Sergio Martins
|
2e4c01f604
|
Move some m2 TODOs to m3, as they're not related to QtQuick stabilization
|
2022-06-13 02:46:31 +01:00 |
|
Sergio Martins
|
3ab3076263
|
Fix some low hanging TODOs
|
2022-06-13 02:37:03 +01:00 |
|
Sergio Martins
|
efc42e8d3f
|
Move updating size constraints from FloatingWindow view to controller
|
2022-06-13 02:28:56 +01:00 |
|
Sergio Martins
|
e49ecc880e
|
Replace View::onLayoutRequest() with a signal
Which moves more logic into the controllers.
|
2022-06-13 02:12:12 +01:00 |
|
Sergio Martins
|
cfd4e61a3b
|
Remove View::setLayoutItem()
Because it's specific to Frame
|
2022-06-13 01:49:06 +01:00 |
|
Sergio Martins
|
b56cf151fe
|
TitleBar_qtwidgets: Header cleanup
|
2022-06-12 16:34:35 +01:00 |
|
Sergio Martins
|
87414585ea
|
SideBar_qtwidgets: Cleanups
Include cleanups and making things protected/private.
|
2022-06-12 16:27:04 +01:00 |
|
Sergio Martins
|
3b814866e2
|
Remove unneeded isVertical() from Sidebar view
|
2022-06-12 16:21:11 +01:00 |
|
Sergio Martins
|
55620a5d10
|
TODO cleanup
Removed stale TODOs and promoted some to TODOm2 , as they should
be tackled next
|
2022-06-12 16:07:29 +01:00 |
|
Sergio Martins
|
5a99c8390a
|
qtquick: Allow the user to pass a different QQmlEngine to DockWidget
Like was the case in v1.x
|
2022-06-12 15:51:00 +01:00 |
|
Sergio Martins
|
1f7ac6897c
|
qtquick: Rename setWidget to setGuestView
|
2022-06-12 15:33:56 +01:00 |
|
Sergio Martins
|
24f1f6be33
|
qtquick: Remove unnneeded connect from frame view
It's already done in the controller
|
2022-06-12 15:29:21 +01:00 |
|
Sergio Martins
|
6c589f0500
|
Postpone some m2 TODOs to m3
m2 will focus on QtQuick being usable
|
2022-06-12 15:25:35 +01:00 |
|
Sergio Martins
|
767bbcb251
|
Make layout linter work against any frontend
|
2022-06-12 15:16:30 +01:00 |
|
Sergio Martins
|
c12da6b6d5
|
cmake: Don't link against QTTest in release builds
|
2022-06-12 14:51:57 +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
|
fb844bc989
|
Don't use QAction directly
In prepartion for qtquick frontend not needing QtWidgets
|
2022-06-11 18:48:37 +01:00 |
|
Sergio Martins
|
098a368c79
|
qtquick: Use QGuiApplication for tests, not QApplication
|
2022-06-11 18:29:12 +01:00 |
|
Sergio Martins
|
1acbf48786
|
Don't depend directly on QSizePolicy, as that's QtWidgets
Introduce our own enum. Soon our qtquick frontend won't link
against QtWidgets
|
2022-06-11 18:22:38 +01:00 |
|
Sergio Martins
|
a7b6dd5f24
|
Port the rest of win32 specific code
|
2022-06-11 15:50:03 +01:00 |
|