Пример #1
0
void MainWindow::openAboutDialog()
{
	AboutDialog *dialog = new AboutDialog(this);
	dialog->show();
	dialog->raise();
	dialog->activateWindow();
}
Пример #2
0
bool AboutDialog::showDlg( QWidget * parent )
{
    AboutDialog * dlg = new AboutDialog( parent );
    //dlg->setModal( true );
    dlg->setWindowTitle("About CoolReader");
    dlg->show();
    dlg->raise();
    dlg->activateWindow();
	return true;
}