当前位置: 首页>>代码示例>>C++>>正文


C++ About::exec方法代码示例

本文整理汇总了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;
}
开发者ID:cpina,项目名称:qdacco,代码行数:7,代码来源:main.cpp

示例2: ClickAbout

void MainWindow::ClickAbout(){

    About *about = new About(this);
    about->exec();



}
开发者ID:jfperini,项目名称:iradit,代码行数:8,代码来源:mainwindow.cpp

示例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();
}
开发者ID:sudo-gedit,项目名称:2D_Game_Creator,代码行数:8,代码来源:mainwindow.cpp

示例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();

}
开发者ID:QHossein,项目名称:calc,代码行数:9,代码来源:mainwindow.cpp

示例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();
}
开发者ID:bukchep,项目名称:MDP,代码行数:10,代码来源:toolbar.cpp

示例6: on_actionAbout_triggered

void MainWindow::on_actionAbout_triggered()
{
    if (About::opened)
        About::aboutDlg->activateWindow();
    else
    {
        About dlg;
        dlg.exec();
    }
}
开发者ID:UladBohdan,项目名称:bulls-cows-qt,代码行数:10,代码来源:mainwindow.cpp

示例7: about

void FreeSSM::about()
{
	About *aboutdlg = new About(this, _language);
#ifdef SMALL_RESOLUTION
	aboutdlg->showFullScreen();
#else
	aboutdlg->show();
#endif
	aboutdlg->exec();
	delete aboutdlg;
}
开发者ID:Comer352L,项目名称:FreeSSM,代码行数:11,代码来源:FreeSSM.cpp

示例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;
}
开发者ID:Terrabits,项目名称:S2pExtractor,代码行数:19,代码来源:main.cpp

示例9: on_actionAbout_triggered

/**
 * Opens the about dialog with program infos
 */
void MainWindow::on_actionAbout_triggered()
{
    About about;
    about.setModal(true);
    about.exec();
}
开发者ID:1cy1c3,项目名称:scribo,代码行数:9,代码来源:mainwindow.cpp

示例10:

// Help -> About
void
MainWindow::aboutTriggered()
{
    About aboutBox;
    aboutBox.exec();
}
开发者ID:Entomologist,项目名称:entomologist,代码行数:7,代码来源:MainWindow.cpp

示例11: ShowAbout

void MainWindow::ShowAbout()
{
    About a;
    a.exec();
}
开发者ID:ashepelev,项目名称:qt-projects,代码行数:5,代码来源:mainwindow.cpp

示例12: on_actionAbout_triggered

void MainWindow::on_actionAbout_triggered()
{
    About *aboutDlg = new About;
    aboutDlg->show();
    aboutDlg->exec();
}
开发者ID:lzjqsdd,项目名称:WifiAssist,代码行数:6,代码来源:mainwindow.cpp

示例13: on_About_triggered

void MainWindow::on_About_triggered()
{
   About ab;

   ab.exec();
}
开发者ID:TheolZacharopoulos,项目名称:tl2hotel,代码行数:6,代码来源:mainwindow.cpp

示例14: on_actionAcerca_de_triggered

void MainWindow::on_actionAcerca_de_triggered()
{
    About about (this);
    about.exec();
}
开发者ID:josenobile,项目名称:TALLER_AUTOMOTRIZ,代码行数:5,代码来源:mainwindow.cpp

示例15: displayInfo

void qfit::displayInfo()
{
    About *about = new About(this);
    about->exec();
}
开发者ID:teukkam,项目名称:qfit,代码行数:5,代码来源:qfit.cpp


注:本文中的About::exec方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。