no, not that way:
Qt Code:
To copy to clipboard, switch view to plain text mode
"const" methods are methods that must not change any members of a class
(unless they are mutable). Consult your C++ book for details.
no, not that way:
Qt Code:
To copy to clipboard, switch view to plain text mode
"const" methods are methods that must not change any members of a class
(unless they are mutable). Consult your C++ book for details.
multilines: with a QLineEdit (the default editor) it does not work.
You have to modify the delegate to return a suitable editor, e.g. a QTextEdit.
You also have to take care because the (default) eventFilter will catch the "return" key and close the editor which you do not want here.
I'll go for the popup widget, that seems to be a logical stepand it will save me allot of work too.
But nobody knows why my delegate isn't working as it suppose to be?
didn't the posting sent at 13:39 help?
(put the const behind the signature, not in front the QWidget*)
It works thank you so much, and I'm sorry that I put the const before the method, I'm not that well know with the c++ syntax. I'm still busy with finish the book about c++ syntax. But thank you anyway!!
Bookmarks