本文整理汇总了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();
}
}
示例2: slotCountryCityDictionary
void CLogisticMainWindow::slotCountryCityDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Страны и города");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createCountryCity(),
"Страны и города",
QIcon(QString("data/picture/sidebar/countryandcity.ico")));
} else {
msw->setFocus();
}
}
示例3: slotContractorTypesDictionary
void CLogisticMainWindow::slotContractorTypesDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Типы контрагентов");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createContractorType(),
"Типы контрагентов",
QIcon(QString("data/picture/sidebar/contractortype.ico")));
} else {
msw->setFocus();
}
}
示例4: slotStatusDictionary
void CLogisticMainWindow::slotStatusDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Статусы");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createStatus(),
"Статусы",
QIcon(QString("data/picture/sidebar/status.ico")));
} else {
msw->setFocus();
}
}
示例5: slotTaskTypesDictionary
void CLogisticMainWindow::slotTaskTypesDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Типы задач");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createTaskType(),
"Типы задач",
QIcon(QString("data/picture/sidebar/tasktype.ico")));
} else {
msw->setFocus();
}
}
示例6: slotPositionsDictionary
void CLogisticMainWindow::slotPositionsDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Должности");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createPosition(),
"Должности",
QIcon(QString("data/picture/sidebar/positions.ico")));
} else {
msw->setFocus();
}
}
示例7: slotContactsDictionary
void CLogisticMainWindow::slotContactsDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Контакты");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createContacts(),
"Контакты",
QIcon(QString("data/picture/sidebar/contacts.ico")));
} else {
msw->setFocus();
}
}
示例8: slotSuppliersDictionary
void CLogisticMainWindow::slotSuppliersDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Поставщики");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createSappliers(),
"Поставщики",
QIcon(QString("data/picture/sidebar/suppliers.ico")));
} else {
msw->setFocus();
}
}
示例9: slotCustomerDictionary
void CLogisticMainWindow::slotCustomerDictionary()
{
QMdiSubWindow *msw = findMdiWindow("Заказчики");
if (!msw){
showMdiWindow(CLogisticApplication::instance()->createCustomer(),
"Заказчики",
QIcon(QString("data/picture/sidebar/customer.ico")));
} else {
msw->setFocus();
}
}