Class: Qt::Rect
Instance Method Summary
collapse
Methods inherited from Base
#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #^, #methods, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~
Instance Method Details
1283
1284
1285
1286
|
# File 'lib/qt/qtruby4.rb', line 1283
def inspect
str = super
str.sub(/>$/, " left=%d, right=%d, top=%d, bottom=%d>" % [left, right, top, bottom])
end
|
#pretty_print(pp) ⇒ Object
1288
1289
1290
1291
|
# File 'lib/qt/qtruby4.rb', line 1288
def pretty_print(pp)
str = to_s
pp.text str.sub(/>$/, "\n left=%d,\n right=%d,\n top=%d,\n bottom=%d>" % [left, right, top, bottom])
end
|