本文整理汇总了C++中About::exec方法的典型用法代码示例。如果您正苦于以下问题:C++ About::exec方法的具体用法?C++ About::exec怎么用?C++ About::exec使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类About
的用法示例。
在下文中一共展示了About::exec方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: obrir_about
void Main::obrir_about()
{
About *a = new About;
a->exec();
delete a;
}
示例2: ClickAbout
void MainWindow::ClickAbout(){
About *about = new About(this);
about->exec();
}
示例3: on_actionAbout_triggered
void MainWindow::on_actionAbout_triggered()
{
About mDialog;
mDialog.setWindowFlags( Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint );
mDialog.setWindowTitle("About");
mDialog.setModal(true);
mDialog.exec();
}
示例4: on_actionAbout_triggered
void MainWindow::on_actionAbout_triggered()
{
//QMessageBox::information(this, tr("About Calculator"),tr("this Application designed by Mr.s.h.h"));
this->close();
About x;
x.exec();
this->show();
}
示例5: Info
void toolbar::Info()
{
About inf;
QFile file(":/qss/zoombuttton.qss");
file.open(QFile::ReadOnly);
inf.setStyleSheet(file.readAll());
inf.setMaximumHeight(170);
inf.setMaximumWidth(400);
inf.exec();
}
示例6: on_actionAbout_triggered
void MainWindow::on_actionAbout_triggered()
{
if (About::opened)
About::aboutDlg->activateWindow();
else
{
About dlg;
dlg.exec();
}
}
示例7: about
void FreeSSM::about()
{
About *aboutdlg = new About(this, _language);
#ifdef SMALL_RESOLUTION
aboutdlg->showFullScreen();
#else
aboutdlg->show();
#endif
aboutdlg->exec();
delete aboutdlg;
}
示例8: isAboutMenu
bool isAboutMenu(int argc, char *argv[]) {
if (argc != 2)
return false;
QString arg(argv[1]);
arg = arg.trimmed().toUpper();
if (arg == "-ABOUT" || arg == "--ABOUT") {
Q_INIT_RESOURCE(AboutResources);
About about;
about.setAppName(APP_NAME);
about.setVersion(APP_VERSION);
about.setDescription(APP_DESCRIPTION);
about.setContactInfo(CONTACT_INFO);
about.exec();
return true;
}
return false;
}
示例9: on_actionAbout_triggered
/**
* Opens the about dialog with program infos
*/
void MainWindow::on_actionAbout_triggered()
{
About about;
about.setModal(true);
about.exec();
}
示例10:
// Help -> About
void
MainWindow::aboutTriggered()
{
About aboutBox;
aboutBox.exec();
}
示例11: ShowAbout
void MainWindow::ShowAbout()
{
About a;
a.exec();
}
示例12: on_actionAbout_triggered
void MainWindow::on_actionAbout_triggered()
{
About *aboutDlg = new About;
aboutDlg->show();
aboutDlg->exec();
}
示例13: on_About_triggered
void MainWindow::on_About_triggered()
{
About ab;
ab.exec();
}
示例14: on_actionAcerca_de_triggered
void MainWindow::on_actionAcerca_de_triggered()
{
About about (this);
about.exec();
}
示例15: displayInfo
void qfit::displayInfo()
{
About *about = new About(this);
about->exec();
}