Uwe Kindler
62d3d73651
Made Auto Hide Feature independent from Focus Feature and renamed OverlayDockContainer to AutoHideDockContainer
2022-10-12 11:17:54 +02:00
Syarif Fakhri
880a7f13b5
add config flag in ads demo
2022-09-22 10:40:11 +08:00
Uwe Kindler
a0f0640c9f
Fixed CustomCloseHandling for floating widgets
2022-07-29 13:25:14 +02:00
Uwe Kindler
0e566cb8a3
Fixed #420 - Floating docks title doesn't update
...
added tests for DockWidget->setWindowTitle() in demo application
2022-05-10 13:41:19 +02:00
Uwe Kindler
2afe62ec77
Fixed issue #378 - Don't show empty floating containers on startup
2021-12-06 09:42:12 +01:00
Rodrigo Oliva
87b0596ebc
Add feature to close tabs with the middle mouse button. ( #360 )
...
Co-authored-by: Rodrigo Oliva <Rodrigo.Oliva@king.com>
2021-10-11 20:33:56 +02:00
Nicolas Elie
b5b251dffb
Update Python Bindings ( #348 )
...
* Update Python bindings
* Add X11Extras to setup.py for Linux builds
* Update Python Bindings
* Update Python bindings
* Update Python Bindings
2021-08-26 13:51:09 +02:00
Uwe Kindler
bbdf0ef29d
Added test for resizing of DockAera
2021-08-03 14:59:28 +02:00
Rui Oliveira
aff0bd6e25
Add Qt6 support on CMake ( #319 )
2021-04-28 22:52:45 +02:00
Nicolas Elie
f835ffd978
Update Python bindings ( #289 )
...
* Update Python bindings
* Add X11Extras to setup.py for Linux builds
* Update Python Bindings
* Update Python bindings
2021-01-04 14:01:28 +01:00
Uwe Kindler
d8c6efaada
Fixed signal connection of perspective combobox
2021-01-02 21:05:05 +01:00
Uwe Kindler
8d14068df7
Fixed QMouseEvent::globalPos() warning
2021-01-02 20:29:59 +01:00
Uwe Kindler
e55ad49db8
Created ads.pri to ease linking of ads library
2021-01-02 19:48:34 +01:00
Uwe Kindler
018ce2001e
Fixed all Qt6 build issues
2021-01-02 18:06:45 +01:00
Uwe Kindler
0a096869fe
Fixed adding of dock widgets to floating widget
2020-11-21 15:08:30 +01:00
Uwe
04aa622111
Fixed static qmake build
2020-10-30 21:49:28 +01:00
Uwe Kindler
f3d32399e5
Added ads::CDockWidget::DockWidgetForceCloseWithArea test to demo/MainWindow.cpp
2020-10-13 20:55:09 +02:00
Nicolas Elie
81afe2d3cb
Update Python Bindings again ( #262 )
...
* Update Python bindings
* Add X11Extras to setup.py for Linux builds
* Update Python Bindings
2020-10-01 19:14:48 +02:00
Uwe Kindler
f5759716b4
Added support for perspectives to centralwidget example to test save and restore state functionality with central widget
2020-09-21 08:39:39 +02:00
Uwe Kindler
6eb497fb64
Added test for dock manager flag EqualSplitOnInsertion to demo aplication
2020-09-03 15:22:43 +02:00
Nicolas Elie
48c4106b7f
Update Python Bindings ( #249 )
...
* Update Python bindings
* Add X11Extras to setup.py for Linux builds
2020-09-01 16:06:43 +02:00
Uwe Kindler
c78cc17730
Properly persist dock area HideSingleWidgetTitleBar flag (and all other dock area flags)
2020-08-18 10:48:35 +02:00
Nicolas Elie
75841415a3
Update Python bindings ( #231 )
...
* Update Python bindings to reflect changes in 8443414
* [Python] Fix no such signal error for signals with a reference to an object in ads namespace
* [Python] Update examples
2020-07-30 13:44:05 +02:00
Uwe Kindler
4a6d2d3514
Changed demos to delete the dock manager when the main window is closes to ensure that all floating widgets als "closed" (destroyed)
2020-07-22 11:28:41 +02:00
Some Guy
8443414ae3
Added setHideSingleWidgetTitleBar to DockWidgetArea
2020-07-21 08:20:17 +02:00
Uwe Kindler
ef5b22c616
Merge branch 'master' into focus_changed_fix
2020-07-06 07:35:08 +02:00
Uwe Kindler
42161c807a
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-07-05 22:29:38 +02:00
Uwe Kindler
e6e83d5775
Added test for CDockWidget::setWindowTitle function
2020-07-05 21:48:48 +02:00
Nicolas Elie
5b2bc2297b
Update Python bindings and demo to reflect recent changes ( #218 )
...
* Generate Python stubs file for linters
* Sort members of ads namespace in generated __init__.py
* Fix pyi generatation in setup.py if building inplace
* Update sip files and demo
2020-07-04 17:07:48 +02:00
Uwe Kindler
2de3e7e3be
Deferred focusedDockWidgetChanged signal until dock widget becomes visible
2020-07-03 23:24:20 +02:00
Uwe Kindler
e2080b5cfc
Restored default dock manager config flag settings
2020-07-03 22:22:00 +02:00
Uwe Kindler
679fa81f6d
Added new CDockWidget feature flag focusable
2020-07-03 14:55:33 +02:00
Uwe Kindler
da20405a6a
Fixed a compiler warning
2020-06-26 11:34:17 +02:00
Uwe Kindler
7baf0f90e8
Converted dock content creation functions to member functions to allow ui access
2020-06-26 11:19:37 +02:00
Uwe Kindler
ffed6a9c5f
Merged pull request #201 but made it configurable via config flag
2020-06-14 10:39:07 +02:00
Davide Faconti
38d8e6aa25
fix
2020-06-13 17:22:25 +02:00
Uwe Kindler
e71884b23d
Replaced configFlags().testFlag() with testConfigFlag() to improve code readibility
2020-06-11 08:06:37 +02:00
Uwe Kindler
97e3d72566
Disabled focus highliighting in demo application
2020-06-09 22:00:46 +02:00
Uwe Kindler
ff3fcdcacd
Removed debug output
2020-06-09 14:40:13 +02:00
Uwe Kindler
0227bd1786
Added icon for proper styling of focused close icon
2020-06-07 17:19:07 +02:00
Uwe Kindler
312a8cf500
Enabled ClickFocus for CDockWidget to support focussing in case the content does not support it
...
Renamed FocusStyling to FocusHighlighting
2020-06-06 14:59:03 +02:00
Uwe Kindler
f5c4b26aab
Moved focus related functionality into CDockFocusController class to keep the dock manager code clean
2020-06-05 20:42:43 +02:00
Uwe Kindler
4041aa72cc
Implemented proper support for setting floating widget focused widget
2020-06-05 06:55:43 +02:00
Uwe Kindler
a3e979a8ad
Disabled setFocus in CDockWidget::setActiveTab
2020-06-03 19:49:57 +02:00
Uwe Kindler
e626a7e302
Merge branch 'master' into focused_dockwidget
2020-06-03 17:52:46 +02:00
Luca
c53be0e97d
Modernised CMake build files and CI configs ( #185 )
...
* Modernised CMake build files and CI configs
Fixed include formats
* Fixed build errors and warnings
* Fixes to allow CMake find_package
2020-05-24 09:14:33 +02:00
Uwe Kindler
9aa958e8b0
Made all focus related code optional - only if FocusStyling flag is enabled
2020-05-23 11:17:31 +02:00
Uwe Kindler
0d406ece7c
Fixed MSVC compiler warning because of using class instead of struct in a friend declaration
2020-05-14 07:31:03 +02:00
n-elie
4a8b5dd7ab
Update PyQt bindings ( #168 )
...
* Fix include header in sidebar example
* Update SIP files and Python examples
Co-authored-by: K Lauer <klauer@users.noreply.github.com>
Co-authored-by: K Lauer <klauer@users.noreply.github.com>
2020-05-13 16:05:00 +02:00
Uwe Kindler
b7e7c0ccc3
Added new test action for adding docked editor widget to test fix for issue #148
2020-05-07 16:14:59 +02:00
Uwe Kindler
e091be0b76
Restored default demo application settings
2020-04-28 07:19:06 +02:00
Uwe Kindler
e4c5eac146
Added FloatingContainerHasWidgetIcon documentation to user-guide.md
2020-04-28 06:51:34 +02:00
Uwe Kindler
ef855e3843
Added documentation for FloatingContainerHasWidgetTitle flag
2020-04-27 08:58:50 +02:00
Uwe Kindler
85626c9a21
Added Q_INIT_RESOURCE(ads) for static builds
2020-04-22 06:25:01 +02:00
Uwe Kindler
27bbe9f7f5
Added additional configuration flags to user-guide.md
2020-04-17 10:25:32 +02:00
Uwe Kindler
2be2f2bc6f
Added DragPreviewIsDynamic section to user-guide.md
2020-04-15 20:18:20 +02:00
Uwe Kindler
4ac7291831
Merge branch 'documentation'
2020-04-14 17:24:44 +02:00
Uwe Kindler
b5e9096387
Fixed cmake build
2020-04-14 17:24:34 +02:00
Uwe Kindler
19c8e9ffcc
Started creation of user-guide.md
2020-04-14 17:23:01 +02:00
Uwe Kindler
6a815a836c
Implemented status dialog in demo application to test several CDockWidget functions
2020-04-14 16:07:00 +02:00
Uwe Kindler
277d3fffe4
Removed unused slot
2020-04-13 22:40:14 +02:00
Uwe Kindler
8aae6bf70b
Added DockWidget functions setAsCurrentTab, raise, isCurrentTab, isTabbed
2020-04-13 22:16:47 +02:00
Uwe Kindler
a668fe2f73
Added new config flag HideSingleCentralWidgetTitleBar to enble a central single dock widget in the main dock container (dock manager) without titlebar
...
Added a test case for the new flag to MainWindow.cpp
2020-04-12 01:05:20 +02:00
Uwe Kindler
1f995299f0
Added setFullScreen(), setNormal() and isFullScreen() function to CDockWidget to be more compatible to QDockWidget
2020-04-09 23:16:50 +02:00
Uwe Kindler
7a17aba42d
Fixed takeWidget() function and fixed setWidget() function to handle case if there is already a content widget
2020-04-09 21:44:21 +02:00
Uwe Kindler
28dc374fc2
Added support for proper handling on non client escape key presses on Windows
2020-04-01 08:12:45 +02:00
Uwe Kindler
0e88467f94
DockAreaWidget now properly considers minimumSizeHint() of contained DockWidgets
...
Added setMinimumSizeHintMode() test in demo MainWindow
2020-03-28 19:32:07 +01:00
Hugo Slepicka
8cc9cc25ad
Fixed and updated Python integration ( #127 )
...
* FIX: Add Q_OS_MACOS flag to moc compiler.
* (Python) Demo and example from @n-elie.
* FIX: Addressing some sip files that were inconsistent with the header files.
* (Python) Addressing comments by @n-elie and switching to use WS_X11 for platform checks.
* (Python) Wrap definition of tFloatingWidgetBase to avoid 'Already Defined' error and fix include path for sip/linux/FloatingWidgetTitleBar.sip.
* Remove simple.py
* Fix case sensitive ui file loading in Linux
* Add windows case in get_moc_args
* Remove conda recipe
Co-authored-by: n-elie <40382614+n-elie@users.noreply.github.com>
2020-02-25 07:22:51 +01:00
Hugo Slepicka
c90fb9413c
FIX: Update Python SIP bindings 3.2.1 & Linux Crash ( #126 )
...
* (Python) WIP: attempt to update to 3.2.0
* (Python) MAINT: move demo.py to demo/ to avoid PyQtAds import issue
* (Python) STY: remove trailing whitespace
* (Python) Missing/incorrect /Transfer/ annotations
* (Python) n-elie's fix for setup.py moc generation
* (Python) FIX: Q_OS_LINUX is not defined by default with moc
* (Python) FIX: split FloatingDockContainer.sip to be platform-specific
%If (Platform) blocks around the class definition in
FloatingDockContainer.sip did not seem to work.
Co-authored-by: K Lauer <klauer@users.noreply.github.com>
2020-02-21 22:47:09 +01:00
Uwe Kindler
e8332575f8
Improved tab dragging, added support for undocking if mouse leaves tabbar during tb dragging
2020-02-19 22:48:17 +01:00
Uwe Kindler
d4a18003d9
Properly implemented handling of DockWidget flag DockWidgetIsMovable for NonOpaque undocking - creating the drag preview is allowed even if the DockWidget is not floatable
2020-02-16 14:37:14 +01:00
Uwe Kindler
f387c6aebc
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-02-13 13:51:11 +01:00
Uwe Kindler
3efc5f2ada
Added DockComponentsFactory.h documentation, changed DockComponentsFactory showcase in MainWindow after discussion on GitHub
2020-02-11 15:38:49 +01:00
Uwe Kindler
3eba02597c
Added missing svg icon
2020-02-11 11:57:53 +01:00
Uwe Kindler
65eeffd5e1
Added showcase for DockComponentsFactory - a help button is injected into a title bar
2020-02-11 09:31:57 +01:00
mvidelgauz
7ba20f37b7
Icon of floating window ( #116 )
...
* FloatingContainerHasWidgetTitle and FloatingContainerHasWidgetIcon config flags
2020-02-10 20:07:36 +01:00
Uwe Kindler
c4872c6b10
Added showcase for custom title bar widget to demo application
2020-02-07 14:29:02 +01:00
mvidelgauz
474dd13855
Disable tabs menu button when only single tab exists in a Dock area ( #111 )
2020-02-06 15:21:19 +01:00
Uwe Kindler
72496ebd48
Comitted missing app.css file
2020-02-06 12:55:26 +01:00
Uwe Kindler
b727274cd9
Implemented support for custom DockWidget actions for display in DockArea title bar
2020-02-06 09:15:13 +01:00
Uwe Kindler
094fa37135
Implemented supprt for customdock area title bar buttons
2020-02-06 00:31:57 +01:00
mvidelgauz
b8ed70fa33
Added DockAreaHideDisabledButtons configuration flag ( #110 )
...
* CInvisibleButton generalized to CTitleBarButton to serve more purposes
* Disabled buttons are hidden if CDockManager::DockAreaHideDisabledButtons set to true
2020-02-05 08:04:27 +01:00
mvidelgauz
1d68e27558
Added DockAreaHasTabsMenuButton and DockAreaHasUndockButton to CDockManager config ( #108 )
...
* Added DockAreaHasUndockButton and DockAreaHasTabsMenuButton configuration flag
2020-02-02 16:22:05 +01:00
mvidelgauz
6c3f82547d
setAllowedAreas for individual DockAreaWidget ( #107 )
...
* setAllowedAreas for individual DockAreaWidget
* alligning tab policy with master
2020-02-02 15:56:31 +01:00
Uwe Kindler
9fe8f291fb
Fixed CDockManager::DockAreaHasCloseButton == false issue
2020-02-02 11:16:38 +01:00
Uwe Kindler
418d0740d2
Switched from local event pos to global event pos in DockWidgetTab to fix jumping tabs when hiding / showing tabs close button
2020-01-15 10:03:50 +01:00
Uwe Kindler
03bd4a4505
Added visibilityChanged code
2020-01-14 15:58:45 +01:00
Uwe Kindler
4c928071af
Merge branch 'master' into closerequest
...
# Conflicts:
# demo/MainWindow.cpp
2020-01-12 15:07:51 +01:00
Uwe Kindler
ea03b988e0
Fixed CMake Windows build
2020-01-11 23:44:46 +01:00
Uwe Kindler
8057d25f35
Fixed broken cmake build for Windows because of missing Qt5AxContainer library
2020-01-11 15:16:33 +01:00
Uwe Kindler
592193fc91
Updated MainWindwow to center it properly on start
2020-01-11 13:53:58 +01:00
Uwe Kindler
5cf4aa77d8
Build QAxWidget specific stuff only on Windows
2020-01-11 12:05:44 +01:00
Uwe Kindler
616e50c3f5
Fixed FloatingDockContainer closeEvent to properly support QAxWidgets
2020-01-10 08:54:44 +01:00
Uwe Kindler
a5e8011222
Implemented custom close handling
2020-01-06 11:42:36 +01:00
Uwe Kindler
c33c09eab1
Fixed some typos in MainWindow.cpp
2019-12-17 14:52:17 +01:00
Uwe Kindler
0fb1363b1a
Moved tab_menu.gif to the right location
2019-12-17 14:11:21 +01:00
Uwe Kindler
4a2768015c
Added tab_menu animated gif
2019-12-17 14:08:03 +01:00
Uwe Kindler
056f04d408
Properly implemented support for canceling non-opaque undocking on Linux
2019-12-16 11:45:18 +01:00
Uwe Kindler
8c1f065f3f
CHanged DockAreaTabBar to handle the dragging state via DragState member variable instead of testing for FloatingWidget nullptr
2019-12-16 08:41:15 +01:00
Uwe Kindler
5af6b4e324
Improved source documentation and images
2019-12-16 08:06:38 +01:00