有的時候,我們希望自己的操作帶上系統的響鈴。
可以這樣操作:
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.
有的時候,我們希望自己的操作帶上系統的響鈴。 以下是beep的說明 void QApplication::beep () [static]Sounds the bell, using the default volume and sound. The function is not available in Qt for Embedded Linux.
|
||||||||||||||||||||||