MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / UpdateFont

Method UpdateFont

DSView/pv/dock/measuredock.cpp:946–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946void MeasureDock::UpdateFont()
947{
948 QFont font = this->font();
949 font.setPointSizeF(AppConfig::Instance().appOptions.fontSize);
950 ui::set_form_font(this, font);
951 font.setPointSizeF(font.pointSizeF() + 1);
952 this->parentWidget()->setFont(font);
953
954 adjusLabelSize();
955}
956
957void MeasureDock::adjust_form_size(QWidget *wid)
958{

Callers

nothing calls this directly

Calls 1

set_form_fontFunction · 0.85

Tested by

no test coverage detected