Commit Graph

18 Commits

Author SHA1 Message Date
baldurk 40ed57c61a Update toolwindowmanager to 986c8e4881ff9e615c5f8c71347f9137c13fadfa 2018-02-19 00:52:15 +00:00
baldurk 8f598e0b0f Update toolwindowmanager to 2b84ee038d3883836e13a952ae14ab2e6ff842a6 2017-12-21 11:44:55 +00:00
baldurk 0c1c171b4f Update toolwindowmanager to c0943da98b811f39f4fda56306bbeb741fb1214b 2017-11-17 16:30:46 +00:00
baldurk 2b9f9665f9 Update toolwindowmanager to 9b0b99a 2017-06-01 11:28:40 +01:00
baldurk aeab2d085b Get fix for toolwindowmanager - 3a02944 2017-05-30 15:37:58 +01:00
baldurk d4ac0118ce Update toolwindowmanager to f86518a 2017-05-30 12:39:01 +01:00
baldurk 34112696e6 Update toolwindowmanager to 13451b8 with a few more fixes 2017-05-29 18:21:43 +01:00
baldurk 4bc361fc1a Update ToolWindowManager to 4c259a67f36491a7c1f92cfea9a424c94e0e364b
* From my fork - https://github.com/baldurk/toolwindowmanager
* Contains many changes and improvements to make the docking solution
  more usable.
2017-05-29 13:19:46 +01:00
baldurk ce53be8511 Use QStringLiteral in ToolWindowManager to convert at compile-time 2017-05-02 22:58:11 +01:00
baldurk 628df6d9c8 Fix some warnings in ToolWindowManager so we can keep level 4 globally
* Nested foreach() hiding a local variable in the macro definition.
* Declarations of 'data' parameters that hide a class member variable.
2017-04-28 18:36:55 +01:00
baldurk cba5606a83 Add middle-click-to-close for tabs in ToolWindowManager 2017-02-14 19:14:53 +00:00
baldurk 1961ea465f Handle tab button being on either side on QTabBar without crashing 2016-11-28 12:49:43 +01:00
baldurk ea587608cb Don't allow dropping dockables onto the tabs where textures sit 2016-10-10 18:50:11 +02:00
baldurk e64c666883 Allow configuring a callback to create tool windows on-demand
* This means we can start with an empty manager, load a layout, and just
  create the needed windows as we go according to what the layout needs.
2016-10-07 15:58:50 +02:00
baldurk f8b7f0ca87 Serialise area objects as [name, data] pairs, with custom persist data
* This works by presuming a property 'persistData' set up on an object.
  If configured, it will be set and restored in the data value.
2016-10-07 15:58:49 +02:00
baldurk e548cb5cf7 Allow disabling a specific tab from being dragged
* Also cancels any re-arrangements that involve that tab (mostly useful
  for a fixed tab at the start of the tab list).
2015-07-10 16:38:44 +02:00
baldurk 4627ead8f2 Add custom properties to ToolWindowManager toolwindows, update titles
* Two properties added - DisallowUserDocking which completely prevents
  a toolwindow from being dragged or docked other than programmatically.
* HideCloseButton also hides the close button that normally appears on
  the tabs created
* Also tabs now watch for title change signals and update the titles in
  tabs.
2015-07-10 16:38:44 +02:00
baldurk 764d13e11d Include ToolWindowManager for Qt docking implementation
* From https://github.com/Riateche/toolwindowmanager
* It seems superior to the built-in Qt docking as-is, and since it's
  a few open source files it should be easy to improve with features
  we might want to match DockingUI functionality.
* Programmatic sizing for the default layout seems inflexible, but since
  that's a one-time thing it's not the end of the world.
* There's no auto-hide functionality.
* The highlighting of where to drop could be improved, as well as the
  detection of where to drop (currently it seems to cycle through
  several possibilities each second rather than having a consistent drop
  location).
* Floating windows could be styled a bit better.
* Need to check whether we can have nested docking sections (so the
  texture viewer e.g. can have its own docks, that won't float or go out
  of the texture viewer.
2015-07-10 16:38:17 +02:00