void CLogisticMainWindow::slotPrioritiesDictionary() { QMdiSubWindow *msw = findMdiWindow("Приоритеты"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createPriorities(), "Приоритеты", QIcon(QString("data/picture/sidebar/priority.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotCountryCityDictionary() { QMdiSubWindow *msw = findMdiWindow("Страны и города"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createCountryCity(), "Страны и города", QIcon(QString("data/picture/sidebar/countryandcity.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotContractorTypesDictionary() { QMdiSubWindow *msw = findMdiWindow("Типы контрагентов"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createContractorType(), "Типы контрагентов", QIcon(QString("data/picture/sidebar/contractortype.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotStatusDictionary() { QMdiSubWindow *msw = findMdiWindow("Статусы"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createStatus(), "Статусы", QIcon(QString("data/picture/sidebar/status.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotTaskTypesDictionary() { QMdiSubWindow *msw = findMdiWindow("Типы задач"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createTaskType(), "Типы задач", QIcon(QString("data/picture/sidebar/tasktype.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotPositionsDictionary() { QMdiSubWindow *msw = findMdiWindow("Должности"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createPosition(), "Должности", QIcon(QString("data/picture/sidebar/positions.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotContactsDictionary() { QMdiSubWindow *msw = findMdiWindow("Контакты"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createContacts(), "Контакты", QIcon(QString("data/picture/sidebar/contacts.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotSuppliersDictionary() { QMdiSubWindow *msw = findMdiWindow("Поставщики"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createSappliers(), "Поставщики", QIcon(QString("data/picture/sidebar/suppliers.ico"))); } else { msw->setFocus(); } }
void CLogisticMainWindow::slotCustomerDictionary() { QMdiSubWindow *msw = findMdiWindow("Заказчики"); if (!msw){ showMdiWindow(CLogisticApplication::instance()->createCustomer(), "Заказчики", QIcon(QString("data/picture/sidebar/customer.ico"))); } else { msw->setFocus(); } }