For every created button do :
where m_timer is a QTimer hiding the keyboard after 50 seconds.Qt Code:
connect( b1, SIGNAL(clicked()), sm, SLOT(map()) ); connect( b1,SIGNAL(released()),&m_timer ,SLOT(start()));To copy to clipboard, switch view to plain text mode
Bookmarks