Thankyou for your answers.
Would you happen to know how I access the scrollbar for the QtreeView so I can modify it via stylesheet?