MCPcopy Create free account
hub / github.com/KDAB/KDChart / init

Method init

examples/demo/diagramsettings.cpp:162–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void DiagramSettings::Private::init()
163{
164 ui->setupUi(qq);
165#ifdef Q_OS_LINUX
166 ui->diagramBackground->setStyle(QStyleFactory::create(QStringLiteral("cleanlooks")));
167#endif
168
169 connect(ui->threeDSelector, SIGNAL(toggled(bool)), this, SLOT(changeThreeD()));
170 connect(ui->diagramBackground, SIGNAL(clicked()), this, SLOT(changeBackgroundColor()));
171 connect(ui->visibleBtn, SIGNAL(toggled(bool)), this, SLOT(changeBackgroundVisibility()));
172 connect(ui->barHeightInput, SIGNAL(valueChanged(int)), this, SLOT(changeThreeD()));
173 connect(ui->autoGradient, SIGNAL(toggled(bool)), this, SLOT(changeAutoGradient()));
174
175 qq->refreshSettings();
176}
177
178void DiagramSettings::Private::setThreeDData(const AbstractThreeDAttributes &attr)
179{

Callers 1

DiagramSettingsMethod · 0.45

Calls 2

refreshSettingsMethod · 0.80
setupUiMethod · 0.45

Tested by

no test coverage detected