126 Commits

Author SHA1 Message Date
shenleban tongying
bed57aeaf6 simplify two true-false 2022-08-23 04:32:43 -04:00
Jean-Francois Dockes
7ceb9c6837 GUI: try to improve font size consistency.
- Use px everywhere.
- Get rid of confusing never used compile time option.
- Fix reslist not reacting to zoomIn/zoomOut
- Other small adjustements.
2022-06-28 15:56:42 +02:00
Jean-Francois Dockes
8cec995573 UI scaling: fonts 2022-04-19 18:23:51 +02:00
Jean-Francois Dockes
5666ec568a GUI: show duplicates: use a result table window instead of the static list 2022-02-07 15:37:06 +01:00
Jean-Francois Dockes
b49696653b GUI: ^W should not close the main result table 2022-02-07 09:52:48 +01:00
Jean-Francois Dockes
ae3480eab4 comment 2021-08-31 10:13:54 +02:00
Jean-Francois Dockes
aae1f07a9f Change result table "open and quit" shortcut to use Ctrl+Alt+Shift to avoid conflict with "jump to row". Add "copy text and quit" 2021-08-30 08:56:52 +02:00
Jean-Francois Dockes
e6055681d4 GUI: result table: when displaying content in the detail area, if the doc is a free-standing image, display it 2021-07-04 17:19:38 +02:00
Jean-Francois Dockes
ebcef6a1ff GUI: fix issue of text not displaying when jumping to table with Ctrl+0 2021-04-13 09:50:35 +02:00
Jean-Francois Dockes
8603409def GUI: preferences: separate tab for result table preferences. Add option to disable showing meta while hovering. Show doc text on ctrl+... if this is the default for a mouse click (no Shift) 2021-04-10 15:26:00 +02:00
Jean-Francois Dockes
ec389f89f5 Add View menu entries for adjusting font size. Make sure that the result table position does not change when changing font size 2021-03-27 10:00:37 +01:00
Jean-Francois Dockes
8da0bf28cc GUI: add popup menu option to copy simple file name. fix typo keytcfn->keyctfn. Change utf8check() parms for easier usage 2021-03-27 09:00:28 +01:00
Jean-Francois Dockes
fbec7a6adb GUI: support Ctrl+Plus/Ctrl+Minus to increase or decrease the font size (results and preview) 2021-03-26 17:45:15 +01:00
Jean-Francois Dockes
ce6c0edc91 restable: cant use reslitdateformat which is html. Use setPlainText when displaying doc text in the detail area 2021-03-23 09:14:15 +01:00
Jean-Francois Dockes
26d3964c1f GUI: got rid of redundant creslistdateformat 2021-03-22 16:07:12 +01:00
Jean-Francois Dockes
572e37c36f GUI: doc text copy to clipboard: result table tooltip set on middle of row, not on mouse cursor 2021-03-17 18:31:12 +01:00
Jean-Francois Dockes
5668cec4bc result table: arrange so that jump to row through Shift+letter displays the default kind of detail content 2021-03-17 17:54:10 +01:00
Jean-Francois Dockes
086ccef056 Moved the dark mode choice out of the menus and into the GUI preferences. Use separate css fragment for the result list dark mode header, does not clobber the user one any more. 2021-03-16 14:55:32 +01:00
Jean-Francois Dockes
7878db7dbe Add pref for using click vs shift+click to display text in restable detail area. Compactify prefs pane 2021-03-16 09:52:14 +01:00
Jean-Francois Dockes
d3790c0f5e Result table: selecting a row with Shift pressed displays the text in the detail area instead of the result list paragraph 2021-03-15 18:03:04 +01:00
Jean-Francois Dockes
64005ac734 Arrange for the "copy text" operation to be accessible from the popup menu, not just through a shortcut and provide some feedback 2021-03-15 14:11:35 +01:00
Jean-Francois Dockes
4814d57a85 shortcuts prefs: use an arbitrary string as key instead of the textual description 2021-03-09 10:07:46 +01:00
Jean-Francois Dockes
5e69bea014 GUI: add pref to disable the row jump shortcuts 2021-03-01 11:37:39 +01:00
Jean-Francois Dockes
2678b304c5 Memorize last state for result table h and v headers 2021-02-11 13:34:34 +01:00
Jean-Francois Dockes
cd3abe7d41 Clarify the shortcuts descriptions 2021-02-10 15:40:17 +01:00
Jean-Francois Dockes
c210b27819 use ctrl+g for copying doc text from result table 2021-02-04 10:24:09 +01:00
Jean-Francois Dockes
72f17a73d3 GUI: result table. Add shortcuts Ctrl+[a-z] to make any of the 1st 26 rows current. Add method and shortcut to copy the current result text to the clipboard. 2021-01-27 10:06:02 +01:00
Jean-Francois Dockes
8099951b0f add pref and shortcut to toggle showing result table header 2021-01-22 10:07:57 +01:00
Jean-Francois Dockes
84815d4aa6 restable Ctrl+i shortcuts to jump from results to row i 2021-01-22 09:46:01 +01:00
Jean-Francois Dockes
c19229a59f shortcuts editor: arrange for translations to work. Changing languages does not work right 2021-01-21 18:04:18 +01:00
Jean-Francois Dockes
d2ce3845d0 Shortcut editor ok? 2021-01-20 15:19:27 +01:00
Jean-Francois Dockes
ea9a9f511f 1st sort of working version 2021-01-19 19:28:42 +01:00
Jean-Francois Dockes
01aa85fd1c Fix sort state not correctly activated when set from saved state 2020-11-25 10:28:15 +01:00
Jean-Francois Dockes
dec9968bc5 restable col list and widths, splitter state, now use qsettings directly: not managed by the prefs dialog, so no sense in going through uiprefs 2020-11-11 16:55:12 +01:00
Jean-Francois Dockes
f9ffb6ec60 Error in new result table caching code resulted in incorrect display 2020-10-04 19:59:27 +02:00
Jean-Francois Dockes
19eac2d7dc Renamed path_open() -> path_streamopen() 2020-09-29 13:35:55 +02:00
Jean-Francois Dockes
d98849d90a avoid calling setPointSize(-1) 2020-09-22 17:22:58 +02:00
Jean-Francois Dockes
263eaf5766 remove spurious trace 2020-09-22 17:20:30 +02:00
Jean-Francois Dockes
b6be476e84 restable: do not use resize mode "ResizeToContents" on the table rows: this forces a full extraction of all rows at every opportunity. Also: cache doc and font which are repeatedly requested by calls to the model data() method 2020-09-22 17:19:34 +02:00
Jean-Francois Dockes
f078e8a8af improve restable sel/unsel colors 2020-09-11 16:08:02 +02:00
Jean-Francois Dockes
a6c53ff651 fix result table display in dark mode 2020-09-10 13:56:25 +02:00
Jean-Francois Dockes
199abb9980 Get the result table detail area to use the reslist HTML style (e.g. for dark mode) 2020-09-10 10:53:38 +02:00
Jean-Francois Dockes
5bf4596d1f GUI restable and reslist link clicking: cleanup, simplify, comments 2020-07-18 16:43:44 +02:00
Jean-Francois Dockes
3948f9bd33 GUI: create separate popup menu entries for open parent and open folder 2020-07-16 10:25:26 +02:00
Jean-Francois Dockes
adf0a7a848 statically declared shortcut caused crash during children delete in qapp::exit. Small related cleanups 2020-06-14 18:06:31 +02:00
Jean-Francois Dockes
1eeeba4874 GUI: simplify icon display by moving up the thumbnail test up to reslistpager as it was identical in restable and reslist 2020-06-14 13:31:26 +02:00
Jean-Francois Dockes
19c8c50fb1 GUI: fix some questionable uses of url_encode and use path2qs in places 2020-04-19 09:21:40 +02:00
Jean-Francois Dockes
5fd492da57 Windows: use wcsftime instead of strftime 2020-04-16 14:01:06 +01:00
Jean-Francois Dockes
12ebb7ac6e Windows: deal with non-ASCII user login, non-ascii paths in confdir etc. 2020-04-15 14:03:04 +01:00
Jean-Francois Dockes
f141e35279 add pref to display Snippets link even if doc has no pages 2020-03-11 10:44:49 +01:00