Qt Code:
connect( button, SIGNAL(clicked()), this, SLOT( on_button_clicked())); This::on_button_clicked() { button->setEnabled(false); }To copy to clipboard, switch view to plain text mode
this does not work, of course. how to implement to disable a button when it is clicked?




Reply With Quote
Bookmarks