Juergen Spitzmueller
456b2b0e8b
Fix indentation
2021-02-11 08:08:37 +01:00
Juergen Spitzmueller
2175899f17
Re-initiate module filter after dialog re-opening ( #12128 )
2021-02-11 08:07:55 +01:00
Juergen Spitzmueller
ad1e7da1fb
Assure filtered module items are not editable ( #12127 )
2021-02-11 07:57:09 +01:00
Juergen Spitzmueller
65f96abfec
Make delimiter icons a bit smaller
2021-02-10 11:40:56 +01:00
Juergen Spitzmueller
c2822d684b
Add LFUN_LYXFILES_OPEN
...
This opens the new templates/examples dialog and creates a view if
necessary (#12106 ).
2021-02-10 09:36:32 +01:00
Juergen Spitzmueller
7cccfe5515
BulletsModule: disable size widget with custom bullet ( #12011 )
2021-02-09 11:01:45 +01:00
Juergen Spitzmueller
11b7714fc1
Use SVG icons in itemize bullet selector
...
This scales much better than the current png solution, is HiDPI- and
darkmode-ready
2021-02-09 10:32:16 +01:00
Stephan Witt
80e20e86be
#11682 amend change 4d4dc96b06
- check Qt version for all Qt::ApplicationState occurances
2021-02-08 09:04:18 +01:00
Stephan Witt
4d4dc96b06
#11682 open new window on Mac if there is none and LyX is activated via dock
2021-02-07 18:53:40 +01:00
Juergen Spitzmueller
233cfed333
GuiDelimiter: properly calculate widget width
2021-02-07 17:24:59 +01:00
Juergen Spitzmueller
0afae1f97d
GuiDelimiter: fix tabstop access
...
DialogButtonBox not yet included, though.
2021-02-07 17:00:20 +01:00
Juergen Spitzmueller
fa56a5eb98
Adjust selection color of delimiter icons
2021-02-07 12:32:11 +01:00
Juergen Spitzmueller
5c1a6468ac
GuiDelimiter: use highlight text color if icon is selected
2021-02-06 16:25:55 +01:00
Juergen Spitzmueller
7c33e2fc08
GuiDelimiter: store delimiter name in UserRole
2021-02-06 15:33:13 +01:00
Juergen Spitzmueller
1fe75ae72c
GuiDelimiter: cleanup and fix crash
2021-02-06 15:09:54 +01:00
Juergen Spitzmueller
fcc832ebeb
GuiDelimiter: use SVG icons rather than relying on font ( #12085 )
2021-02-06 14:05:46 +01:00
Pavel Sanda
ded8c873f4
Attempt on #12066 .
...
Some lfuns are handled directly in GuiApplication while handling
of menu hiding in fullscreen was done on the level of GuiView.
We'll see if this code movement breaks in different scenarios,
but quick grep suggested that the only other way to guiview
dispatch is through drag&drop when menu isn't involved.
2021-02-03 22:06:14 +01:00
Jean-Marc Lasgouttes
9f899a17fa
Force redraw of all bufferviews after zoom in/out
...
Add a new ForceAll update flag that forces to update metrics and
redraw all buffer views.
The situation in multi windows setting is very fragile and will need
to be adressed properly in the 2.5 cycle.
2021-02-03 15:42:11 +01:00
Richard Kimberly Heck
bd0044f9d5
Fix bug #11351 .
...
Patch from Daniel.
2021-02-02 17:34:25 -05:00
Juergen Spitzmueller
1bc7e73c74
Fix highlighting of cursor context in View Source ( #12099 )
...
This also considers dark mode,
2021-01-31 17:54:54 +01:00
Jean-Marc Lasgouttes
b1efc5a48e
Initialize properly IconInfo struct
...
Spotted by coverity.
2021-01-29 18:57:13 +01:00
Jean-Marc Lasgouttes
dca5646163
LengthValidator: initialize properly positive_
...
Spotted by coverity.
2021-01-29 18:17:16 +01:00
Enrico Forestieri
070270fdc7
Avoid deprecation warnings
...
In Qt 5.15 many deprecation warnings are issued, presumably for
helping the port to Qt 6. They are really a load but can be
shuten up by using -DQT_NO_DEPRECATED_WARNINGS, except for the ones
about MidButton, AdjustToMinimumContentsLength, and DefaultLocaleLongDate.
This change should not affect compilation with Qt 4, as all changes are
backward compatible (only Qt versions prior 4.5 could be affected).
2021-01-29 13:12:29 +01:00
Richard Kimberly Heck
10c7954ffb
Const
2021-01-25 14:35:37 -05:00
Jean-Marc Lasgouttes
6bf8a0ade8
Disable respectOSkbd checkbox
...
This is not ready yet. See discussion in #6450 .
2021-01-25 18:35:41 +01:00
Juergen Spitzmueller
b90c3fdfa1
GuiTabular: only apply changed features ( #10450 )
2021-01-25 11:00:06 +01:00
Juergen Spitzmueller
e2a66df3b8
LFUN_FILE_OPEN: Strip quotes from argument ( #12091 )
2021-01-24 14:48:55 +01:00
Juergen Spitzmueller
06605a587f
Account for spaces in paths to templates ( #12082 )
2021-01-20 17:05:10 +01:00
Juergen Spitzmueller
ee475b62fa
Do not rely on hardcoded color when determining boxbgcolor
2021-01-20 14:15:48 +01:00
Juergen Spitzmueller
024980cf43
Do not rely on hardcoded color when determining notefontcolor
2021-01-20 13:58:24 +01:00
Juergen Spitzmueller
b1afdf1c19
Correct disabled graphics scale string ( #9443 )
2021-01-20 12:06:22 +01:00
Juergen Spitzmueller
3f1799b2c8
Add method to check whether LyX runs in dark mode
2021-01-19 09:21:36 +01:00
Juergen Spitzmueller
29f98ab245
Use isDarkMode() method
2021-01-19 08:37:05 +01:00
Juergen Spitzmueller
9a6f7ece97
Add option to revert graphics colors in dark mode ( #12076 )
...
This amends [5d47a7ee57506/lyxgit]
2021-01-18 10:46:16 +01:00
Juergen Spitzmueller
057753dc75
Allow semantic colors in branches and use semantic background color by default
...
Addresses most crucial part of #12075
File format change
2021-01-18 09:56:53 +01:00
Juergen Spitzmueller
a4e6f0dead
Add some more hints to empty margin widgets ( #11424 )
2021-01-17 17:49:45 +01:00
Juergen Spitzmueller
5d47a7ee57
Try to automatically handle transparent pictures in darkmode ( #12076 )
...
We'll see how this plays in practice.
2021-01-17 11:03:21 +01:00
Juergen Spitzmueller
606a404632
Extend non-default margins tooltip ( #11424 )
2021-01-17 10:18:45 +01:00
Richard Kimberly Heck
fd74bddffc
Keep dialog connected to cross-ref inset after Apply.
...
This does not actually have any effect yet, due to the fact that
disconnectAfterApply returns true (and this is a GuiDialog).
2021-01-15 11:12:25 -05:00
Richard Kimberly Heck
a9bb062fc3
Keep dialog connected to External inset after Apply
2021-01-15 11:12:25 -05:00
Richard Kimberly Heck
bd555eebe2
Keep dialog connected to BibTeX inset after Apply
2021-01-15 11:12:25 -05:00
Richard Kimberly Heck
997bf3ecb7
Revert unintended commit from before
2021-01-15 11:12:25 -05:00
Richard Kimberly Heck
9504ec84c5
Simplify and polish
2021-01-13 14:42:26 -05:00
Richard Kimberly Heck
d41ec3368d
Fix bug #10635
2021-01-13 14:38:48 -05:00
Stephan Witt
2844a4ec06
drop unintented static declaration from local temporary variable (formerly a global static constant)
2021-01-10 22:03:19 +01:00
Richard Kimberly Heck
98bfbe9ddf
Fix bug #6128 .
2021-01-10 02:40:12 -05:00
Richard Kimberly Heck
12bb380941
Fix bug #5972 : Count words in citations (approximately).
2021-01-10 01:43:34 -05:00
Richard Kimberly Heck
ed2d3e199f
Fix bug #4241 : Addition to Intro
2021-01-09 22:17:52 -05:00
Richard Kimberly Heck
9446aa3640
Fix bug #11030 .
...
Factor out the code that connects to a newly created dialog and then
use that also in GuiGraphics.
There must be many other dialogs that need this same treatment....
2021-01-09 20:33:23 -05:00
Juergen Spitzmueller
73df32bec4
Disambiguate homographic inflections
...
These are not homographic in other languages
(e.g. German "Öffnen" vs. "Geöffnet")
2021-01-09 09:44:38 +01:00