Class: Qt::RectF

Inherits:
Base show all
Defined in:
lib/qt/qtruby4.rb

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

#inspectObject



1295
1296
1297
1298
# File 'lib/qt/qtruby4.rb', line 1295

def inspect
	str = super
	str.sub(/>$/, " left=%f, right=%f, top=%f, bottom=%f>" % [left, right, top, bottom])
end

#pretty_print(pp) ⇒ Object



1300
1301
1302
1303
# File 'lib/qt/qtruby4.rb', line 1300

def pretty_print(pp)
	str = to_s
	pp.text str.sub(/>$/, "\n left=%f,\n right=%f,\n top=%f,\n bottom=%f>" % [left, right, top, bottom])
end