Posted on 2011-04-29 22:53
RTY 閱讀(459)
評論(0) 編輯 收藏 引用 所屬分類:
Qt 、
Python
有的時(shí)候,我們希望自己的操作帶上系統(tǒng)的響鈴。
可以這樣操作:
QtGui.qApp.beep()
以下是beep的說明
void QApplication::beep () [static]
Sounds the bell, using the default volume and sound. The function is not available in Qt for Embedded Linux.