PyQT signals with arguments

so , here a snippet on how to use the different types of signals in PyQt: connect a signal from C++ QObject.connect(self.sender, SIGNAL(“signalName( Arg1TYPE, Arg2TYPE )”), self.slot) connect a signal from Python QObject.connect(self.sender, SIGNAL(“signalName” ), self.slot ) emit a signal in Python self.emit( SIGNAL( “signalName” ), arg1, arg2 ) emit a signal in c++ emit […]

Shell snippets

for my reference: Find files containing some text: grep -lir “some text” /path/to/dir/*