class Qt::Font

Public Instance Methods

inspect() click to toggle source
Calls superclass method
# File lib/Qt/qtruby4.rb, line 1025
def inspect
  str = super
  str.sub(/>$/, " family=%s, pointSize=%d, weight=%d, italic=%s, bold=%s, underline=%s, strikeOut=%s>" %
  [family.inspect, pointSize, weight, italic, bold, underline, strikeOut])
end
pretty_print(pp) click to toggle source
# File lib/Qt/qtruby4.rb, line 1031
def pretty_print(pp)
  str = to_s
  pp.text str.sub(/>$/, "\n family=%s,\n pointSize=%d,\n weight=%d,\n italic=%s,\n bold=%s,\n underline=%s,\n strikeOut=%s>" %
  [family.inspect, pointSize, weight, italic, bold, underline, strikeOut])
end