CSize fontMetricsCSize(QString source, QPainter *pDC);return
CSize fontMetricsCSize(QString source, QPainter *pDC){ CSize sz; QFontMetrics fontMetrics(pDC->font()); int nFontWidth = fontMetrics.width(source); int nFontHeight = fontMetrics.height(); sz = CSize(nFontWidth, nFontHeight); return sz;}