Esempio n. 1
0
void MainWindow::openAboutDialog()
{
	AboutDialog *dialog = new AboutDialog(this);
	dialog->show();
	dialog->raise();
	dialog->activateWindow();
}
Esempio n. 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;
}