Class: Qt::PushButton
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
#setShortcut(arg) ⇒ Object
1213
1214
1215
1216
1217
1218
1219
|
# File 'lib/qt/qtruby4.rb', line 1213
def setShortcut(arg)
if arg.kind_of?(String)
return super(Qt::KeySequence.new(arg))
else
return super(arg)
end
end
|
#shortcut=(arg) ⇒ Object
1221
1222
1223
|
# File 'lib/qt/qtruby4.rb', line 1221
def shortcut=(arg)
setShortcut(arg)
end
|