I have designed an QTreeWidget with a QTextedit as one of the widget of the QTreeWidget. I am entering status value as "OK/KO" inside the QTextEdit. I want to restrict the input in the QTextEdit only to "OK/KO" and user should be prompted by message box to enter only this two values. I am really clueless how to proceed further with this .
Bookmarks