Commit Graph

34 Commits

Author SHA1 Message Date
baldurk 25de6726f6 Add some cross-linking for panels that view a single resource
* We add a button with a link icon to indicate that it goes to the
  resource details. We'll re-use the crosshair as a visual metaphor for
  any interactive widget that goes to the resource inspector.
* To remove any possible confusion, we change the icon for the texture
  list and locked tabs in the texture viewer to not include the link.
2017-11-17 16:30:54 +00:00
baldurk d57cc1b188 Add more consistency to docking panels and widgets
* Dock panels shouldn't have any frame border or anything like that.
* They should have an external margin of 3 pixels at their border,
  but then no further margins on the layouts (like sub-controls for
  the pipeline state views.
* Toolbars should be Raised & Panel frames. Later we'll replace them
  with actual QToolBars to better customise the painting.
2017-07-28 19:06:46 +01:00
baldurk d44528794a Change qrenderdoc icons to Farm-Fresh, to add high-DPI versions. 2017-06-19 16:17:20 +01:00
baldurk 3bd6adddc8 Implement right-click-to-toggle on channels buttons 2017-05-10 17:20:40 +01:00
Dimitris Kapnopoulos 6e06eb5164 Added tooltips for all QToolButtons. RDSplitter checks for valid index.
handleDoubleClicked in RDSplitter checks if the index argument is less than zero or bigger than count
2017-03-28 02:54:15 -07:00
baldurk 0cc4e6e909 Change some separators not hiding/showing properly in tex viewer toolbar 2017-02-14 19:14:52 +00:00
baldurk fbae19f622 Add custom shader handling to texture viewer 2017-02-14 19:14:52 +00:00
baldurk f8ed197318 Add static resources collection with pre-constructed QPixmaps & QIcons
* Apart from making the code cleaner when accessing them, creating these
  from strings can be slow if you do it often enough (e.g. once per
  resources for action/action_hover in pipeline state view).
2017-02-13 19:20:22 +00:00
baldurk c5adc7a4ed Use relative paths for 3rdparty headers, don't add to search paths
* Unfortunately scintilla assumes its headers are all in the search path
  so where possible we only add those folders when compiling scintilla
  source, not our own.
2017-02-09 19:28:22 +00:00
baldurk 9e47ed53b5 Move resources.qrc into Resources/ folder 2017-02-09 19:28:22 +00:00
baldurk 1ea3e5bcda Remove maxmimumSize where inappropriate, as it breaks on other layouts 2016-11-21 12:36:13 +01:00
baldurk 48a60104bb Create more of a directory structure for qrenderdoc files 2016-10-11 21:31:57 +02:00
baldurk db5bdbb05e Add range histogram 2016-10-11 18:33:37 +02:00
baldurk 2507634df9 Add filterable texture list to texture viewer 2016-10-10 18:48:38 +02:00
baldurk a1e9554e66 Implement the ctrl-g texture goto popup 2016-10-10 16:41:48 +02:00
baldurk 3a772f26ce Implement locked texture tabs and partially complete event usage popup 2016-10-10 13:52:00 +02:00
baldurk 3ec1be62ff Paint custom render widgets properly without output, recreate as needed 2016-10-07 19:51:05 +02:00
baldurk 2fe5165481 Make sure zoomOption box is big enough even for the largest zoom 2016-10-07 19:51:03 +02:00
baldurk 2577218e32 Add thumbnail strip widget to manage sizing and layout of thumb previews 2016-10-04 19:54:28 +02:00
baldurk f930154be7 Rename thumb lists to input/output 2016-10-04 19:54:26 +02:00
baldurk c8015b9e99 Populate mip/slice dropdowns and allow selecting which is visible 2016-10-04 19:54:23 +02:00
baldurk 59c5267e24 Set up remaining widgets etc in texture viewer 2016-10-04 14:40:07 +02:00
baldurk eaed889e62 Implement zooming and scaling 2016-09-30 18:18:07 +02:00
baldurk 827815d34e Implement scrolling the texture 2016-09-30 16:20:24 +02:00
baldurk 6b26535659 Set cursors properly on render container, make status bar a flowlayout 2016-09-30 13:57:16 +02:00
Cory Bloor f9763992ee Relax size constraints on mul entry box
The given fixed size is far too small. Removing the maximum size and
allowing it adjust to its preferred size should fix this problem.
2016-04-17 03:31:43 -06:00
baldurk 332c5e4289 Implement a rather hacky PickPixel implementation 2016-02-07 18:38:46 +01:00
baldurk 45c9bfbc37 Add thumbnail strip placeholders 2015-07-10 17:54:07 +02:00
baldurk 87f085d588 A bit more placeholder UI around the texture display rect 2015-07-10 17:13:05 +02:00
baldurk b0a168ef47 Use FlowLayout for texture viewer toolbars, do layout at runtime 2015-07-10 16:38:47 +02:00
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 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