what if you want to make a message box automatically appear without having to press a button like I want to make a program where if the person enters three to a program an if statement checks if the number is three and then opens a message box saying something if it is 3 ?
Can a message box be non-blocking? (modeless?) Then, how do we connect it's button's signal to a slot? Thanks, very useful tutorials!
momchi2 1 month ago
@momchi2 Yes QMessageBox can be modless as it inherits from QDialog. Just use setModal(false);
supadox 3 weeks ago in playlist C++ Qt Programming
Thank you? it helped me!
santiegosss 2 months ago
what if you want to make a message box automatically appear without having to press a button like I want to make a program where if the person enters three to a program an if statement checks if the number is three and then opens a message box saying something if it is 3 ?
ACBoredz 8 months ago
@ACBoredz if(number==3) QMessageBox::Information('derp');
MisterJ4512 6 months ago
How about an error message box?
mafioso4842 9 months ago
thanks
b00n90 10 months ago