Commit Graph

41 Commitit

Tekijä SHA1 Viesti Päivämäärä
60e9b029d3 pdfworker: don't use deprecated search overload 2019-08-26 09:41:03 +02:00
4aed15f7a4 remove max previewimage memory usage 2019-08-26 09:35:39 +02:00
582abc333f paging for pdfpreviews 2019-08-26 09:20:21 +02:00
4cdb1296a9 gui: fix passing args to pdfviewer (paths with spaces work now) 2019-08-19 20:02:28 +02:00
83535960f9 pdf preview: proper highlighting for quoted (inside ") queries 2019-08-19 19:43:05 +02:00
fd4a0ff9ae new future: highlight searched words in pdf preview 2019-08-18 23:23:11 +02:00
404f05b89f Refactor search queries: Introduced QSSQuery
Purpose is to seperate certain logic from SQLite and generalize it more.
Even though we only have Sqlite atm, in general the database layers
must be stupid as possible, while QSSQuery should do most of the hard work.

Fixes in Tokenizer logic.
Switched to C++17.
2019-08-18 00:25:21 +02:00
ef6485117b mainwindow: show size of files 2019-08-18 00:23:42 +02:00
9c40dfea0d mainwindow: wait till search is completed before launching new one 2019-08-12 22:59:05 +02:00
ae178e34e5 pdfworker: Renderer copy constructor missed max mem field 2019-08-12 10:26:16 +02:00
d1963e52a1 gui: executable name set to qss-gui instead of qss 2019-04-30 14:15:50 +02:00
a4f2612071 gui: stop generating preview images after a memory limit has been reached. 2019-04-30 14:13:10 +02:00
8d6ee157a7 ClickLabel: rename clicked to leftClicked and only fire when left mouse button clicked 2019-04-30 12:40:28 +02:00
f975a40ddd pdf previews: set tooltip showing documents path 2019-04-30 12:30:29 +02:00
897b6d03a5 gui: mainwindow: remove dead code and unused members 2019-04-29 23:09:23 +02:00
f6fc2ae881 gui: handle search exception (again after refactoring) 2019-04-29 23:05:51 +02:00
75d7aed22d PdfWorker: generatePreviews: take const ref to container with search results 2019-04-29 23:01:11 +02:00
fe57a8d41c Add destructor for pdfworker renderer 2019-04-29 22:44:39 +02:00
d435ec3bfd pdf preview generation: Use QtConcurrent::mapped + QFutureWatcher instead of own single-thread solution 2019-04-29 20:50:52 +02:00
021722b090 gui: remove searchworker 2019-04-27 21:24:53 +02:00
ea8f701e8f searchworker: emit searchError on exception 2019-04-26 21:48:07 +02:00
08d81ef78b search: Avoid redundant results by placing pages into vector instead of returning searchresult for each page 2019-04-26 15:31:42 +02:00
e2f07d2357 Begin sort: statement implementation, use bindvalues in all search filters, gui: save current scale 2019-04-25 10:27:54 +02:00
95a650dd30 move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
c928c94eb1 Begin 'shared' project to share code between cli and gui 2019-04-20 23:31:14 +02:00
8797139ae6 rename gui/qss.pro to gui/gui.pro 2019-04-06 17:28:27 +02:00
b7b93a66a9 Query/Save filetype and size 2019-04-06 17:13:38 +02:00
4b3b862e11 gui: handle ESC (to quit) and CTRL+L (focus on searchbar and select content) 2018-12-29 20:21:13 +01:00
9c30fa70a1 Don't add same paths to searchresult list 2018-09-02 20:38:21 +02:00
cd3a160aa6 scale combobox: regenerate pdfs preview with choosen scale 2018-09-02 20:30:52 +02:00
5d8de075be checks on input, exceptions, improved contains query performance 2018-09-02 13:54:27 +02:00
802609da12 sql: only join content table if necessary 2018-09-02 12:45:28 +02:00
46f51b9554 default to path search, not content, removed unneeded methods 2018-09-02 12:38:07 +02:00
3584d284c3 indicate running search in status bar 2018-09-02 12:33:04 +02:00
9de30ce8e7 Begin filter keywords support 2018-09-02 12:27:23 +02:00
40b804e8d8 begin status bar and progress bar for pdfpreviews 2018-08-31 20:53:53 +02:00
703d426979 open specififed pdfviewer jumping to the page of the preveiw image
(cherry picked from commit 0bd429be1c9e16b96dd5e503265856107e55adaf)
2018-08-31 20:53:02 +02:00
53cf73cc8d Wait till pdfworker finishes before new search, cancel running 2018-08-31 20:51:15 +02:00
e8ef4be571 Remove edit file query/content + filter results lineedit 2018-08-24 08:53:00 +02:00
5613c3e275 mainwindow.ui: UI Changes (Scale + Filters + Buttons). Logic not implemented 2018-08-12 23:14:37 +02:00
0406472a0b begin work on qt gui - basic search & pdf preview 2018-08-12 16:45:39 +02:00