Class: Qt::RadioButton

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

#setShortcut(arg) ⇒ Object



1269
1270
1271
1272
1273
1274
1275
# File 'lib/qt/qtruby4.rb', line 1269

def setShortcut(arg)
	if arg.kind_of?(String)
		return super(Qt::KeySequence.new(arg))
	else
		return super(arg)
	end
end

#shortcut=(arg) ⇒ Object



1277
1278
1279
# File 'lib/qt/qtruby4.rb', line 1277

def shortcut=(arg)
	setShortcut(arg)
end