Добавить проверку Flash SCI, системные диалоги и векторизацию PDF
Расширить протокол SCI проверкой содержимого Flash и комплектом RAM-ядер. Добавить утилиту векторизации PDF с OCR, общие диалоги DSView и проверки.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
diff --git a/DSView/pv/mainframe.cpp b/DSView/pv/mainframe.cpp
|
||||
--- a/DSView/pv/mainframe.cpp
|
||||
+++ b/DSView/pv/mainframe.cpp
|
||||
@@ -62,4 +62,5 @@
|
||||
#include "ui/popupdlglist.h"
|
||||
+#include "host_dialogs.h" // Настройки встроенного анализатора следуют за текущим окном SETGUI и его монитором.
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
@@ -721,9 +722,9 @@ bool MainFrame::ShowEmbedded(quintptr parentId)
|
||||
SetParent(child, parent);
|
||||
if (GetLastError() != 0 || GetParent(child) != parent) return false;
|
||||
_mainWindow->restore_dock();
|
||||
- PopupDlgList::SetCurrentScreen(QGuiApplication::primaryScreen());
|
||||
+ auto dialogs = new setgui::HostDialogPlacement(this, parent); // Диалоги получают владельца текущего плавающего окна вместо привязки к основному монитору.
|
||||
QByteArray commandBuffer;
|
||||
- auto fit = [this, parent, child, parentPid, commandBuffer]() mutable {
|
||||
+ auto fit = [this, parent, child, parentPid, dialogs, commandBuffer]() mutable { // Существующий таймер также отслеживает смену монитора и владельца открытых настроек.
|
||||
DWORD currentPid = 0;
|
||||
GetWindowThreadProcessId(parent, ¤tPid);
|
||||
if (!IsWindow(parent) || currentPid != parentPid) {
|
||||
@@ -732,6 +733,7 @@ bool MainFrame::ShowEmbedded(quintptr parentId)
|
||||
qApp->quit();
|
||||
return;
|
||||
}
|
||||
+ dialogs->refresh(); // Переносим открытые настройки только при фактической смене экрана или отделении DSView.
|
||||
DWORD available = 0;
|
||||
const HANDLE input = GetStdHandle(STD_INPUT_HANDLE);
|
||||
if (PeekNamedPipe(input, NULL, 0, NULL, &available, NULL) && available) {
|
||||
Reference in New Issue
Block a user