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

Method toggleItalicFont

plugins/fontbrowser/fontmodel.cpp:137–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void FontModel::toggleItalicFont(bool italic)
138{
139 if (italic == m_italic)
140 return;
141
142 m_italic = italic;
143
144 for (int i = 0; i < m_fonts.size(); ++i)
145 m_fonts[i].setItalic(italic);
146
147 fontDataChanged();
148}
149
150void FontModel::toggleUnderlineFont(bool underline)
151{

Callers 1

FontBrowserWidgetMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected