Sergio Martins
|
2fda6d11e1
|
Removed the qtquick/qtwidgets ifdefs from ClassicIndicatorsWindow_*
They now each have their own implementation.
qtquick one still not compiling, as it duplicates symbols.
|
2022-05-18 05:10:01 +01:00 |
|
Sergio Martins
|
34c25a065a
|
Copy ClassicIndicatorsWindow.cpp into qtwidgets and qtquick
No other changes made.
In preparation to remove the ifdefs.
|
2022-05-18 05:03:15 +01:00 |
|
Sergio Martins
|
89ceb01b59
|
Remove some classes that were copied instead of renamed
|
2022-05-18 04:49:54 +01:00 |
|
Sergio Martins
|
65c1b53ea0
|
tests: Some include cleanup
|
2022-05-18 04:48:31 +01:00 |
|
Sergio Martins
|
522b2623be
|
Moved DropIndicatorOverlay into controllers/ folder
|
2022-05-18 04:47:01 +01:00 |
|
Sergio Martins
|
d2bf83e4ac
|
Rename DropIndicatorOverlayInterface to DropIndicatorOverlay
We don't suffix our base classes with "Interface"
|
2022-05-18 04:39:21 +01:00 |
|
Sergio Martins
|
30c3a047d1
|
Move the indicator classes into controllers/indicators/
|
2022-05-18 04:35:33 +01:00 |
|
Sergio Martins
|
2b6c18dbcd
|
Move the drop indicators into Controllers namespace
|
2022-05-18 04:24:16 +01:00 |
|
Sergio Martins
|
7b486bb28c
|
qtwidgets: Add views for the Classical and Segmented indicators
Copied from indicators/
|
2022-05-18 04:10:01 +01:00 |
|
Sergio Martins
|
10b61f0e30
|
Remove unused Type::DropIndicatorOverlayInterface
|
2022-05-17 23:45:54 +01:00 |
|
Sergio Martins
|
1b35810766
|
Add Platform::createView()
For when kddw internalls need to create an empty view.
Use case will be to create the parent widget for the drop indicators.
|
2022-05-17 23:43:41 +01:00 |
|
Sergio Martins
|
fc0160213e
|
Remove old MDILayoutWidget_p.h file
It has been renamed already
|
2022-05-17 22:18:40 +01:00 |
|
Sergio Martins
|
a039f102a3
|
Remove some unneeded QWidget includes
|
2022-05-17 22:16:00 +01:00 |
|
Sergio Martins
|
41efefa21e
|
Port away from ViewWrapper_qtwidgets in the backend
Only qtwidgets frontend is allow to use this type
|
2022-05-16 23:10:04 +01:00 |
|
Sergio Martins
|
cc8ee097a3
|
Remove last usage of QWidgetOrQuick type
|
2022-05-16 23:04:29 +01:00 |
|
Sergio Martins
|
1bacb31949
|
tests: Use generic view instead of QWidget NonClosableWidget
|
2022-05-16 22:55:46 +01:00 |
|
Sergio Martins
|
be75247dba
|
tests: Remove some unused includes
|
2022-05-16 22:37:22 +01:00 |
|
Sergio Martins
|
6bc68fece8
|
tests: Remove instances of QTextEdit in tests
It's generic now
|
2022-05-16 22:30:57 +01:00 |
|
Sergio Martins
|
be8250acb7
|
tests: Remove instances of QLineEdit from the tests
It's now generic
|
2022-05-16 21:59:43 +01:00 |
|
Sergio Martins
|
8372ffc0d7
|
tests: Remove all instances of QPushButton from tst_docks
Now uses generic alternatives that will work with other frontends too
|
2022-05-16 21:29:46 +01:00 |
|
Sergio Martins
|
a10187ed5d
|
tests: Port away further from "QWidgetOrQuick"
|
2022-05-16 20:01:08 +01:00 |
|
Sergio Martins
|
7fbd1ea920
|
Added Platform::startDragDistance()
As its value is per platform.
|
2022-05-15 22:31:40 +01:00 |
|
Sergio Martins
|
ef4a0214ed
|
Added Platform::isQtWidgets()
Removes it from Utils_p.h
|
2022-05-15 22:23:34 +01:00 |
|
Sergio Martins
|
d5ac23a8d2
|
qtquick: Implement DefaultWidgetFactory_qtquick
Requires implementing some pure-virtuals in the views too
|
2022-05-15 22:14:51 +01:00 |
|
Sergio Martins
|
7434865967
|
Move Layout.cpp to controllers/ folder
as it's a controller
|
2022-05-15 21:30:31 +01:00 |
|
Sergio Martins
|
f29d3bf5f8
|
Move Layout into Controllers namespace
|
2022-05-15 21:22:26 +01:00 |
|
Sergio Martins
|
97baed0ef9
|
Rename layoutWidget variable/method name to layout
It's a controller, so don't suffix it with Widget/View
|
2022-05-15 21:12:01 +01:00 |
|
Sergio Martins
|
378f380968
|
Rename LayoutWidget to Layout , since it's not a view
Controllers shouldn't be suffixed
|
2022-05-15 21:04:07 +01:00 |
|
Sergio Martins
|
8e506aa327
|
Rename LayoutWidget.cpp to Layout.cpp , as it's a controller
|
2022-05-15 16:51:55 +01:00 |
|
Sergio Martins
|
df96b7ab81
|
Move MDILayout into Controllers namespace
|
2022-05-15 16:47:05 +01:00 |
|
Sergio Martins
|
20cd7b04a5
|
Rename MDILayoutWidget class to MDILayout
Since it's a controller, we strip the suffix
|
2022-05-15 16:27:51 +01:00 |
|
Sergio Martins
|
fa16020d61
|
Rename MDILayoutWidget to MDILayout and move it to controllers/
Since it's not a view, remove the "Widget" suffix
|
2022-05-15 16:24:57 +01:00 |
|
Sergio Martins
|
5ba4e0ee9d
|
qtquick: Added MDILayout_qtquick
|
2022-05-15 16:17:28 +01:00 |
|
Sergio Martins
|
a27ee4944a
|
qtquick: Added DropArea_qtquick
|
2022-05-15 16:12:25 +01:00 |
|
Sergio Martins
|
f537ff007c
|
qtquick: Remove type registring from MultiSplitterConfig.cpp
It's specific to QtQuick
|
2022-05-15 15:38:04 +01:00 |
|
Sergio Martins
|
c563fc7d42
|
Fix path of ClassicIndicatorsOverlay.qml
|
2022-05-15 15:33:43 +01:00 |
|
Sergio Martins
|
9d0f137f9d
|
qtquick: FloatingWindow and MainWindow are now ported and compile
|
2022-05-15 15:29:54 +01:00 |
|
Sergio Martins
|
bcc823e900
|
qtquick: Do the boring boilerplate porting for MainWindow/FloatingWindow
Mostly interesting things left to port there only.
|
2022-05-15 14:26:49 +01:00 |
|
Sergio Martins
|
23b2ade6bd
|
qtquick: Port some commented out code
|
2022-05-15 14:13:21 +01:00 |
|
Sergio Martins
|
9bebf50d4d
|
qtquick: Some initial porting for DockWidgetInstantiator
|
2022-05-15 14:10:21 +01:00 |
|
Sergio Martins
|
6b98322d96
|
qtquick: Ported rubberband to the new architecture
|
2022-05-15 14:02:36 +01:00 |
|
Sergio Martins
|
97faaea983
|
qtquick: Store the public class in 'q' pointer
As usual in Qt
|
2022-05-15 13:54:16 +01:00 |
|
Sergio Martins
|
35c7964365
|
qtquick: More porting of DockWidget_qtquick
Compiles now, but some things are commented out still.
|
2022-05-15 13:51:32 +01:00 |
|
Sergio Martins
|
65f74077d3
|
tests: Replace a usage of QWidgetOrQuick with View
|
2022-05-15 13:00:08 +01:00 |
|
Sergio Martins
|
d8cf526b5a
|
Remove some dead code
|
2022-05-15 12:58:06 +01:00 |
|
Sergio Martins
|
5ce2c0eefd
|
Replace another usage of QWidgetOrQuick with View
|
2022-05-15 12:56:55 +01:00 |
|
Sergio Martins
|
1a47d52ed9
|
Make View::handle() non virtual
So we can still do comparisons if ~View_qtwidgets was already called.
Otherwise it would be calling a pure-virtual.
|
2022-05-15 12:55:55 +01:00 |
|
Sergio Martins
|
383e4f8abd
|
tests: Use tests_createView() instead of MyWidget2
Decouples tests from Qt a bit more
|
2022-05-15 12:20:30 +01:00 |
|
Sergio Martins
|
9698baefd0
|
tests: Remove unused HostedWidget
|
2022-05-15 12:20:30 +01:00 |
|
Sergio Martins
|
c5f05694aa
|
Fix build due to missing include
|
2022-05-15 11:41:46 +01:00 |
|