This will require adding the ability to click on a tab by an index. See qt implementation on draft branch #1150