MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / ElaApplication

Method ElaApplication

ElaWidgetTools/ElaApplication.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <QWidget>
11#include <utility>
12ELA_SINGLETON_CPP(ElaApplication)
13ElaApplication::ElaApplication(QObject* parent)
14 : QObject{parent}, d_ptr(new ElaApplicationPrivate())
15{
16 Q_D(ElaApplication);
17 d->q_ptr = this;
18 d->_pFontPixelSize = 13;
19 d->_pElaMicaImagePath = ":/include/Image/MicaBase.png";
20 d->_pWindowDisplayMode = ElaApplicationType::Normal;
21 d->_themeMode = eTheme->getThemeMode();
22 connect(eTheme, &ElaTheme::themeModeChanged, d, &ElaApplicationPrivate::onThemeModeChanged);
23}
24

Callers

nothing calls this directly

Calls 1

getThemeModeMethod · 0.80

Tested by

no test coverage detected