Sergio Martins
4e3f4e3073
More replacing of show() with open()
...
This time on DockWidgetViewInterface
2022-09-10 12:40:54 +01:00
Sergio Martins
d8189e3e03
.clang-format: wrap at column 100
2022-08-05 16:49:00 +01:00
Sergio Martins
62020a3ff9
qtquick|example: Allow users to test floating windows with native titlebar
2022-07-11 21:43:16 +01:00
Allen Winter
54a29b5cae
Merge branch 'master' into 2.0
2022-07-09 11:09:35 -04:00
Allen Winter
460b898bea
cmake-lint, cmake-format CMake files
2022-07-09 09:11:45 -04:00
Sergio Martins
9a8539fa42
qtquick: Add support for "Always show tabs" option
...
Shows the tab even if the group only has 1 dock widget
2022-07-07 18:05:33 +01:00
Sergio Martins
8383b227aa
qtquick|examples: Add an option to hide title bar
2022-07-07 11:30:34 +01:00
Sergio Martins
54ad9ec2f2
cmake: format with cmake-format
2022-07-04 11:20:19 +01:00
Sergio Martins
74a1520382
examples: Use less controllers
2022-06-25 11:13:21 +01:00
Sergio Martins
da70b1baed
qtquick: Don't overload Q_INVOKABLES
...
Apparently QML doesn't support it very well.
Fixes #291
2022-06-19 20:26:19 +01:00
Sergio Martins
ff92af1e62
Removed some TODOs
...
The comment is still there in case it's interesting for someone,
but it's not something that will be worked on
2022-06-18 22:24:21 +01:00
Sergio Martins
f7bb0c1dbd
Fix examples trying to be installed to /
...
Only worked when being built from within kddw.
2022-06-18 12:42:24 +01:00
Sergio Martins
e63a34a4a5
Rename DockRegistry_p.h -> DockRegistry.h
...
People use it.
2022-06-18 09:28:03 +01:00
Sergio Martins
8be6183543
Include cleanup
...
Removed unneeded controllers/ includes from headers
2022-06-18 09:15:30 +01:00
Sergio Martins
2a6bd9e415
Add overloads taking view interface instead of controller
...
People won't be using the controllers directly
2022-06-15 21:51:56 +01:00
Sergio Martins
d2aba705fb
qtquick: Rename guestView to guestItem in the public API
2022-06-15 20:13:42 +01:00
Sergio Martins
a45f53f9d9
examples: Don't mention mainWindow much in the examples
...
Added DockRegistry::mainDockingAreas() as synonym for mainwindows().
2022-06-15 18:45:37 +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
627b6a1593
qtquick: Bump qml imports to 2.0
2022-06-15 00:15:44 +01:00
Sergio Martins
dafa14536f
examples: include cleanup
2022-06-13 23:39:31 +01:00
Sergio Martins
1f7ac6897c
qtquick: Rename setWidget to setGuestView
2022-06-12 15:33:56 +01:00
Sergio Martins
b75a10b9eb
examples: Normalize names of examples
2022-06-11 13:06:41 +01:00
Sergio Martins
94afae2729
windows: Reviewed and ported a bunch of Q_OS_WIN_OLD usages
...
Those are fine. Will tackle the difficult ones next.
2022-05-30 22:04:35 +01:00
Sergio Martins
d8e703275f
windows: Replace Q_OS_WIN with Q_OS_WIN_TODO so we can start porting
...
Now it builds. This way I can port each Q_OS_WIN one by one and make
sure everything still builds, without risking breaking Linux/macOS.
2022-05-30 21:55:49 +01:00
Sergio Martins
095dbe1a7f
qtquick|examples: Initialize the platform
...
Fixes a crash.
There's more (unrelated) crashes though, will look at those next.
2022-05-30 18:39:35 +01:00
Sergio Martins
0b36b7c7e8
qtquick: Port the example
2022-05-30 12:01:04 +01:00
Sergio Martins
bb4f5a5037
Mass renaming of last usages of FrameworkWidgetFactory
2022-05-19 08:12:29 +01:00
Allen Winter
93e60a743e
update copyright year
2022-01-20 08:05:26 -05:00
Allen Winter
22a709a39e
fix more misspellings
2021-07-15 10:14:04 -04:00
Sergio Martins
463b6a1322
qtquick: Fix using initial visibility option
...
Needs to be fully qualified.
Added an example.
Fixes #212
2021-07-02 16:41:49 +01:00
Sergio Martins
457ea402d5
qtquick|example: Fix toggling not working on non-current tab
...
A non-current tab isn't visible, its dock widget is however opened.
Relates to #211
2021-06-28 23:30:05 +01:00
Sergio Martins
50f6e76e81
qtquick|examples: Don't call them "MainWindow"
...
Rather "main layout", as they are not top-levels, unlike for
QWidgets
As suggested in issue #196
2021-05-17 22:27:34 +01:00
Sergio Martins
1fca162fb2
quick|example: Enable hpdi scaling
2021-04-25 10:47:07 +01:00
Sergio Martins
6ffd3e574f
qtquick: Add support for LayoutSaver
...
You can now instantiate LayoutSaver {} in QML and save/restore
layouts
2021-04-08 23:23:24 +01:00
Sergio Martins
748243f512
qtquick: Allow to call addDockWidget() from QML
2021-04-05 22:56:08 +01:00
Sergio Martins
7c101ae3af
qtquick: comments++
2021-04-05 20:41:59 +01:00
Sergio Martins
2706a3d379
qtquick: Add "Close All" option in the example
2021-04-05 18:31:56 +01:00
Sergio Martins
1167545199
Update Changelog
2021-04-05 16:51:36 +01:00
Sergio Martins
fcd1fae77e
qtquick: Add a MenuBar to the example, allows to toggle
2021-04-05 16:48:13 +01:00
Sergio Martins
06db10561c
qtquick: Use QQmlApplicationEngine in the examples
...
So we can add menus and such
2021-04-05 16:41:45 +01:00
Sergio Martins
ead9e8945e
qtquick: Allow to add the guest widget declaratively
...
This is an alternative to setting source
2021-04-05 16:22:56 +01:00
Sergio Martins
8a0e6c90b9
qtquick: the user will now use "MainWindowLayout" instead of "MainWindow"
...
As MainWindow wasn't actually a window.
While for QtWidgets it makes sense for it to be a QMainWindow, in
QtQuick let's make it easy to embed a dock widget layout.
Also, our MainWindowQuick doesn't have any menus and what not that
QMainWindow has.
2021-04-05 15:04:27 +01:00
Sergio Martins
cec8cf25ef
Rename MainWindowWrapper to MainWindowInstantiator
...
Makes it consistent with DockWidgetInstantiator.
Creates the main window onComplete, no need for the user
to call init() explicitly anymore
2021-04-05 14:42:46 +01:00
Sergio Martins
5a2812ecf3
qtquick: Fix undefined variable error in example
2021-04-05 14:35:40 +01:00
Sergio Martins
0f09ba717f
qtquick: Move the "Another" button into the main window
2021-04-05 14:09:59 +01:00
Sergio Martins
1026abbbf4
qtquick: Make DockWidgetInstantiator a QQuickItem instead of only QObject
...
Can be put in Repeater now
2021-04-05 13:57:57 +01:00
Sergio Martins
60adb0d50b
qtquick: Add a MDI example
...
Instead of poluting the normal example
2021-02-10 20:06:50 +00:00
Sergio Martins
5ec5ade62f
qtquick: Add a MDI example
2021-02-10 00:19:29 +00:00
Allen Winter
875544a449
Merge branch '1.2'
2021-01-02 09:32:20 -05:00
Allen Winter
a2f4c972a6
update copyright year
2021-01-02 09:27:50 -05:00