Sergio Martins
92843b4972
Merge branch '1.0' into master
2020-08-30 14:46:28 +01:00
Sergio Martins
ae000e75bc
Allow DockWidget::setWidget() to be called multiple times
...
Fixes #66
2020-08-30 14:43:12 +01:00
Allen Winter
e017438605
FindShiboken2.cmake - fix finding the library on MacOS
2020-08-28 18:40:19 -04:00
Allen Winter
bcd29f1dcc
README.md - improve python bindings instructions
2020-08-28 12:14:32 -04:00
Allen Winter
b2df16dcb0
Merge branch '1.0'
2020-08-27 12:23:38 -04:00
Allen Winter
9903780792
kddockwidgets.spec - improve description text
2020-08-27 12:17:15 -04:00
Sergio Martins
8bb15f5447
Updated ChangeLog
2020-08-27 15:30:17 +01:00
Sergio Martins
2977f0b8c6
Introduce Config::Flag_AlwaysTitleBarWhenFloating
...
Allows to improve on Flag_HideTitleBarWhenTabsVisible.
Flag_HideTitleBarWhenTabsVisible will hide title bar regardless
if the window is floating or docked. By enabling Flag_AlwaysTitleBarWhenFloating
the title bar will only be hidden if docked.
Demo: ./bin/kddockwidgets_example -qt
Fixes #64
2020-08-27 15:14:55 +01:00
Sergio Martins
251423116f
Merge branch '1.0' into master
2020-08-27 14:54:18 +01:00
Sergio Martins
5a66d09266
example: Decouple Flag_HideTitleBarWhenTabsVisible from Flag_AlwaysShowTabs
...
New swtich -z will trigger Flag_AlwaysShowTabs.
use -zt for what was -t before.
This is more granular now, as they are mix and match
2020-08-27 14:52:48 +01:00
Sergio Martins
04e2a71b66
Merge branch '1.0' into master
2020-08-25 22:00:25 +01:00
Sergio Martins
e3f89b6c17
Remove unneeded include
2020-08-25 21:57:55 +01:00
Sergio Martins
9d8587aa40
Remove empty file
2020-08-25 21:56:23 +01:00
Sergio Martins
a06fec51c8
Merge branch '1.0' into master
2020-08-25 21:54:32 +01:00
Sergio Martins
4b4d839074
Expose more private API so users can use the full power
...
Installed more private headers.
TabWidget_p.h was moved into widgets/ as the QtQuick impl won't
use that abstraction. Could even be folded into TabWidgetWidget.
Fixes #65
2020-08-25 21:46:46 +01:00
Sergio Martins
83eda81263
Minor code simplification
2020-08-24 17:58:42 +01:00
Sergio Martins
1bb476ca95
Merge branch '1.0' into master
2020-08-24 14:38:06 +01:00
Sergio Martins
1c65b3e453
Remove examples/qtquick from the 1.0 branch
...
Should be in master only
2020-08-24 14:36:30 +01:00
Sergio Martins
70a4ca6533
Updated README with the new features
2020-08-24 14:35:07 +01:00
Sergio Martins
073647cf79
Add a minimal example
...
The other example is getting too big. Minimal is best to get
started
2020-08-24 13:49:56 +01:00
Sergio Martins
f0ac455ec1
Allow the window being dragged to be transparent
2020-08-23 17:44:57 +01:00
Sergio Martins
44b2fc6944
indicators: Improve style for segmented indicators
2020-08-23 17:23:37 +01:00
Sergio Martins
113e6453ea
example: Show usage of segmented indicators
2020-08-23 16:57:48 +01:00
Sergio Martins
283d814dc6
indicators: Also install the headers
...
So that the example app can show how to switch style type
2020-08-23 16:43:54 +01:00
Sergio Martins
034dc25483
indicators: Remove type()
...
There's no point in using it
2020-08-23 16:22:21 +01:00
Sergio Martins
b1333b2c4c
ChangeLog: Update the changelog for 1.1
2020-08-23 13:52:16 +01:00
Sergio Martins
ff58ff72f9
Merge branch '1.0' into master
2020-08-23 13:47:52 +01:00
Sergio Martins
90da74b211
ChangeLog: Fill in the changes for 1.0
2020-08-23 13:46:29 +01:00
Sergio Martins
fbe88f7b99
ChangeLog: Remove the mention to 1.1
...
Since we're on 1.0 branch
2020-08-23 13:34:29 +01:00
Sergio Martins
05276999ad
ChangeLog: Fix dates and versions
...
1.0 wasn't released yet
2020-08-23 13:34:11 +01:00
Sergio Martins
00b4dbc821
Add a Segmented Indicator
...
Just a POC of a new indicator style
2020-08-23 13:24:27 +01:00
Sergio Martins
35076bbdb6
indicators: Update the indicator's visibility in the base class
...
So derived classes don't have to.
Doesn't affect ClassicIndicators, since it uses a separate
window for them. But useful for new indicator types.
2020-08-22 19:58:45 +01:00
Sergio Martins
2dc98804f4
qml|indicators: Use frame geometry instead of frame rect
...
The rect is always at 0,0, not very useful.
2020-08-22 19:53:20 +01:00
Sergio Martins
961600fe74
qtquick: fix build
...
MainWindow.h is specific to QtWidgets
2020-08-22 19:19:59 +01:00
Sergio Martins
7fdca76a4c
indicators: Use enum class for the type
2020-08-22 19:16:24 +01:00
Sergio Martins
32592f6ad1
classic indicators: Remove unneeded hidding in ctor
...
Already done in base class
2020-08-22 19:13:26 +01:00
Sergio Martins
1545e98e6d
Merge branch '1.0' into master
2020-08-22 18:58:42 +01:00
Sergio Martins
a1c473fb0e
Override QMainWindow::setCentralWindow() to make it private
...
The central widget is used internally by KDDW to make all of this
possible. It shouldn't be used by users
2020-08-22 17:03:55 +01:00
Allen Winter
85b3feb10b
Merge branch '1.0'
2020-08-15 10:15:26 -04:00
Allen Winter
721b4de55e
.krazy - add checks
2020-08-15 10:14:53 -04:00
Sergio Martins
d9fdd20caa
Add DockWidgetBase::isFocusedChanged
...
Fixes : #60
2020-08-15 00:46:41 +01:00
Sergio Martins
9e2d001ac5
Add DockWidget::isFocused() for issue #60
...
Needs a signal now
2020-08-14 23:51:35 +01:00
Sergio Martins
750f9b6142
tests: Add strong-focus to the widget
2020-08-14 23:00:14 +01:00
Sergio Martins
1c3cf8cf2d
Merge branch '1.0' into master
2020-08-14 18:47:42 +01:00
Sergio Martins
f1b9ce714b
Fix building user apps out of repo
...
Our example was being built as part of KDDW, so that worked fine.
Now it can also be built with an installed KDDW.
Problem was the folder hiearchy in the installed include dir
didn't match the folder hiearchy in the source repo
Fixes #62
Cherry-picked from master's 037fa76fff
1.0 makes more sense
2020-08-14 18:47:03 +01:00
Sergio Martins
db19cb40d7
Merge branch '1.0' into master
2020-08-14 18:30:00 +01:00
Sergio Martins
2b0a426135
Fix crash if a FloatingWindow gets a native event too late
...
If delete is already scheduled and the multisplitter is already gone
we shouldn't handle the native event anymore
Fixes #63
2020-08-14 18:29:38 +01:00
Sergio Martins
369a020d81
readability: Rename m_beingDeleted to m_deleteScheduled
2020-08-14 18:29:38 +01:00
Sergio Martins
037fa76fff
Fix building user apps out of repo
...
Our example was being built as part of KDDW, so that worked fine.
Now it can also be built with an installed KDDW.
Problem was the folder hiearchy in the installed include dir
didn't match the folder hiearchy in the source repo
Fixes #62
2020-08-14 17:49:24 +01:00
Sergio Martins
caa2ece751
qml: Move the 1st test from tst_docks to tst_common
2020-08-13 00:46:55 +01:00