Dominik Nussbaumer
fb58c435ef
Fix ODR violations when using CMake unity builds. ( #609 )
2024-02-28 13:25:20 +01:00
Uwe Kindler
644c828f00
Fixed crash caused by changes related to issue #594 - deletion of CFloatingWidget caused crash when loading a state from XML
2024-01-26 16:31:04 +01:00
Uwe Kindler
9bdefd6055
Fixed issue #597 - Crashes when the floating widget moves to the dock manager and then tries to drag it back
2024-01-16 14:03:53 +01:00
Uwe Kindler
7abc698d09
Fixed #594 - Destruction of CDockWidget inside a CFloatingDockContainer
2024-01-04 08:31:18 +01:00
Henning
c0985f6497
Fix empty floating widget on linux ( #563 )
2023-09-22 20:03:02 +02:00
luzpaz
0d10c6e2d9
Fix various typos ( #547 )
...
Typos found via `codespell -q 3 -L te,ridiculus,varius`
2023-08-08 19:46:12 +02:00
Uwe Kindler
39bc7f1780
Properly consider pinnable flag of dock widget when painting the drop overlays - no auto hide overlay for non pinnable dock widgets
2023-07-11 10:28:17 +02:00
Uwe Kindler
1c6d86e70f
Added support for make auto hide widget floating via double click or context menu
2023-07-07 11:21:54 +02:00
Uwe Kindler
0b3c3f0123
Merge branch 'master' into autohide_drag
2023-07-01 21:28:07 +02:00
Uwe Kindler
8d4507e9d8
Fixed mouse pressed state for Linux (use memeber variable instead of static)
2023-06-30 11:28:11 +02:00
Uwe Kindler
b801f0655d
Improved dragging of widgets into AutoHideArea
2023-06-28 14:01:08 +02:00
Uwe Kindler
36cdf4a252
Fixed warnings on MacOS: replaced QApplication::setActiveWindow(this); with QWidget::activateWindow
2023-06-23 10:28:55 +02:00
Eric Wong
916df28fcd
Update FloatingDockContainer.cpp
...
remove dock container
2023-06-16 17:37:31 +08:00
Eric Wong
c08d91687a
Update FloatingDockContainer.cpp
...
saveState() may use the floatingDockContainer to be deleted
2023-06-14 12:07:45 +08:00
Uwe Kindler
1186d2b78c
Fixed #509 - Implemented support for restoring maximized state of floating widgets on Windows
2023-04-28 11:12:22 +02:00
Uwe Kindler
44115d4bd9
Added support for printing events to diagnose window state ploblem
2023-04-28 08:33:45 +02:00
Murmele
a940fc29c6
Use code also for other unix systems like BSD ( #507 )
2023-04-18 19:17:10 +02:00
Uwe Kindler
cae42939c8
Disable native windows on Linux if wayland is used
2023-02-10 11:36:40 +01:00
Uwe Kindler
a2a328e3c7
Ensure that auto hide widget will be closed if user starts dragging floating widget or docked widget
2022-11-22 11:11:49 +01:00
Uwe Kindler
f554df9e7a
Fixed FloatingDockContainer.cpp to properly post the dragging start event
2022-11-15 09:28:23 +01:00
Uwe
7f58877a47
Added FloatingWidgetDragStartEvent to hide AutoHideContainer if user drags floating widget
2022-11-15 08:44:07 +01:00
Uwe Kindler
5e59a6dc3a
Removed debug output
2022-11-03 16:49:20 +01:00
Uwe Kindler
c94155fb06
Moved SideBarLocation enum out of CDockWidgetSideTab into global ads namespace
2022-10-27 10:22:28 +02:00
tytan652
537828ef3d
Allow to set a custom title for all FloatingContainer ( #454 )
2022-10-20 21:35:31 +02:00
Uwe Kindler
3cd6d766f8
Added some documentation for Linux modal dialog fix
2022-09-05 09:06:29 +02:00
Uwe
d27783e2f1
Added check for model widget for Linux
...
Prevent painting of drop overlays when model widget is active
2022-09-02 14:54:48 +02:00
Uwe Kindler
a0f0640c9f
Fixed CustomCloseHandling for floating widgets
2022-07-29 13:25:14 +02:00
bjb-work
df74686287
call CDockWidget::closeDockWidgetInternal when close attempt and CustomCloseHandling ( #438 )
...
Co-authored-by: bjb-work <N/A>
2022-07-15 14:47:20 +02:00
Uwe Kindler
78a4166e42
Updated CFloatingDockContainer::closeEvent() function to delete all dock widgets with DockWidgetDeleteOnClose flag set
2022-03-25 13:31:40 +01:00
ruffianhy
ad06241c9d
fix(issue-350): on RedHat/CentOS, sometimes there will be one more move event after user release their mouse which will cause the floating overlay can not be hide. Here we use the WindowActivate and WindowDeactivate event to check whether user release their mouse. ( #401 )
2022-03-13 21:22:07 +01:00
Lucas
0b82ff30fe
Fix issue #351 : https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/issues/351 ( #357 )
2021-10-01 15:30:33 +02:00
Uwe Kindler
ebde50b492
Fixed FloatingDockContainer Linux build for Qt6
2021-01-10 10:22:54 +01:00
Uwe Kindler
018ce2001e
Fixed all Qt6 build issues
2021-01-02 18:06:45 +01:00
Uwe Kindler
37cbae84ca
Fixed debug output in FloatingDockContainer.cpp
2020-09-21 09:39:03 +02:00
Uwe Kindler
059a055483
Renamed FloatingContainerForceCustomTitleBar to
...
FloatingWidgetForceQWidgetTitleBar
2020-08-31 09:48:32 +02:00
Uwe Kindler
dcf1ee393e
Added support for CSS styling of custom widget titlebar close button
2020-08-31 09:38:18 +02:00
Uwe Kindler
04aecb3693
Some code cleanup, adjustments to match ADS coding style
2020-08-31 08:32:56 +02:00
helywin
533d174abc
Finished implementing maximize for linux.
...
Added FloatingContainerForc*TitleBar to switch between native and custom titlebar.
Co-authored-by: SleepProgger <SleepProgger@users.noreply.github.com>
2020-08-29 05:03:21 +02:00
Uwe Kindler
e71884b23d
Replaced configFlags().testFlag() with testConfigFlag() to improve code readibility
2020-06-11 08:06:37 +02:00
Uwe Kindler
c939df73fa
Merge branch 'focused_dockwidget'
2020-06-09 21:57:23 +02:00
Uwe Kindler
fdf169ce9a
Fixed docking of floating widgets for MacOS
2020-06-09 20:29:19 +02:00
Uwe Kindler
a9268e6bf7
Fixed build issues and improved styling
...
Improved styling of close buttons and focused close buttons
2020-06-07 17:28:23 +02:00
Uwe Kindler
c4d2d72e92
Added activateWindow() call in CFloatingDockCiontainer::showEvent
...
This is required to properly style the floating widget that contains the currently focused widget
2020-06-05 13:40:36 +02:00
Uwe Kindler
a65b1bdcaf
Removed new dropped signals
2020-06-05 07:27:44 +02:00
Uwe Kindler
ccf8ea9d1e
Try to fix appveyour build problem
2020-05-27 15:26:36 +02:00
Uwe Kindler
dfb8543aee
Properly handle Escape key in native Window event handling function if event WM_EXITSIZEMOVE occurs
2020-05-27 13:28:29 +02:00
Uwe Kindler
6a393955cd
Removed debug output
2020-05-22 21:18:59 +02:00
Uwe Kindler
6b5f364864
Fixed issue #179 - appearance of drop indicators then Windows option "Show window contents while dragging" is
...
FloatingDragPreview.cpp: moved code from moveEvent into moveFloating function to remove indirection and to simplify code
Moved code from moveEvent() function into moveFloating() to remove indirection and to simplify code
Implemented Windows drag handling with native WM_ nonclient area messages
2020-05-22 19:43:50 +02:00
Uwe Kindler
427b5a0be0
Added nullptr check to fix potential issue #171 - nullptr access closing a CFloatingDockContainer
2020-05-14 07:20:30 +02:00
Uwe Kindler
cdc863e962
Fixed dropping of FloatingDragPreview into center of dock container with only one single visible dock area
...
If this happens the dropped dock widget needs to get tabified
2020-04-27 14:00:37 +02:00