- At most this, see below.
- No. Slots have to be associated with class instances.
- I doubt the moc would understand this, and it seems unnecessarily complicated.
- In principle you could let the events propagate up the parent/child hierarchy and let the main window edit the log but this is also too complicated.
Assuming your view classes inherit from QAbstractItemView then they already have signals you can use, particularly if you use the Q*Widget convenience classes. In your situation, if this doesn't work for me, I do 1). You may also consider signaling from the model classes--that is where the updating actually happens after all.