コミットを比較

..

13 コミット

作成者 SHA1 メッセージ 日付
80a4551f8b update README 2022-05-29 11:12:43 +02:00
fa10cb606b mainwindow: Disable page switcher while generation is running
This prevents 'spam'. User may have scrolled 10 pages forward, while
we are still generating old pages. Then the user wonders why
they arrive so late.

So disable switching pages while the generation is still running

It is unlikely that a user will have to quickly go through search
results like that.
2022-05-29 10:51:48 +02:00
b90ff840d9 gui: init previewProcessBar with 0 on start 2022-05-29 10:44:19 +02:00
86cc16d15d gui: IPCPreviewWorker(): Don't allocate mapfunctor on heap 2022-05-29 10:44:19 +02:00
69c2956a1f gui: Add label showing total number of preview pages 2022-05-29 10:44:19 +02:00
82a4205c23 gui: mainwindow: Fix preview page number calculation
The paging now works on the actual pages to be rendered.
2022-05-29 10:44:19 +02:00
8d96f6e4ce ipc: Place socket in /tmp/.looqs/, remove ipc path settings 2022-05-29 10:44:19 +02:00
d39157b58d gui: main: Enable exile.h for IPC preview generation 2022-05-29 10:44:19 +02:00
a43ab169b5 gui: Begin simple IPC error reporting 2022-05-29 10:44:19 +02:00
ee19692a7a gui: Open files/previews directly without IPC again
Since the main GUI process is not sandboxed again
2022-05-29 10:44:19 +02:00
773325f2de gui: ipc: Support cancellation of preview generation 2022-05-29 10:44:19 +02:00
065dcf8906 gui: main: Kill IPCServer process on exit 2022-05-29 10:44:19 +02:00
13f28c37c6 gui: mainwindow: Use new IPCPreviewClient 2022-05-29 10:44:19 +02:00

ファイルの表示

@ -110,6 +110,18 @@ void MainWindow::connectSignals()
handleSearchError(e.message);
}
});
/* connect(&previewWorkerWatcher, &QFutureWatcher<QByteArray>::resultReadyAt, this,
[&](int index) {
previewReceived(previewWorkerWatcher.resultAt(index)); });
connect(&previewWorkerWatcher, &QFutureWatcher<QSharedPointer<PreviewResult>>::progressValueChanged,
ui->previewProcessBar, &QProgressBar::setValue);
connect(&previewWorkerWatcher, &QFutureWatcher<QSharedPointer<PreviewResult>>::started, this,
[&] { ui->indexerTab->setEnabled(false); });*/
/*connect(&previewWorkerWatcher, &QFutureWatcher<QSharedPointer<PreviewResult>>::finished, this,
[&] { ui->indexerTab->setEnabled(true); });
*/
connect(ui->treeResultsList, &QTreeWidget::itemActivated, this, &MainWindow::treeSearchItemActivated);
connect(ui->treeResultsList, &QTreeWidget::customContextMenuRequested, this,
&MainWindow::showSearchResultsContextMenu);