예제 #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;
}