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

Method toggleBoldFont

plugins/fontbrowser/fontmodel.cpp:163–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void FontModel::toggleBoldFont(bool bold)
164{
165 if (bold == m_bold)
166 return;
167
168 m_bold = bold;
169
170 for (int i = 0; i < m_fonts.size(); ++i)
171 m_fonts[i].setBold(bold);
172
173 fontDataChanged();
174}
175
176void FontModel::setColors(const QColor &foreground, const QColor &background)
177{

Callers 1

FontBrowserWidgetMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected