MCPcopy Create free account
hub / github.com/KDE/labplot / BaseDock

Method BaseDock

src/frontend/dockwidgets/BaseDock.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include <QComboBox>
25
26BaseDock::BaseDock(QWidget* parent)
27 : QWidget(parent) {
28 const KConfigGroup group = Settings::group(QStringLiteral("Settings_General"));
29 m_units = (Units)group.readEntry("Units", static_cast<int>(Units::Metric));
30
31 if (m_units == Units::Imperial)
32 m_worksheetUnit = Worksheet::Unit::Inch;
33}
34
35void BaseDock::setPlotRangeCombobox(QComboBox* cb) {
36 if (m_cbPlotRangeList)

Callers

nothing calls this directly

Calls 1

groupFunction · 0.85

Tested by

no test coverage detected