baldurk
fcdea67879
Update copyright years to 2022
2022-02-17 17:38:32 +00:00
baldurk
026da176bb
Update copyright years to 2021
2021-01-13 13:56:10 +00:00
baldurk
d727feb806
Improve handling of multiline richresourcetext documents
2020-12-15 22:52:38 +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
7fc06ee77e
Fix rendering of selected/highlighted rich resource text
2020-10-16 16:13:30 +01:00
baldurk
2916c0f9f7
Update copyright years to 2020
2020-01-06 16:20:45 +00: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
86ff87863e
Update copyright years to 2019
2019-02-01 18:32:13 +00:00
baldurk
e305029ddd
Update copyright years to 2018
2018-01-01 17:55:29 +00:00
baldurk
1f9a2e340c
Add an extra minimum size hint, since Qt behaviour is broken by design
...
* The Qt behaviour is that if you call setMinimumSize on a widget, then
the minimumSizeHint is IGNORED. So it is impossible to say "use this
minimum size, unless the widget wants a higher minimum size".
* So instead we do this ourselves in RDLabel. Sigh.
2017-11-21 19:10:33 +00:00
baldurk
f65d93cd68
Add support for RichResourceText in RDLabel
2017-11-21 19:10:31 +00:00
baldurk
247382af51
Fix a few widgets to properly respond to and use style changes
2017-07-28 19:06:41 +01:00
baldurk
79979b60c7
Remove contents margins from sizehint when preserving aspect ratio
...
* This prevents a feedback loop where the label resizes wider to make
room for the margins, then the margins get bigger to keep the image
centred/scaled properly, etc.
2017-07-12 18:26:05 +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
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
5dc10bcc3d
Make sure to call parent event handlers when we override to emit signals
2017-05-17 16:42:37 +01:00
baldurk
030cbfde9a
Batch update copyright years everywhere
2017-01-06 12:13:31 +00:00
baldurk
04004e3243
Add mousemove event to RDLabel
2016-11-14 14:12:50 +01:00
baldurk
48a60104bb
Create more of a directory structure for qrenderdoc files
2016-10-11 21:31:57 +02:00