Class: Qt::SizePolicy
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
1880 1881 1882 1883 |
# File 'lib/Qt/qtruby4.rb', line 1880 def inspect str = super str.sub(/>$/, " horizontalPolicy=%d, verticalPolicy=%d>" % [horizontalPolicy, verticalPolicy]) end |
#pretty_print(pp) ⇒ Object
1885 1886 1887 1888 |
# File 'lib/Qt/qtruby4.rb', line 1885 def pretty_print(pp) str = to_s pp.text str.sub(/>$/, "\n horizontalPolicy=%d,\n verticalPolicy=%d>" % [horizontalPolicy, verticalPolicy]) end |