baldurk
deec38b1fb
Add helper to check if RDTreeWidget item is expanded
2026-05-15 13:15:32 +01:00
baldurk
c9b9ee51e6
Allow configuring if tree widget items are selectable or not
2026-05-15 13:15:26 +01:00
baldurk
58eb49ce5b
Expand RDTreeWidget to allow per-item go column
...
* This lets us use the existing logic for hovering columns, to get things like
the hand cursor, while still only showing it for resource entries.
2026-01-28 14:42:11 +00:00
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
4b527239ae
Fix making QTreeView function public in RDTreeView
2024-12-19 15:46:42 +00:00
baldurk
c9a621a812
List registers last in shader viewer tables
2024-12-19 15:13:52 +00:00
baldurk
317c670fd5
Update GL pipeline state viewer to use new descriptor access
2024-04-10 18:58:52 +01:00
baldurk
9f4f0e6aa1
Update copyright years to 2024
2024-02-12 11:04:52 +00: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
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
a1a0dee085
Handle richtext delegate in RDTreeView instead of widget
2021-07-01 15:15:01 +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
c2a21a9106
Don't emit redundant change signals when nothing changed
2020-10-16 16:13:30 +01:00
Kevin McCullough
e213cfafa9
Modifying the TextureList to use EventBrowser-style chooser.
2020-10-15 22:19:44 +01:00
baldurk
55c57f7e89
Display stencil values in binary and decimal in tooltips. Closes #2052
2020-10-01 15:56:52 +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
ca9e43fd6e
Add hoverItemChanged event to RDTreeWidget
2019-09-30 13:41:14 +01: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
1761f5ab36
Highlight variables/registers that have changed
2018-06-22 19:28:33 +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
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
200f0799a4
Generate clickable links to resource inspector in RDTreeWidget
2017-11-17 16:30:56 +00:00
baldurk
62260a6404
Add column alignment function to RDTreeWidget
2017-10-27 12:26:01 +01:00
baldurk
5619ed66b4
Fix RDTreeWidget to allow for checkable items
2017-08-24 16:33:39 +01:00
baldurk
81ec99b58a
Don't crash in data() if no data has ever been set. Allow adding columns
2017-08-24 16:04:26 +01:00
baldurk
c0b123c575
Add itemChanged signal for RDTreeWidget
2017-08-24 16:03:49 +01:00
baldurk
1f13a1466e
Add RDTreeWidgetItemIterator for depth-first forward-only iteration
2017-08-24 16:03:01 +01:00
baldurk
1b88a39339
Optimise tree widget clearing and child adding by batching updates
...
* This takes a nice chunk of time off the pipeline state view in
particular when changing between events.
2017-08-21 17:14:21 +01:00
baldurk
231c07d390
Make sure to initialise update queueing variable to false
2017-06-03 00:49:16 +01:00
baldurk
0c3dec3b67
Go back to manually drawing PE_PanelItemViewItem in drawBranches()
...
* There's a messy order-of-operations thing to deal with various
different themes, as well as a couple of minor problems, but at least
the highlight and selection bars draw fairly consistently and don't
leave an ugly gap over the branches.
2017-06-02 17:30:41 +01:00
baldurk
a30c704e46
Inherit RDTreeWIdget from RDTreeView instead of QTreeView
2017-06-01 14:15:17 +01:00
baldurk
c95f7c4cea
Add default copy-paste handlers for RDListWidget and RDTreeWidget
2017-05-30 16:13:41 +01:00
baldurk
641eaf4665
Add option to instantly show tooltips over RDTreeWidget items
2017-05-30 14:08:44 +01:00
baldurk
f9908927ad
Add RDTreeWidgetItem overload that constructs from QVariantList
2017-05-15 10:11:55 +01:00