Class: Qt::CheckBox
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
286
287
288
289
290
291
292
|
# File 'lib/qt/qtruby4.rb', line 286
def setShortcut(arg)
if arg.kind_of?(String)
return super(Qt::KeySequence.new(arg))
else
return super(arg)
end
end
|
#shortcut=(arg) ⇒ Object
294
295
296
|
# File 'lib/qt/qtruby4.rb', line 294
def shortcut=(arg)
setShortcut(arg)
end
|