You can make a slot in your table widget, connect to that slot, and in it set the data to the items you want.
QTableWidget and the other widgets(slider, lineedit, etc) belong to one-central widget MyWidget.
do you mean to overload the QTableWidget class inserting a custom SLOT or to just add a SLOT to MyWidget?