Exemplo n.º 1
0
 def beep(self):
     """ Makes a beep to alert the user to a situation requiring their
         attention.
     """
     raise QApplication.beep()
Exemplo n.º 2
0
 def _emitReplacement(self):
   # don't emit a replacement with empty fields
   if not self.lineedit_find.text() or not self.lineedit_replace.text():
     QApplication.beep()
   else:
     self.replace_committed.emit(self.lineedit_find.text(), self.lineedit_replace.text())