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


C++ QMdiSubWindow::setFocus方法代码示例

本文整理汇总了C++中QMdiSubWindow::setFocus方法的典型用法代码示例。如果您正苦于以下问题:C++ QMdiSubWindow::setFocus方法的具体用法?C++ QMdiSubWindow::setFocus怎么用?C++ QMdiSubWindow::setFocus使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QMdiSubWindow的用法示例。


在下文中一共展示了QMdiSubWindow::setFocus方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: slotPrioritiesDictionary

void CLogisticMainWindow::slotPrioritiesDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Приоритеты");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createPriorities(),
                       "Приоритеты",
                       QIcon(QString("data/picture/sidebar/priority.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例2: slotCountryCityDictionary

void CLogisticMainWindow::slotCountryCityDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Страны и города");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createCountryCity(),
                       "Страны и города",
                       QIcon(QString("data/picture/sidebar/countryandcity.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例3: slotContractorTypesDictionary

void CLogisticMainWindow::slotContractorTypesDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Типы контрагентов");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createContractorType(),
                       "Типы контрагентов",
                       QIcon(QString("data/picture/sidebar/contractortype.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例4: slotStatusDictionary

void CLogisticMainWindow::slotStatusDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Статусы");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createStatus(),
                       "Статусы",
                       QIcon(QString("data/picture/sidebar/status.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例5: slotTaskTypesDictionary

void CLogisticMainWindow::slotTaskTypesDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Типы задач");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createTaskType(),
                       "Типы задач",
                       QIcon(QString("data/picture/sidebar/tasktype.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例6: slotPositionsDictionary

void CLogisticMainWindow::slotPositionsDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Должности");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createPosition(),
                       "Должности",
                       QIcon(QString("data/picture/sidebar/positions.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例7: slotContactsDictionary

void CLogisticMainWindow::slotContactsDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Контакты");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createContacts(),
                       "Контакты",
                       QIcon(QString("data/picture/sidebar/contacts.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例8: slotSuppliersDictionary

void CLogisticMainWindow::slotSuppliersDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Поставщики");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createSappliers(),
                       "Поставщики",
                       QIcon(QString("data/picture/sidebar/suppliers.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp

示例9: slotCustomerDictionary

void CLogisticMainWindow::slotCustomerDictionary()
{
    QMdiSubWindow *msw = findMdiWindow("Заказчики");
    if (!msw){
         showMdiWindow(CLogisticApplication::instance()->createCustomer(),
                       "Заказчики",
                       QIcon(QString("data/picture/sidebar/customer.ico")));
    } else {
         msw->setFocus();
    }
}
开发者ID:dekalo64,项目名称:RLine,代码行数:11,代码来源:core_logisticmainwindow.cpp


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