add new function

This commit is contained in:
arcan1s
2014-09-04 20:20:26 +04:00
parent 2b7760c656
commit 4a9402a487
2 changed files with 8 additions and 1 deletions

View File

@ -39,6 +39,12 @@ void CFont::setCurrentColor(const QColor color)
}
QFont CFont::toQFont()
{
return QFont(family(), pointSize(), weight(), italic());
}
CFontDialog::CFontDialog(QWidget *parent, bool needWeight, bool needItalic)
: QDialog(parent)
{