MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / drawPrimitive

Method drawPrimitive

tests/test_editor.cpp:1199–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197 return s;
1198 }
1199 void drawPrimitive(PrimitiveElement elem, const QStyleOption* opt,
1200 QPainter* p, const QWidget* w) const override {
1201 if (elem == PE_FrameMenu) return;
1202 QProxyStyle::drawPrimitive(elem, opt, p, w);
1203 }
1204 void drawControl(ControlElement element, const QStyleOption* opt,
1205 QPainter* p, const QWidget* w) const override {
1206 if (element == CE_MenuItem || element == CE_MenuBarItem) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected