Commit Graph

36 Commits

Author SHA1 Message Date
baldurk 0837e66939 Placeholder UI of texture viewer toolbar 2015-07-10 16:38:46 +02:00
baldurk a922241b48 Bit more placeholder TextureViewer API 2015-07-10 16:38:45 +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 227e6feddd Add property to ToolWindowManager to disallow docking to float windows 2015-07-10 16:38:43 +02:00
baldurk c1344c2ff3 Implement jump and find functionality in event browser 2015-07-10 16:38:42 +02:00
baldurk 97920b7b31 re-indent Qt code to match rest of C++ code 2015-07-10 16:38:41 +02:00
baldurk 9276cb875f Hook up the jump/find bars 2015-07-10 16:38:41 +02:00
baldurk fa4e98d1f7 Add UI for find, jump to event and bookmark toolbars (not implemented) 2015-07-10 16:38:40 +02:00
baldurk 7eded723a9 Implement event browser time drawcalls button 2015-07-10 16:38:39 +02:00
baldurk 4f5673941d Implement load-log-by-commandline behaviour 2015-07-10 16:38:37 +02:00
baldurk 162269451a Make sure to properly initialise member variables 2015-07-10 16:38:36 +02:00
baldurk 459272d790 Disable annoying warning on linux too 2015-07-10 16:38:35 +02:00
baldurk a405ee13ca Loads of changes, fix thread & invoke helpers, skeleton of Core working
* GUIInvoke helper changed to use QMetaObject::invokeMethod which works
  on threads better.
* LambdaThread helper class now has a thread member, it doesn't derive
  from thread (this seems to be recommended practice).
2015-07-10 16:38:34 +02:00
baldurk f6400f383e Remove annoying warning 2015-07-10 16:38:33 +02:00
baldurk 7dcb079389 Temporary (non-running) test of invoking via lambdas GUI->Renderer->GUI
* This won't run properly but it's just to test that we can get this
  compiling.
2015-07-10 16:38:32 +02:00
baldurk 1ae7bc73bf Compile in core.cpp 2015-07-10 16:38:31 +02:00
baldurk 19784f6554 Add a utility class/func to allow easy lambda invokes onto GUI thread 2015-07-10 16:38:31 +02:00
baldurk 005d1d0875 Change RenderManager invoke method to be std::function to allow lambdas 2015-07-10 16:38:30 +02:00
baldurk 93dfd014a2 Fix pathing on resources.qrc from EventBrowser being moved 2015-07-10 16:38:29 +02:00
baldurk 172372a2f1 Add skeleton (untested) of RenderManager handling its own thread 2015-07-10 16:38:28 +02:00
baldurk 58f5e1181d Fixups for compiling with new file organisation 2015-07-10 16:38:28 +02:00
baldurk 56c4b23c7a Organise source files a bit more, add Core class 2015-07-10 16:38:26 +02:00
baldurk 355729aaad Put QRC intermediate files in .obj as well 2015-07-10 16:38:25 +02:00
baldurk 5ba1ae0730 Fix linux compiling by enabling C++11 (for initializer lists) 2015-07-10 16:38:24 +02:00
baldurk 29efd6df2f Add X11 support for rendering to Qt windows via native handle 2015-07-10 16:38:23 +02:00
baldurk ae113bffe1 Update case on header files for Qt custom widgets 2015-07-10 16:38:23 +02:00
baldurk bb137371e3 Set up event browser QTreeWidget and allow browsing through the frame 2015-07-10 16:38:22 +02:00
baldurk a96167a110 Add resources to qrenderdoc (identical to renderdocui resources) 2015-07-10 16:38:21 +02:00
baldurk 1d87a6eec0 Add CustomPaintWidget and super-super hacky initial 'rendering' test 2015-07-10 16:38:21 +02:00
baldurk f04b72ba07 Add missing \s from merge conflict 2015-07-10 16:38:18 +02:00
baldurk 1e7a473354 Placeholder event browser and texture viewer windows, for testing 2015-07-10 16:38:18 +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
baldurk e68e8efa40 rename mainwindow to MainWindow 2015-07-10 16:38:16 +02:00
baldurk b2c582aea1 Fixes for qrenderdoc on linux 2015-07-10 16:38:15 +02:00
baldurk 35cc323ee4 Add skeleton qrenderdoc (just a qt template) & include in linux build
* Building qrenderdoc on windows will be supported just because that's
  likely where I will be developing it mostly, but for the foreseeable
  future it won't be built by default. If it ever gets good enough to
  replace the .NET UI, then we can look at it again.
2015-07-10 16:38:14 +02:00