来自主页: button = Qt::PushButton.new('Quit') do connect(SIGNAL :clicked) { Qt::Application.instance.quit } end