MCPcopy Create free account
hub / github.com/baldurk/renderdoc / RichResourceTextCheck

Function RichResourceTextCheck

qrenderdoc/Code/QRDUtils.cpp:734–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734bool RichResourceTextCheck(const QVariant &var)
735{
736 return var.userType() == qMetaTypeId<RichResourceTextPtr>() ||
737 var.userType() == qMetaTypeId<GPUAddressPtr>() ||
738 var.userType() == qMetaTypeId<ResourceId>() || var.userType() == qMetaTypeId<QUrl>();
739}
740
741// I'm not sure if this should come from the style or not - the QTextDocument handles this in
742// the rich text case.

Callers 6

paintMethod · 0.85
sizeHintMethod · 0.85
editorEventMethod · 0.85
linkHoverMethod · 0.85
setTextMethod · 0.85
dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected