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
Sergio Martins
22f2975f3c
tests: createMainWindow() works for qml now too
2020-08-13 00:46:55 +01:00
Sergio Martins
d3323d824a
tests: Make createMainWindow return MainWindowBase
...
Instead of QMainWindow, so it works with qml too
2020-08-13 00:46:55 +01:00
Allen Winter
41d1ea8f61
various fixes for the OBS config
2020-08-12 18:07:40 -04:00
Allen Winter
b1b5cd169a
various fixes for the OBS config
2020-08-12 18:06:07 -04:00
Sergio Martins
1e85b1e7fb
tests: Share EnsureTopLevelsDeleted with qml too
...
So we can start to copy tests to tst_common without hacking them
2020-08-12 22:45:59 +01:00
Sergio Martins
75464708af
Remove unneeded debug
2020-08-12 22:00:23 +01:00
Sergio Martins
f007451442
Fix case where floatAction() wouldn't trigger
...
Fixes #58
2020-08-12 21:21:04 +01:00
Allen Winter
f591270d46
CMakeLists.txt - increase numbers. this will be v1.1 some day
2020-08-12 13:00:35 -04:00
Allen Winter
390423d0c1
Merge branch '1.0'
2020-08-12 12:59:09 -04:00
Allen Winter
5061620f46
kddockwidgets.spec - build requires qt5-qtx11extras-devel
2020-08-12 12:55:22 -04:00
Allen Winter
23ee5d538c
buildsystem - install versioned .so libraries (non-Windows)
2020-08-12 12:49:42 -04:00
Sergio Martins
1aed8c7429
Merge branch '1.0' into master
2020-08-12 11:09:06 +01:00
Sergio Martins
fa0576362d
Don't install the BSD license
...
The ECM modules aren't installed nor redistributed with the binaries,
they're just used while developing. Also don't want to create licensing
confusion
2020-08-12 11:07:32 +01:00
Sergio Martins
0aee56114b
qml: Dropping a dragged window now works
2020-08-11 23:40:07 +01:00
Sergio Martins
b3ec7423e8
qml: The inner indicators are now centered
2020-08-11 22:19:51 +01:00