How can i create a new QTextEdit (as a new window - not child) with some extra wflags?
The constructor doesn't allow for this - it looks like this:I could use QWidget::setWFlags, but it doesn't work:Qt creates normal window :confused:Code:
Printable View
How can i create a new QTextEdit (as a new window - not child) with some extra wflags?
The constructor doesn't allow for this - it looks like this:I could use QWidget::setWFlags, but it doesn't work:Qt creates normal window :confused:Code:
You could create QVBox with customized flags and QTextEdit inside it.
Yes, but i think it's a little bit stupid to create a new widget with QTextEdit inside, while QTextEdit is also a widget (and can be displayed as a new window as well).
Why QTextEdit's constructor doesn't allow to specify own wflags?
You can use reparent() to change the flags. That should work.