Daniel Ramoeller
ce8b4e3a21
Movable minimised Quick Search Widget
...
Fix for bug #12207 .
2021-10-31 13:06:36 +01:00
Juergen Spitzmueller
6431a9ab13
Make Dock Widgets SubWindows in general ( #12170 )
2021-05-06 17:56:53 +02:00
Juergen Spitzmueller
9586c51c3f
GuiSearch: prevent Tab key to switch to work area (part of #12170 )
...
QWidget::focusNextPrevChild() passes over to the parent (which is the
work area here) if the current window is not a dialog (isWindow()) or
a sub-window (window flag Qt::SubWindow).
We set the latter here to prevent this unwanted behavior.
Let's see if there are side-effects.
2021-05-06 12:27:38 +02:00
Juergen Spitzmueller
0e54e01756
grammar
2021-02-28 17:38:01 +01:00
Juergen Spitzmueller
939dc4076f
Prevent infinite loop with instant search on Mac ( #12161 )
...
The search dialog was repeatedly feeded with the same string, and a
new search was triggered.
2021-02-28 17:36:06 +01:00
Juergen Spitzmueller
5573825202
HiDPI support for search indicators ( #12162 )
...
Requires Qt5
2021-02-28 12:35:29 +01:00
Juergen Spitzmueller
ed2f3dae5c
Select search string after inserting from find buffer
2021-02-18 15:56:32 +01:00
Juergen Spitzmueller
9ee73dbb30
GuiSearch: properly display indicators in dark mode
2021-02-18 15:44:27 +01:00
Daniel Ramoeller
672ff09634
Fix Undo with search-string-set
...
Makes it possible to use the find combobox's internal undo feature to undo a set search string.
2021-02-18 13:09:30 +01:00
Juergen Spitzmueller
a7e6dcc31d
GuiSearch: make search options visible/accessible in minimal mode
2021-02-18 07:33:26 +01:00
Juergen Spitzmueller
80cb0650e4
Clean up previous selections with empty searchstr on instant
2021-02-17 16:55:55 +01:00
Juergen Spitzmueller
ca160da07d
GuiSearch: separate findClicked() slot from more general function
...
the latter one is also accessed by different paths than clicking
2021-02-17 14:48:31 +01:00
Juergen Spitzmueller
180fca2fcd
Fix Find button with search as you type
2021-02-17 14:32:26 +01:00
Juergen Spitzmueller
109e98d945
GuiSearch: Properly delegate focus
2021-02-16 13:30:31 +01:00
Pavel Sanda
1ba3307226
GuiSearch did not work with num. keypad enter
2021-02-16 08:52:21 +01:00
Juergen Spitzmueller
5980afaee0
Add support for search/replace within selection ( #2548 )
2021-02-16 08:11:09 +01:00
Juergen Spitzmueller
c4fbd0d913
Initialize F&R dialog with selected text ( #8448 )
2021-02-15 16:04:17 +01:00
Richard Kimberly Heck
bdd7e26b3e
Fix warning
2021-02-15 09:48:37 -05:00
Juergen Spitzmueller
e5958e3ca8
GuiSearch: catch Esc
2021-02-15 15:37:58 +01:00
Juergen Spitzmueller
958213ee52
Improve instant search
2021-02-15 14:12:07 +01:00
Juergen Spitzmueller
f59b8cb657
GuiSearch: Add auto-wrap option
2021-02-15 11:30:03 +01:00
Juergen Spitzmueller
22542700a7
Attempt at "search as you type"
2021-02-15 10:53:23 +01:00
Juergen Spitzmueller
7869437691
Forgot l7n flag
2021-02-15 08:42:15 +01:00
Pavel Sanda
b497baeea3
Guisearch Qt4 compatibility
2021-02-14 22:44:33 +01:00
Juergen Spitzmueller
c4c62f7185
Remove duplicate header
2021-02-14 19:03:31 +01:00
Stephan Witt
a476cc4839
#8055 add support for system-wide find buffer on Mac
...
Command-E is standard for paste to find buffer on Mac. That's why the key binding is changed appropriately.
2021-02-14 18:56:25 +01:00
Juergen Spitzmueller
4db1a08450
Let replace combo enabled if replace buttons are disabled.
2021-02-14 18:23:54 +01:00
Juergen Spitzmueller
234c6b5c8b
Remove resolved FIXME
2021-02-14 18:15:33 +01:00
Juergen Spitzmueller
28239bf996
Frame takes less space than GroupBox
2021-02-14 18:12:38 +01:00
Richard Kimberly Heck
7c9eaa248d
nullptr
2021-02-14 12:05:45 -05:00
Richard Kimberly Heck
fe38f02cde
Update release notes for bookmark shortcuts
2021-02-14 11:46:27 -05:00
Richard Kimberly Heck
98f3ef0924
Amend 2baa3a46a6ad.
2021-02-14 11:41:25 -05:00
Juergen Spitzmueller
2baa3a46a6
Transform simple search dialog to dock widget ( #2625 )
...
Also solves #8054
2021-02-14 17:18:00 +01:00
Juergen Spitzmueller
d1ea8a40af
GuiSearch: catch global shortcuts to find forwards/backwards ( #11170 )
2021-02-12 10:50:47 +01:00
Juergen Spitzmueller
2d553ec5b9
Amend 24b71d30d56752 ( #12048 )
2020-12-14 14:19:08 +01:00
Yuriy Skalko
78f457796c
Implement proper Dialog factory instead of implicit link-time dependencies
2020-12-06 17:37:39 +02:00
Jean-Marc Lasgouttes
24b71d30d5
Fix disabling of widgets for (simple) Search dialog
...
This allows to remove the calls to ButtonController::addReadonly,
which are placebo since 78ade7e6.
2020-12-03 15:44:55 +01:00
Yuriy Skalko
10272e4747
Move include of own header to the top. Fix dependencies
2020-10-25 19:58:57 +02:00
Scott Kostyshak
27ba830b8e
Fix Qt deprecation warns for setAutoCompletion()
...
This commit fixes a few warnings from Qt 5.14 like the following
one:
error: ‘void QComboBox::setAutoCompletion(bool)’ is deprecated: Use setCompleter() instead. [-Werror=deprecated-declarations]
We only generated setAutoCompletion() from setting the property in
the .ui files. There does not seem to be a .ui file property that
generates setCompleter(). However, the default in both Qt5 [1] and
Qt4 [2] is to enable case-insensitive autocompletion, which seems to
be the same type of autocompletion as when we were relying on
setAutoCompletion(true). Thus, we can remove the properties that set
autocomplete to true. There is only one file, SearchUi.ui, where we
were turning off the autocompletion; we now do so using
setCompleter(0) in GuiSearch::GuiSearch().
[1] https://doc.qt.io/qt-5/qcombobox.html#setCompleter
[2] https://doc.qt.io/archives/qt-4.8/qcombobox.html#setCompleter
2020-03-18 23:17:44 -04:00
Jean-Marc Lasgouttes
c293be56bd
Rename frontend qt4 to qt
...
In particular, the directory frontends/qt4 is renamed to frontends/qt.
Many configurations file have to be updated. All mentions of qt4 in
the source have been audited, and changed to qt if necessary.
The only part that has not been updated is the CMake build system.
2019-07-20 23:39:40 +02:00