QQC1.TableView is no longer available with Qt6.
First commit tries to port to QQC2 tableview but the behavior was a bit buggy with KCMScrollView so in the second commit I ported to a plain ListView which works better