Unsolved Using custom QWidgets in QListWidgets
-
@mrjj
Could you explain what you meant about the actual parameter is passed by the item that's emits the signal pleaseHow could I use this to open a different window for a different item?
-
@Hubbard Please read http://doc.qt.io/qt-5/signalsandslots.html
Parameters are not passed at the time you connect a slot to a signal (how would it be possible?), but at the time the signal is emitted. So, the object emitting the signal passes the parameter.
For example lets say you have a class with void someSignal(int someParameter) signal, then an instance of this class would emit the signal like this:emit someSignal(10);