Commit Graph

627 Commits

Author SHA1 Message Date
baldurk 39f2a6d3dc Update toolwindowmanager to 8a1543b 2017-06-01 12:41:12 +01:00
baldurk 26c4284b26 Add new ToolWindowManagerSplitter files to projects 2017-06-01 12:31:29 +01:00
baldurk 2b9f9665f9 Update toolwindowmanager to 9b0b99a 2017-06-01 11:28:40 +01:00
baldurk 59977e47de Use GLSL highlighting for now on vulkan source files
* Later we should pipe through the source language from the SPIR-V and
  use that instead, for the other APIs it's just trivially HLSL/GLSL.
2017-06-01 11:28:38 +01:00
baldurk cbdf9951b9 Style preprocessor commands in HLSL/GLSL 2017-06-01 11:28:38 +01:00
baldurk c7fb05744c Always display full tabs for file scintilla docks in shader viewer 2017-06-01 11:28:36 +01:00
baldurk 0f8e3ce452 Send DeferredDelete events explicitly in our main event loop
* It's not entirely clear if this is the intended fix, but otherwise
  since we're not running QApplication::exec() the main event loop has
  the same 'loop level' of 0 as the event level when it's fired. The
  proper functioning seems to be that the posted deleteLater event
  should have an event level of 1 which then means it will be processed
  when coming back to the exec() loop level of 0, but since we don't get
  that, just run it manually after all other events.
2017-06-01 11:28:36 +01:00
baldurk be4358207a Allow for up to 7 digits of space in vertex/index columns in mesh view 2017-05-31 12:42:04 +01:00
baldurk 2ca83cbea4 Don't accidentally insert bounding box data while trying to look it up 2017-05-31 12:39:58 +01:00
baldurk 58a2560c49 Reset the arcball around the bounding box when resetting the camera 2017-05-31 12:30:03 +01:00
baldurk 973cbd380f Don't show bounding box around rasterized output in mesh viewer 2017-05-31 11:39:00 +01:00
baldurk 327b822230 Update wireframe mesh 'icon' image to be less arbitrary and weird 2017-05-30 17:14:50 +01:00
baldurk fbf03ecd77 Set up pipeline viewers to re-draw the mesh icon in an appropriate color 2017-05-30 17:14:37 +01:00
baldurk 26862d92b2 Add a toggle to RDLabel to preserve the aspect ratio of its pixmap 2017-05-30 17:08:37 +01:00
baldurk c95f7c4cea Add default copy-paste handlers for RDListWidget and RDTreeWidget 2017-05-30 16:13:41 +01:00
baldurk 4d8ee2be43 Remove a function that is unimplemented and unused 2017-05-30 15:38:23 +01:00
baldurk a79ca2f73c Fix an extra arg %4 parameter that's unused for 3-wide vectors 2017-05-30 15:38:15 +01:00
baldurk aeab2d085b Get fix for toolwindowmanager - 3a02944 2017-05-30 15:37:58 +01:00
baldurk 641eaf4665 Add option to instantly show tooltips over RDTreeWidget items 2017-05-30 14:08:44 +01:00
baldurk 2c145fc64c Add handling to remote suggestion dialog for selecting remotes 2017-05-30 13:18:57 +01:00
baldurk 6d08766792 Set ToolWindowManager::AlwaysDisplayFullTabs on texture viewer displays 2017-05-30 12:39:16 +01:00
baldurk d4ac0118ce Update toolwindowmanager to f86518a 2017-05-30 12:39:01 +01:00
baldurk 3ab7510c7f Avoid calling XOpenDisplay multiple times, fixes crashes on Intel Mesa
* See https://bugs.freedesktop.org/show_bug.cgi?id=99831
  https://bugs.freedesktop.org/show_bug.cgi?id=54971
* It's not clear if it's invalid to call XOpenDisplay more than once but
  at the very least it's only really used as convenience to avoid
  plumbing the display handle through.
2017-05-30 12:02:00 +01:00
baldurk 34112696e6 Update toolwindowmanager to 13451b8 with a few more fixes 2017-05-29 18:21:43 +01:00
baldurk 19218b6bef Remove hardcoded color stylesheets from shader labels in pipeline views 2017-05-29 17:52:25 +01:00
baldurk 886ec3190c Use WindowText color for custom painting on RDSplitterHandle 2017-05-29 17:52:01 +01:00
baldurk a504355900 Use QPalette::Base as background for SuggestRemoteDialog
* Removes hardcoded #fff white background which breaks on other themes.
2017-05-29 16:59:02 +01:00
baldurk 09c9ae94d2 Change the vulkan layer warning to be theme-friendly
* The hardcoded background color didn't work on light-on-dark themes,
  so instead just use the tooltip base color, and darken on hover.
2017-05-29 16:51:57 +01:00
baldurk da6560f9aa Use anti-aliasing when rendering histogram bar 2017-05-29 16:07:56 +01:00
baldurk d170724bdb Update to toolwindowmanager 8e36057 to get a couple of important fixes 2017-05-29 15:59:26 +01:00
baldurk 158bc4d583 Update code for new toolwindowmanager 2017-05-29 13:31:28 +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 87ec279f1c Update some forgotten Copyright years to 2017 2017-05-19 17:28:41 +01:00
baldurk ec4899ec72 Default current view in buffer viewer to VS In. 2017-05-19 16:24:43 +01:00
baldurk 79a61c5700 Disallow docked panels in a shader viewer from becoming float windows 2017-05-19 14:44:32 +01:00
baldurk a8a7e32cc0 Set reasonable bounds and steps for projection matrix guess controls 2017-05-19 14:41:42 +01:00
baldurk 5f05c4309f Fix a mistaken string format that merged two arguments accidentally. 2017-05-19 14:41:23 +01:00
baldurk 5b74b66493 Don't construct a QFont globally (as a class static)
* It causes a crash when Qt is statically linked.
2017-05-18 15:05:03 +01:00
baldurk 5dc10bcc3d Make sure to call parent event handlers when we override to emit signals 2017-05-17 16:42:37 +01:00
baldurk f6cef9ea4a Don't setFont(Consolas) - it's windows only. Fix monospace for scintilla 2017-05-17 15:55:42 +01:00
baldurk f8d10850f8 Fix ambiguous QVariant casts from uint64_t on linux 2017-05-17 13:59:17 +01:00
baldurk 9831a8eb24 Fix compile error comparing enums 2017-05-17 13:20:51 +01:00
baldurk 5b5e30cf54 Add HTML pipeline export for qrenderdoc 2017-05-15 10:11:56 +01:00
baldurk a6c77b5dee Give little tag structs unique names so we don't violate the ODR 2017-05-15 10:11:56 +01:00
baldurk f9908927ad Add RDTreeWidgetItem overload that constructs from QVariantList 2017-05-15 10:11:55 +01:00
baldurk 83f155855b Hex formatted numbers are always uppercase 2017-05-15 10:11:55 +01:00
baldurk 5986f209e1 Use Formatter::Format for formatting hex numbers 2017-05-15 10:11:55 +01:00
baldurk 08fa2ec411 Fix formatting of blend factor in pipeline state 2017-05-15 10:11:55 +01:00
baldurk 870f0cc166 Filename filters should be translated 2017-05-15 10:11:55 +01:00
baldurk 505dacfd21 Fix incorrect array index 2017-05-10 18:51:32 +01:00