I am making a program.. And i had add an about button which shows a QMessageBox..
void MainWindow::on_aboutButton_clicked()
{
msgBox.setText("<b><big>Putsa pali! </big><b>");
msgBox.setInformativeText("By <b>putsos</b> and <b>muni</b>. If you like it, visit our <a href=http://www.qjdfkjfbhjebfebfiofu.com>webpage</a>!");
msgBox.setWindowTitle("Putsa pali | About");
msgBox.
setIconPixmap(QIcon(":/icons/putsa.png").
pixmap(QSize(64,
64)));
msgBox.
setWindowIcon(QIcon(":/icons/putsa.png"));
msgBox.exec();
}
void MainWindow::on_aboutButton_clicked()
{
QMessageBox msgBox;
msgBox.setText("<b><big>Putsa pali! </big><b>");
msgBox.setInformativeText("By <b>putsos</b> and <b>muni</b>. If you like it, visit our <a href=http://www.qjdfkjfbhjebfebfiofu.com>webpage</a>!");
msgBox.setWindowTitle("Putsa pali | About");
msgBox.setIconPixmap(QIcon(":/icons/putsa.png").pixmap(QSize(64,64)));
msgBox.setWindowIcon(QIcon(":/icons/putsa.png"));
msgBox.exec();
}
To copy to clipboard, switch view to plain text mode
So how can i add a Button ( i want to add a Button "How it was Developed") left to the ok button which will close the about QMessageBox and show the How it was developed QMessageBox... ?
Bookmarks