(old post, but I have a quicker/cleaner solution)
Qt Code:
connect(login, SIGNAL(toggled(bool)), loginLine, SLOT(setVisible(bool)));To copy to clipboard, switch view to plain text mode
(and in fact, it can be done in designer (if you're using it), in the signals/slots window)
Vycke




Reply With Quote
Bookmarks