MCPcopy Create free account
hub / github.com/KDAB/GammaRay / gammarayDefaultStyle

Function gammarayDefaultStyle

ui/mainwindow.cpp:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119QStyle *gammarayDefaultStyle()
120{
121 foreach (const QString &styleName,
122 QGuiApplicationPrivate::platform_theme->themeHint(QPlatformTheme::StyleNames).toStringList()) {
123 if (auto style = QStyleFactory::create(styleName)) {
124 return style;
125 }
126 }
127 return nullptr;
128}
129}
130
131MainWindowUIStateManager::MainWindowUIStateManager(QWidget *widget)

Callers 1

MainWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected