Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QMessageBox

$
0
0
Hey! How would I launch QMessageBox? I want it set up so that when I click a button, it pops up. I have the following code, but it doesn’t seem to launch it. void MainWindow::on_toolButton_clicked() {     QMessageBox msgBox;     msgBox.setText("messagebox");     msgBox.exec(); }

Viewing all articles
Browse latest Browse all 18427

Trending Articles