⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qfontinfo.cpp

📁 PIXIL is a small footprint operating environment, complete with PDA PIM applications, a browser and
💻 CPP
字号:
#include "qfontinfo.h"QFontInfo::QFontInfo(QFont & qf){  m_family = qf.family();  m_italic = qf.italic();  m_weight = qf.weight();  m_charSet = qf.charSet();}QString QFontInfo::family(){  return(m_family.data());}bool QFontInfo::italic(){  return(m_italic);}static char *fixed_pitch_list[] ={  "courier",  NULL};bool QFontInfo::fixedPitch(){  int count;  count = 0;  while(fixed_pitch_list[count])  {    if(strcmp(m_family.data(),fixed_pitch_list[count++]) == 0)      return(true);  }  return(false);}bool QFontInfo::bold(){  if(m_weight > 50)    return(true);  else    return(false);}QFont::CharSet QFontInfo::charSet(){  return(m_charSet);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -