Class: Qt::ToolButton
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
1575
1576
1577
1578
1579
1580
1581
|
# File 'lib/qt/qtruby4.rb', line 1575
def setShortcut(arg)
if arg.kind_of?(String)
return super(Qt::KeySequence.new(arg))
else
return super(arg)
end
end
|
#shortcut=(arg) ⇒ Object
1583
1584
1585
|
# File 'lib/qt/qtruby4.rb', line 1583
def shortcut=(arg)
setShortcut(arg)
end
|