| 54 | } |
| 55 | |
| 56 | QFont GDLabel::GetFont(const TextInfo& text_info) { |
| 57 | QFont font{ "Microsoft YaHei" }; |
| 58 | font.setPixelSize(text_info.m_size); |
| 59 | font.setBold(text_info.m_blod); |
| 60 | return font; |
| 61 | } |
| 62 | |
| 63 | void GDLabel::SetText(const QString& text) { |
| 64 | m_text_info.m_text = text; |
nothing calls this directly
no outgoing calls
no test coverage detected