hi,
If my QLineEdit text length is 0 and if i press enter.Then a message has to be dispayed.
I tried the below code.Its not working.
Whats wrong with the code??
Qt Code:
if((Varname->text().length()==0) && (keyy.key() == Qt::Key_Enter)) { }To copy to clipboard, switch view to plain text mode
Bookmarks