Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 4th, 2013  |  syntax: None  |  size: 0.17 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. QFont font = QFontDialog::getFont(&ok, prevFont, this);
  2.        
  3. bool isSansSerrif = (font.styleHint() & QFont::SansSerif);
  4. bool isSerrif = (font.styleHint() & QFont::Serif);
clone this paste RAW Paste Data