I was wondering, I managed to successfully subclass QTextEdit into my own custom text edit, but I would like to create a toolbar at the top of the editable area with bold, italic options etc. I halfway did this by passing the Edit control as the parent when I created the toolbar, but it displays transparently, and the text still starts underneath the toolbar control. Is there a way to solve this problem, so that the edit area begins below the toolbar, or is there a better way to attach a toolbar to a textedit control? Thanks!