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
Uwe Kindler
a45a035bb3
Fixed problem with CDockAreaTabBar::onCloseOtherTabsRequested() if DockWidgets support the DockwidgetDeleteOnClose flag, enhanced demo to enabled creation of dynamic tables
2019-12-11 15:50:13 +01:00
Uwe Kindler
05f8ce15a2
Added support for dock widget feature DockWidgetDeleteOnClose, added toolbar action for creation of dynamic editors to demo appication, added new material design icons to improve demo gui
2019-12-10 14:44:44 +01:00
Uwe Kindler
232b6b9a61
Fixed demo configuration
2019-11-28 13:49:58 +01:00
Uwe Kindler
5978aaaedc
Set attribute Qt::WA_X11NetWmWindowTypeDock permanently for floating widgets
2019-11-28 13:45:15 +01:00
Uwe Kindler
3332f6050e
Changed initial position of floating widgets
2019-11-28 13:35:58 +01:00
Uwe Kindler
a1de28c969
Fixed demo application to properly use default settings
2019-11-28 13:22:59 +01:00
Uwe Kindler
2fe542c3ef
Improved transparent docking
2019-11-28 09:09:36 +01:00
Uwe Kindler
e15af4101a
Added initial support for transparent undocking
2019-11-26 14:40:56 +01:00
Uwe Kindler
4504457da2
Removed debug code
2019-11-25 16:06:44 +01:00
Uwe Kindler
f497944d2c
Added setFloating function to CDockWidget to support making a dock widget floating with from code
2019-11-25 15:59:08 +01:00
Uwe Kindler
aee9fb1c95
Added dock manager function addDockWidgetFloating to add initial floating dock widgets
2019-11-25 15:28:15 +01:00
Uwe Kindler
156cc71040
Fix emission of viewToggled() signal for dock widgets that are not part of the state that is restored
2019-10-01 11:48:53 +02:00
Uwe Kindler
0c5ef5e158
Added support for new configuration flag RetainTabSizeWhenCloseButtonHidden
2019-09-13 14:19:43 +02:00
Uwe Kindler
2c7764ecf7
Properly implemented flag DockAreaHasCloseButton
2019-09-12 21:24:48 +02:00
Uwe Kindler
bed99eacc2
DockManager configFlags functions are now static because the configuration flags are global, added support for QToolButton as tab close button
2019-09-12 21:15:35 +02:00
Uwe Kindler
9bd55cc15a
Fixed broken CMake build
2019-08-29 08:16:19 +02:00
Uwe Kindler
c8d4487a95
Improved source code documentation, removed empty main.qrc to silence qmake warning
2019-08-26 07:58:56 +02:00
Uwe Kindler
35c1b04c58
Merge branch 'refs/heads/master' into linux_experimental
2019-07-11 15:50:24 +02:00
Uwe Kindler
0de1a9ccae
Properly implemented support for DockWidgetFloatable feature - now detaching a DockWidget or a DockAre that is not floatable is not possible (support for DockWidgetMovable feature is not implemented yet)
2019-07-11 15:12:39 +02:00
Uwe Kindler
8853c751d6
Merge branch 'master' into linux_experimental
2019-06-04 13:40:20 +02:00
Uwe Kindler
e98fd5bcb3
Improved icons for all button, adjusted size of dock marker
2019-05-14 15:32:50 +02:00
Pavel Grebnev
7bd3765fa7
Fix compilation on linux
2019-05-04 19:08:47 +03:00
githubuser0xFFFF
fd09a681c4
Merge pull request #19 from VSRonin/master
...
Various fixes to the project files to uniform names and correctly compile static libraries.
Added configuration files for Appveyor and Travis CI, adding the project to those services should work out of the box.
2019-01-26 13:45:21 +01:00
Luca Beldi
e113790bbe
Various fixes after code review
...
Minimum required Qt lowered to 5.5.0
Added CI for Qt 5.5.1 build
Increased C++ standard to C++14
Fixed use of spaces instead of tabs
Removed duplicate constructors
2019-01-25 16:28:36 +00:00
Yozka
0c3ef64d3e
Fixed? remove space in tabs
2019-01-25 09:05:30 +05:00
Yozka
f72e2ce058
Added demo example tooltip for calendar dockWidget #20
2019-01-25 08:56:30 +05:00
Luca Beldi
ee616c2541
fixed travis script
2019-01-18 08:33:11 +00:00
Luca Beldi
275520ae29
Fixes to project files
...
Fixed naming of projects using CMake
Added working static compile using qmake
Added conventional naming of debug libraries
Added install target to qmake
2019-01-16 16:49:59 +00:00
Luca Beldi
40a8d9e6b4
Added CMake project file
...
CMake has been announced as the build system of choice for Qt in the
future so it's useful to provide a project file for it
Also added the possibility to compile as a static library
2019-01-16 09:44:34 +00:00
Uwe Kindler
9af6622466
Removed non existing resources from main.qrc
2019-01-15 19:45:14 +01:00
Samuel Gaist
1aaa56ef29
Removed non existing header in include
2019-01-15 17:24:29 +01:00
githubuser0xFFFF
a06a14d6cd
Merge pull request #15 from skartashev/master
...
Qt 5.5.1 (ubuntu 16.04) compatibility buildfixes
2019-01-15 11:41:37 +01:00
Sergey Kartashev
88d4bea2c1
Qt 5.5.1 (ubuntu 16.04) compatibility buildfixes
2019-01-15 10:12:34 +03:00
Uwe Kindler
b8ad2f7577
Removed superfluous windows.h include from main.cpp and removed unused local variable FloatingContainer from dropIntoSection() function
2019-01-14 14:18:44 +01:00
Uwe Kindler
8f54dd2a82
Added example project and updated documentation
2018-12-20 09:15:02 +01:00
Uwe Kindler
80efed693e
Removed unused DockStateSerialization files, added support for opaque splitter resizing
2018-12-11 15:19:59 +01:00
Uwe Kindler
87e3777e37
Fixed hiding and showing of close button for tab group, added support for removing perspectives
2018-12-02 12:09:31 +01:00
Uwe Kindler
0b3f419c80
Added missing main.qrc file
2018-11-20 08:00:51 +01:00
Uwe Kindler
f69af82a49
Implemented context menu for dock widget tab to close or detach tab or to close all other tabs
2018-11-09 10:07:56 +01:00
Uwe Kindler
854f542164
Added global config flags to support different dock manager behaviour
2018-11-08 12:57:25 +01:00
Uwe Kindler
b3a272110a
Some changes for dockwidget tab close button, some refactorings to make insertion of widgets into dock widget easier, added createDefaultToolBar function for creation of toolbar and removed layout flags from CDockWidget
2018-11-08 10:04:29 +01:00
Uwe Kindler
0ac19ebdfb
Update qrc and pro file
2018-11-02 09:31:13 +01:00
Uwe Kindler
bc6ffcc02c
Fixed update of floating widget window title, make disabled close button look nicer, fixed restoring of floating dock container, change save and restore functionality of dock area to save the current dock widget name instead of the current index to ensure that the right dock widget is active in an area if the number of dock widgets changes for some reasons (i.e. in plugin based applications)
2018-11-02 09:19:53 +01:00
Uwe Kindler
268f8655a1
Some smal improvements in FloatingDockContainer
2018-10-31 22:13:34 +01:00
Uwe Kindler
6617cf6f19
Implemented proper updating of floating widget title
2018-10-30 23:45:59 +01:00
Uwe Kindler
81523b0346
Removed code for disabling close button because this caused trouble, fixed updating of window title if dock area is removed
2018-10-30 14:30:02 +01:00
Uwe Kindler
ada3d6b3b5
Added minimumSizeHint function to DockWidget to prevent jumping of the height of a dock area when switching between dock widgets, fixed use of findParent function in DockWidget - non current dock widgets do not have a parent so this function will fail
2018-10-15 08:29:30 +02:00
Uwe Kindler
548dfb363a
Fixed the return value of dockContainer() function if no dock area is assigned, fixed flagAsUnassigned() function
2018-10-11 14:15:27 +02:00
Uwe Kindler
fc04aa2411
Added some debug output
2018-10-11 13:07:27 +02:00
Uwe Kindler
b3b6d20d96
Added dockWidgets() function to DockContainerWidget.h because invisible dock widgets are no children of a dock area and therefore FindChildrenRecursively() does not work
2018-10-11 08:54:32 +02:00
Uwe Kindler
77d2cebe39
Added support for a default tool bar in dockwidgets that can ajust the tool button size according to the floating state, added support for inserting the content widget in a scoll area to provide better resizing for dock widgets
2018-09-12 13:52:10 +02:00
Uwe Kindler
72ee4a53df
Improved documentation, made a lot of member functions protected to make it clearer which functions the user is allowed to use, the CDockWidget constructor now sets the objectName() to the given title, so there is no need to call setObjectName() explicitely if the title is static and unique
2018-08-29 08:47:05 +02:00