baldurk
856c838def
Update copyright years to 2026 and fix copyright ranges
...
* In a previous update in 2021 many copyright ranges were truncated
accidentally, and some files have been copy-pasted with wrong years. These
dates have been fixed based on git history and original copyright messages.
2026-01-05 14:17:28 +00:00
baldurk
2322e165de
Update copyright years to 2025
2025-03-14 18:54:37 +00:00
baldurk
9f4f0e6aa1
Update copyright years to 2024
2024-02-12 11:04:52 +00:00
baldurk
9d39b8e1a8
Reformat code for clang-format 15
2023-09-05 11:02:08 +01:00
baldurk
d47e79ae07
Update copyright years to 2023
2023-02-01 12:23:32 +00:00
baldurk
abe645f031
Add support for saving and loading structure definitions
2022-05-20 14:15:30 +01:00
baldurk
8e76069ecf
Switch watch variables control from table to tree widget
...
* This will allow watching structs or arrays
2022-03-07 14:45:44 +00:00
baldurk
08e7a55732
Fix potential crash internally to Qt when removing tree widget items
2022-02-19 10:24:33 +00:00
baldurk
fcdea67879
Update copyright years to 2022
2022-02-17 17:38:32 +00:00
baldurk
34a65857b1
Use custom sort on shader messages for location/workgroup
...
* The default sorting is purely text based so 1,0,0 is followed by 10,0,0 not
2,0,0. We customise the sort so it does the right thing per-column.
2021-07-23 12:01:41 +01:00
baldurk
f06171f733
When copy-pasting from a treeview, trim each line individually
...
* This helps with views that have icon-only columns at the start or end, which
would generate unnecessary whitespace when copying multiple lines.
2021-07-22 11:08:28 +01:00
baldurk
c5457a141b
Add settings popup that explains & documents filters
2021-07-01 15:15:03 +01:00
baldurk
a1a0dee085
Handle richtext delegate in RDTreeView instead of widget
2021-07-01 15:15:01 +01:00
baldurk
e3eb2ee754
Fix sorting for texture viewer texture list
2021-04-20 13:51:41 +01:00
baldurk
9d3f7169ed
Add thumbnails to texture tooltips in pipeline state view
...
* If there would be no tooltip otherwise, it just shows the thumbnail. Otherwise
any tooltip text (like view parameters or image layout) is displayed below the
thumbnail
2021-04-20 13:51:41 +01:00
baldurk
260583b805
Move tooltip handling from RDTreeWidget to RDTreeView
2021-04-20 13:51:41 +01:00
baldurk
270d4e5b07
Add resource usage entries into context menu in pipeline state viewer
2021-04-19 16:44:19 +01:00
baldurk
728fa34acc
Move branch colouring to RDTreeView
2021-02-24 13:52:07 +00:00
baldurk
026da176bb
Update copyright years to 2021
2021-01-13 13:56:10 +00:00
baldurk
55c57f7e89
Display stencil values in binary and decimal in tooltips. Closes #2052
2020-10-01 15:56:52 +01:00
baldurk
7a821c20bd
Add custom context menu for all tree views with expand/collapse and copy
2020-05-29 20:09:13 +01:00
baldurk
1c19deb825
Improve copy-paste behaviour for tree views
2020-05-29 20:07:48 +01:00
baldurk
2916c0f9f7
Update copyright years to 2020
2020-01-06 16:20:45 +00:00
baldurk
ff08748238
Ensure all files have trailing new-lines and enforce with clang warning
2019-12-02 20:28:05 +00:00
baldurk
ca9e43fd6e
Add hoverItemChanged event to RDTreeWidget
2019-09-30 13:41:14 +01:00
baldurk
775fa9b635
Disconnect item model before deleting RDTreeWidget/RDTreeView
...
* This avoids odd races where some events might be fired mid-destruction and
encounter the item model in an undefined state.
2019-05-21 13:58:38 +01:00
baldurk
3d2fa8cd3e
Optimise RichResourceText to special-case for single ResourceId text
...
* Most cases don't have other text together with a ResourceId, so handle an
isolated ResourceId specially and manually render it.
* Further work - we could cache the name the same way as the RichResourceText
does. So far it doesn't seem to appear on profiling.
2019-03-29 17:48:15 +00:00
baldurk
13d35645be
When clearing RDTreeWidgetItem don't remove children one-by-one
2019-03-27 17:57:56 +00:00
baldurk
9b15368c37
Remove unused code
2019-03-27 17:57:44 +00:00
baldurk
86ff87863e
Update copyright years to 2019
2019-02-01 18:32:13 +00:00
baldurk
ce88558a7c
Refactor RDTreeWidgetDelegate into RichTextViewDelegate that is reusable
...
* This allows us to add rich text support much more easily into other itemviews
like RDTableView.
* We set it up for debug messages so that resource links in debug messages can
be linked.
2018-12-17 17:10:34 +00:00
baldurk
edc5815463
Move expansion saving to RDTreeView so it can be used in more places.
2018-08-06 16:23:02 +01:00
baldurk
ec2806df06
Add context menu for manipulating watch panel
2018-06-22 19:28:34 +01:00
baldurk
5b3a12cd0c
Save and restore tree expansion state when repopulating locals widget
2018-06-22 19:28:33 +01:00
baldurk
cb0df2c844
Combine together structs/arrays in HLSL locals panel
2018-06-22 19:28:33 +01:00
baldurk
cad5520238
Tweak the event browser to support richtext in drawcall names
...
* This lets Resource ID text become links to the resource inspector even
in drawcall names (like glBlitFramebuffer(src, dst)).
2018-02-13 21:10:06 +00:00
baldurk
2f41469228
clang compile fix - missing override specifier
2018-02-13 10:08:58 +00:00
baldurk
f2ece44e49
Implement sorting for RDTreeWidget
2018-02-12 20:48:05 +00:00
baldurk
e305029ddd
Update copyright years to 2018
2018-01-01 17:55:29 +00:00
baldurk
8931ed4086
Move leave and keyPress events from RDTreeWidget to RDTreeView
2017-11-29 19:01:23 +00:00
baldurk
cadc0f3855
Fix issue chaining RDTreeWidgetDelegate onto RDTreeViewDelegate
...
* We need to inherit to chain these two, as otherwise when the tree view
delegate calls sizeHint() it passes to the tree widget delegate, but
then has no way to return back to the tree view for the overridden
initStyleOption.
* If there was a built-in way to chain delegates like styles (which
solve this problem by calling back to baseStyle when going from one
function to another), or better yet a way to avoid the base
QStyledItemDelegate initStyleOption from completely trampling all over
the option passed in to any function, this wouldn't be necessary.
2017-11-22 19:11:24 +00:00
baldurk
43d561a4c0
Fix NULL checking and NULL dereferencing issues
...
* Reported by Coverity Scan - most of these are not an issue and a
couple of them are coverity getting really confused (like seeing a
pointer being assigned to NULL and a count to 0, then a few lines
later declaring that a loop 0..count will dereference the pointer).
* However it's harmless in all cases to add a bit of robustness to keep
the analysis happy.
2017-11-22 19:11:21 +00:00
baldurk
32a74e20e1
Extract out most code for text-with-ResourceId-links from RDTreeWidget
...
* The RDTreeWidget items still use this code, but it can now be reused
on other widgets like RDLabel.
2017-11-21 14:45:22 +00:00
baldurk
31b7662db1
Fix adding empty tree widget items in performance counter selection
2017-11-20 20:01:01 +00:00
baldurk
e790555914
Fix another case with not enough column data and protect against crashes
2017-11-17 17:06:51 +00:00
baldurk
d206a012f3
Fix incorrect data-to-column count when adding data to treewidget
...
* We also add an error in case it happens again.
2017-11-17 16:33:00 +00:00
baldurk
200f0799a4
Generate clickable links to resource inspector in RDTreeWidget
2017-11-17 16:30:56 +00:00
baldurk
fb6211a3db
Return user data from RDTreeWidget for UserRole variants
2017-11-17 16:30:47 +00:00
baldurk
62260a6404
Add column alignment function to RDTreeWidget
2017-10-27 12:26:01 +01:00
baldurk
01b1260734
Make sure to refresh model if only children were added
2017-08-31 18:34:16 +01:00