Commit Graph

3733 Commits

Author SHA1 Message Date
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
Sergio Martins
cda924ac74 Ported RubberBand from QWidget to View 2022-05-14 10:36:53 +01:00
Sergio Martins
f719697852 Remove DockWidget::setWidget(QWidget) 2022-05-14 09:38:55 +01:00
Sergio Martins
df61c35314 Implemented ViewWrapper::sizePolicy() 2022-05-14 09:26:07 +01:00
Sergio Martins
a3f80ef2f8 Add .DS_Store to .gitignore 2022-05-13 15:33:15 +01:00
Sergio Martins
e6f05a7815 docs: Added documentation about the basic concepts.
Will add images next.
2022-05-13 00:39:00 +01:00
Sergio Martins
1ce6d3721e Add a mkdocs.yml file
So we can start writing internal documentation
2022-05-12 23:41:33 +01:00
Sergio Martins
07be3dd0d4 Port away from DockWidget::widget()
Use guestView() instead
2022-05-11 23:59:10 +01:00
Sergio Martins
f5fe7e6cc8 tests: Port away from QWidget further
DockWidget::widget() is getting removed in favor of guestView()
2022-05-11 23:51:57 +01:00
Sergio Martins
6d9fa9eecd cmake: Add an lcov preset and disable it on the dev preset
It's not very good for incremental development as one needs
to constantly remove the gcda files
2022-05-11 17:25:06 +01:00
Sergio Martins
313be585ae tests: More focus tests 2022-05-11 17:23:31 +01:00
Sergio Martins
8a725298de Added View::hasFocus() 2022-05-11 00:02:18 +01:00
Sergio Martins
721402b710 Remove a few usages of DockWidget::widget()
Use View instead of QWidget
2022-05-10 23:43:07 +01:00
Sergio Martins
73e6822a1d Added View::focusPolicy() 2022-05-10 23:23:27 +01:00
Sergio Martins
9f7c4cb217 Removed the DockWidgetBase typedef
That existed only to ease porting
2022-05-10 22:53:16 +01:00
Sergio Martins
855b572656 cmake: Enable gcov code coverage by default for dev preset 2022-05-09 23:46:27 +01:00
Sergio Martins
93e388e04f tests: tst_multisplitter is now run against all platforms 2022-05-09 17:38:22 +01:00
Sergio Martins
146b929b5d qtquick: Implement View::maximumSize() and test 2022-05-09 17:28:48 +01:00
Sergio Martins
5f38814fd2 qtquick: Fix crash during instantiation of Separator_qtquick
The qml file would call into the view which would call into the
controller while its d ptr wasn't initialized yet
2022-05-09 16:31:49 +01:00
Sergio Martins
45a364c44b qtquick: Normalize location of Separator.qml
We don't want any qml files outside of qtquick/ folder
2022-05-09 15:44:45 +01:00
Sergio Martins
d35afdf81c qtquick: Compile our qrc file too
Updated paths
2022-05-09 15:40:20 +01:00
Sergio Martins
5f7eb335e6 qtquick: Warn and bailout whenever we can't find the requested QML file 2022-05-09 15:37:36 +01:00
Sergio Martins
9173226be7 tests: Normalise signature of argc/argv to match QApplication's
Fixes crash when passing "platform -xcb", because argc was being
passed by value, decremented in QApplication, then going out
of bounds in QTest
2022-05-09 15:16:36 +01:00
Sergio Martins
5d8da8aab6 qtquick: Compile and return Separator in the framework factory 2022-05-09 14:41:21 +01:00
Waqar Ahmed
df00c13899 Add code coverage 2022-05-09 16:45:41 +05:00
Waqar Ahmed
d1567322ec Fix unused variable warning 2022-05-09 16:44:18 +05:00
Sergio Martins
eb42d9e3f0 workaround linking examples 2022-05-09 12:17:15 +01:00
Sergio Martins
79eb41298c qtquick: Port Separator to the new view architecture 2022-05-09 10:25:58 +01:00
Sergio Martins
e0f48c9f32 Added convenience View_qtquick::createQQuickItem() 2022-05-09 10:06:43 +01:00
Sergio Martins
f033e4eb36 qtquick: Fix the qml engine not being set 2022-05-08 23:13:44 +01:00
Sergio Martins
8751216f62 qtquick: Added a FrameworkWidgetFactory too
The impl is dummy, but at least Config doesn't return a nullptr
one, meaning we can have more involved tests for QtQuick
2022-05-08 23:12:20 +01:00
Sergio Martins
cfeb59ee8f qtquick: Move m_qmlEngine from Config to Platform_qtquick
As it's QtQuick specific it should be in the qtquick frontend folder.
2022-05-08 20:16:23 +01:00
Sergio Martins
3c340aee40 tests: Remove last traces of QWidget from tst_multisplitter 2022-05-08 19:56:25 +01:00