baldurk
21598b5d0c
Fix missing override on function
2021-06-01 21:35:10 +01:00
baldurk
ea16d31aa3
Invalidate cached hover index in tree view when model changes
2021-06-01 18:17:55 +01:00
baldurk
c41a6b3740
Don't call output displays while closing a capture
2021-05-27 14:16:23 +01:00
baldurk
00e1f0056d
Fix a crash if a table widget gets a copy shortcut with no selection
2021-05-19 11:44:41 +01:00
baldurk
c715d2c7ad
Pre-populate selected text in shader find dialog when pressing ctrl-f
2021-05-13 15:01:54 +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
12d9b4f850
Add copy icon to treeview context menu
2021-04-19 15:30:19 +01:00
baldurk
95e6a4a971
Respect font scale for fixed-width fonts
2021-04-12 13:04:02 +01:00
baldurk
34ea6529c9
Account for rootIsDecorated when painting tree lines in RDTreeView
2021-04-12 13:04:02 +01:00
baldurk
728fa34acc
Move branch colouring to RDTreeView
2021-02-24 13:52:07 +00:00
baldurk
c6be4f7834
Fix highlighting of active thumbnail preview
...
* This was broken in fa674a59b6 where the style
overrode the widget's foreground role. Changed to only use the custom
light/dark role when the desired role is Text (or WindowText).
2021-02-22 12:38:43 +00:00
baldurk
1c37bfa02e
Fix painting issues when scrolling with pinned columns
2021-01-25 16:14:03 +00:00
baldurk
026da176bb
Update copyright years to 2021
2021-01-13 13:56:10 +00:00
baldurk
441be22410
Override QTreeView::moveCursor to fix scrollbar behaviour. Closes #2144
...
* This prevents SH_ItemView_ArrowKeysNavigateIntoChildren from causing left-move
from an expanded node to jump immediately to its parent instead of collapsing
it when the scrollbar is not leftmost
2021-01-11 11:45:18 +00:00
baldurk
4f7abcd488
Remove unneeded window attribute in custom paint widget
...
* This was having some unpleasant knock-on effects in Qt that caused other
controls in the panels to fail to render properly.
2021-01-06 16:58:43 +00:00
baldurk
d727feb806
Improve handling of multiline richresourcetext documents
2020-12-15 22:52:38 +00:00
baldurk
df6fec13f9
Remove use of automodule in docs
...
* One automodule in a file for our modules is way too much, so we split it into
files. Unfortunately this means that only one file can have those classes and
functions be linkable from elsewhere.
* Instead we bite the bullet and manually curate the items into pages, and at
the same time subdivide the 'enums and data' page more which is a general
readability and usability win as well.
* We also add some previously not-included functions, and add a doc-build time
check to ensure that functions and classes aren't omitted from the
documentation in future
2020-12-07 17:44:50 +00:00
baldurk
9610919c16
Fix copy-paste of rich resource text
...
* We need to cache to the QString text on demand, which requires a context
potentially sooner than paint/etc time.
2020-12-02 17:44:46 +00:00
baldurk
bd9d88b328
Add missing includes
2020-11-19 17:34:11 +00:00
baldurk
3f5a911483
Refactor CustomPaintWidget to handle widget recreation internally
...
* This allows us to expose to to python as a easy-to-use "replay output ready"
widget.
2020-11-19 14:47:11 +00:00
baldurk
8d647e5584
Avoid recalculating header view sizes when irrelevant roles change
2020-10-16 16:13:30 +01:00
baldurk
c2a21a9106
Don't emit redundant change signals when nothing changed
2020-10-16 16:13:30 +01:00
baldurk
7fc06ee77e
Fix rendering of selected/highlighted rich resource text
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
ec023ac660
Avoid unnecessary re-layouts when populating thumbnails
2020-09-03 18:07:47 +01:00
baldurk
9fba077537
Add a couple of other missing QPainterPath includes
2020-06-07 00:44:35 +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
Raul Tambre
1478aeddde
Fix #1898 : Add missing QPointer include
2020-05-19 09:41:41 +01:00
baldurk
284dbe7d79
Fix crash if CustomPaintWidget is destroyed with paint mid-flight
2020-05-16 12:17:55 +01:00
baldurk
8a5fdda6b1
Add extended RDMenu
2020-05-16 11:13:19 +01:00
baldurk
22d5cf2313
Scroll selected pixel to centre on goto. Refs #1885
2020-05-15 20:50:55 +01:00
Jake Turner
d100c6c622
Include "QEvent"
...
Compile fix for MacOS Catalina
2020-05-11 18:04:00 +01:00
baldurk
0e8cb5b2eb
Set search direction properly for find previous/next. Closes #1866
2020-05-04 13:48:25 +01:00
baldurk
e276146163
Fix RDHeaderView not properly updating in some cases
2020-03-18 12:02:03 +00:00
baldurk
15a2753d63
Fix stale index hanging around in RDTreeView after change
2020-03-18 12:01:37 +00:00
baldurk
4f39279578
When opening a texture in raw buffer viewer, scroll to selected point
2020-03-13 18:00:34 +00:00
baldurk
a2b437b903
Change Find/Replace dialog to have Find Next/Find Previous buttons
...
* Enter and shift-enter in the find text go forwarwd and backwards respectively.
* This replaces the previous system of selecting a direction explicitly and only
ever going in that direction when finding.
2020-02-25 18:19:52 +00:00
baldurk
5e6ec417c1
Add a global font scale option in settings window
...
* This lets the user override the default application font.
* Unfortunately Qt seems to behave inconsistently with font scaling from the
system, so we take the font size initially from QApplication::font() (which
doesn't always pick up the font size) and scale from there. While this might
cause some font scaling to be lost it does mean at least we have a consistent
scale, as otherwise you get some text scaling and others not.
2020-02-13 11:01:45 +00: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
f514815e3c
Update buffer formatter help text, save its visibility in config
2019-11-29 13:53:45 +00:00
baldurk
5acb6af862
Fix some painting not reacting to different fonts correctly
2019-10-11 13:07:36 +01:00
baldurk
83c98f1ff7
Tweak rich resource text rendering to match non-rich text positioning
2019-10-11 13:07:36 +01:00
baldurk
ca9e43fd6e
Add hoverItemChanged event to RDTreeWidget
2019-09-30 13:41:14 +01:00
baldurk
0d7c7eb247
Fix linux compilation
2019-08-27 19:44:29 +01:00