Richard Kimberly Heck
5fa493aa4a
Re-organize and comment code a bit.
2019-05-22 20:58:00 -04:00
Juergen Spitzmueller
3da25187a9
Prevent assert due to some odd role in older qt versions.
2019-05-14 14:05:46 +02:00
Jean-Marc Lasgouttes
6df593049c
Revert "Try to compute row height like it should be done"
...
This is not done right at all. The best is to revert for now and
think about how to do it properly.
This reverts commit 66a3d64346332e47252b37dbc0f80158738987dc.
2019-05-13 10:47:47 +02:00
Richard Kimberly Heck
051a1a56a9
Revert "GMO for BG"
...
This reverts commit 5b84f11f80d1ec160dbfa312bc2358cfd7abec72.
2019-05-12 23:30:49 -04:00
Richard Kimberly Heck
5b84f11f80
GMO for BG
2019-05-12 23:30:13 -04:00
Richard Kimberly Heck
15b90e4cc1
Rename for clarity.
2019-05-12 23:16:25 -04:00
Juergen Spitzmueller
682eabbe8e
GuiDocument: Further encoding GUI improvement
...
Move the odd "(no inputenc)" option out of the encoding list.
2019-05-12 09:10:24 +02:00
Juergen Spitzmueller
e94239e973
Correct entry string
2019-05-11 19:04:36 +02:00
Juergen Spitzmueller
83a62a6d74
Further encoding GUI improvements
2019-05-11 12:16:52 +02:00
Juergen Spitzmueller
a6116428c0
GuiDocument: Adapt to new encoding default
...
Also simplify the code.
2019-05-11 11:28:21 +02:00
Jean-Marc Lasgouttes
c3f10df95d
Move the stateText code for FontInfo to FontInfo class.
...
The first parameter of Font::stateText is now optional.
2019-05-10 10:45:40 +02:00
Günter Milde
337e3ff9a6
Fix Font selector GUI (font encoding) broken in 27ba6f282dc3.
2019-04-30 09:34:51 +02:00
Juergen Spitzmueller
e325c7cc6a
GuiIdListModel: ignore DecorationRole (icons of available list)
2019-04-20 17:50:21 +02:00
Juergen Spitzmueller
b60259fbe1
Add system/local icon to available modules list
...
Also markup modules with missing requirements (like we do for layouts)
2019-04-20 09:28:46 +02:00
Juergen Spitzmueller
c0f734bcef
Fix some listings/minted incompatibilities
...
The basic problem here is that rather than using an abstract syntax,
backend-specific param strings are produced in the listings dialog,
depending on whether listings or minted is used.
Of course this breaks if a user switches backends inbetween (s/he would
have to open and re-apply each and every listings inset!)
Do at least the most basic translations in InsetListings::latex().
A sane solution would imply the use of only one param syntax with
respective interpretation for each backend. But this would be a file
format change.
2019-04-19 19:03:29 +02:00
Juergen Spitzmueller
499167b2c5
Another quotation mark fix.
2019-04-19 14:27:27 +02:00
Juergen Spitzmueller
ac84510453
Fix quotation marks in GUI string.
2019-04-19 13:43:33 +02:00
Juergen Spitzmueller
2fa68abd00
Layout tweaking
2019-04-19 11:27:54 +02:00
Juergen Spitzmueller
7cadacb19b
The Author(Year) label format is also mandatory for numeric natbib!
2019-04-19 09:53:42 +02:00
Juergen Spitzmueller
bebc184054
Display full author list with Natbib (non-BibTeX) if requested
2019-04-19 09:33:31 +02:00
Juergen Spitzmueller
8ecef0fcbc
Available modules should not be editable.
2019-04-18 17:33:37 +02:00
Juergen Spitzmueller
8ee2ffaa52
Amend 3615a6a75bfe7b
...
Natbib provides separation of abbreviated and full author list also
beyond BibTeX
2019-04-18 16:27:22 +02:00
Juergen Spitzmueller
aec50eec49
Fix doxygen comment
2019-04-18 14:51:10 +02:00
Juergen Spitzmueller
3615a6a75b
Make usage of natbib without BibTeX more obvious
...
Fixes : #5549
2019-04-18 14:48:01 +02:00
Juergen Spitzmueller
ed44bbddee
Add MenuString to InsetLayout
...
Fixes : #8818
2019-04-18 10:27:19 +02:00
Günter Milde
27ba6f282d
Rename legacy input encoding settings.
...
Format incremented to 573
2019-04-16 20:17:32 +02:00
Juergen Spitzmueller
7ec81c651e
Listings: language updates
...
Patch by Sergei Winitzki
2019-04-15 11:55:46 +02:00
Jean-Marc Lasgouttes
f9da28428a
Fix bold-like characters when selecting bidi text
...
In painter, restrting paining regions does not really work when region is empty.
Fixes bug #11198 .
2019-04-09 11:32:22 +02:00
Juergen Spitzmueller
dfde45a01a
Do not attempt to show module info for category headers
2019-04-07 13:57:41 +02:00
Juergen Spitzmueller
823263904f
GuiDocument: Sort available modules by category
...
Also improve display of module information
2019-04-07 11:23:19 +02:00
Juergen Spitzmueller
6fef1cec1f
Fix crash in GuiBibtex
2019-04-05 17:53:41 +02:00
Juergen Spitzmueller
38fbbf07cd
GuiDocument: Add filter to modules selection
...
Sorting by category is needs more work, since the GuiIdListModel is
not suitable for trees.
2019-04-05 11:54:44 +02:00
Juergen Spitzmueller
fa79ff2db2
Resolve some implicit conversion warnings.
2019-04-05 11:54:44 +02:00
Juergen Spitzmueller
b5af05b4a7
Make module categories (almost) great again
...
The category tag was rarely used and thus not very useful. This adds
categorization to most modules (the rest will follow) and uses the
\DeclareCategory tag we use in layouts rather than the extra syntax
we used in modules. Categories are now added to the po files and
translated.
Note that this is work in progress: the current categories are still
subject to change.
The ultimate goal of this is to sort the modules in the GUI by category
as we do with layouts, examples and templates (and add a filter to search
for specific modules)
As it is now (with the many modules we accumulated), the module selector
is not really usable anymore. If you don't happen to know how exactly a
module is named, selecting a module is really a PITA.
2019-04-04 18:43:29 +02:00
Juergen Spitzmueller
2709c5fb58
Initialize TabularCreate dialog enabled.
...
As pointed out in #10105 .
2019-04-04 08:23:27 +02:00
Juergen Spitzmueller
f60bda37a6
booktabs trimming: fix some thinkos
2019-04-03 17:18:21 +02:00
Juergen Spitzmueller
8085fc21f8
booktabs: support for \cmidrule trimming
...
This has probably still some rough edges, so please test thoroughly.
Fixes : #3072
2019-04-03 07:59:52 +02:00
Juergen Spitzmueller
9d384c3c12
Fix tooltip.
...
Thanks, Kornel.
2019-04-01 11:28:54 +02:00
Juergen Spitzmueller
00de6c4be7
Fix left/right border UI when toggling formal
...
Fixes : #9835
2019-04-01 09:26:09 +02:00
Juergen Spitzmueller
b0f9d98d6e
Remove Qt 5.12-only colorrole
...
Designer inserts those automatically. So we have again backwards-incompatible
designer behavior :-(
2019-04-01 09:18:16 +02:00
Juergen Spitzmueller
3bbcfda3db
Add option to reset to default booktabs lines
...
Addresses: #10106
2019-04-01 07:08:13 +02:00
Juergen Spitzmueller
c12190b5e5
GuiBibtex: add button to edit individual databases externally
...
This complements the inset context menu function, which only allows for
editing all databases externally
2019-03-30 11:37:28 +01:00
Juergen Spitzmueller
02974ff2a9
GuiSelectionManager: properly handle de-selecting items
...
When an item is de-selected with the mouse, and thus no item selected
anymore, disable add, up, down and delete buttons.
2019-03-30 11:36:47 +01:00
Juergen Spitzmueller
4d54d3afca
Fix some implicit conversion issues.
2019-03-30 09:33:09 +01:00
Juergen Spitzmueller
f75b081551
Add support for mixed-encoded biblatex files
...
Biblatex 3.12 allows to specifiy individual encodings per bib file
via \addbibresource[bibencoding=<encoding>].
This is now supported via GuiBibtex.
2019-03-29 15:45:55 +01:00
Juergen Spitzmueller
0042fb34d0
Fix some group boxes.
2019-03-29 13:01:47 +01:00
Juergen Spitzmueller
ecb2427f41
Add tablestyle buffer param
...
Fixes : #9901
2019-03-26 16:24:27 +01:00
Juergen Spitzmueller
683b3a05e2
Introducing table templates
...
The idea is simple: we insert a pre-formatted table (with a given border
style currently, but other attributes are possible as well) via file-insert
and scale it then to the requested size.
We need three sizes (1x1, 1x2 and 1x3) to generate all sizes properly (due
to border specifications).
Currently, these styles can only be accessed via lfun tabular-style-insert
and the Tabular Create dialog.
My plan is to add a buffer param to set a default style (#9901 ) which then
also is respected by the toolbar button and probably a layout tag to let
classes specify a default style (#8360 ).
2019-03-26 13:43:33 +01:00
Juergen Spitzmueller
2ed3b22a06
Add ignorelang option to file-insert
...
This is useful for inserted files with no real text content
2019-03-26 10:13:33 +01:00
Juergen Spitzmueller
6852e35b1d
GuiLyXFiles: handle defaults.lyx
2019-03-23 17:41:42 +01:00