Added a few missing methods to QTWidget