What happens when you single-step through this code in your debugger? What do you think line 13 does?
What happens when you single-step through this code in your debugger? What do you think line 13 does?
When the user does not enter a string in qlineedit1 :-?What do you think line 13 does?
qlineedit.jpg
use isEmpty() to check the LineEdit text
ex:Qt Code:
if( !stirng.isEmpty()) { ............. }To copy to clipboard, switch view to plain text mode
smemamian (8th April 2013)
Bookmarks