Sergio Martins
0a2aebd78d
FocusScope: Also focus when the user clicks on tab widget background
...
Relevant when you don't have a title bar
2020-11-03 15:29:13 +00:00
Sergio Martins
371fd361a8
Detach when double-click on tab bar background, if no title bar
...
When a title bar isn't visible, we need a way to detach an entire
group of tabs by double clicking, required for wayland.
Implemented for all platforms, as it makes sense
2020-10-19 11:42:39 +01:00
Sergio Martins
51ccbe7c7c
Move TabBar::detachTab() to Frame
...
As the code doesn't have anything specific to QTabBar.
Means QtQuick can reuse it without needing a TabBarQuick.
tst_crash now passes for QtQuick too
2020-10-18 23:07:13 +01:00
Sergio Martins
7080712501
Rename the tab's title if its dock widget changes
2020-09-21 16:19:35 +01:00
Sergio Martins
2cb25fefe4
Minor: Add the tab widget as a member
2020-09-11 23:40:41 +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
Allen Winter
b4f49895c2
clarify: licensing is GPL2 or GPL3 or commercial licensed
...
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Allen Winter
df692686e7
various - update copyright year
2020-01-07 11:36:56 -05:00
Sergio Martins
38949fac2a
Fix build without find_package()
...
Some of our projects have kddockwidgets directly in their build
2019-10-21 14:30:04 +01:00
Sergio Martins
787f7802be
Move the private code into a private/ folder
...
It's nice to have a similar include hierarchy at build time and install
time.
It also makes things more explicit
2019-10-20 19:24:54 +01:00