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

Method save

qrenderdoc/Windows/EventBrowser.cpp:75–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void save(QVariant &v) const
76 {
77 QVariantMap settings;
78
79 settings[lit("version")] = LatestVersion;
80
81 settings[lit("current")] = CurrentFilter;
82
83 QVariantList filters;
84 for(const QPair<QString, QString> &f : SavedFilters)
85 filters << QVariant(QVariantList({f.first, f.second}));
86
87 settings[lit("filters")] = filters;
88
89 v = settings;
90 }
91
92 void load(const QVariant &v)
93 {

Callers 9

RichResourceTextPaintFunction · 0.45
paintMethod · 0.45
storeValuesMethod · 0.45
paintEventMethod · 0.45
drawComplexControlMethod · 0.45
drawPrimitiveMethod · 0.45
drawControlMethod · 0.45
drawRoundedRectBorderMethod · 0.45
CreateFilterDialogMethod · 0.45

Calls 1

QVariantClass · 0.50

Tested by

no test coverage detected