PaddleStroke
e8bddd97b9
Core: Text object: Fix icon of the tab.
2025-03-06 08:47:04 +01:00
Benjamin Bræstrup Sayoc
8d2d0a47f4
Gui: Use QStringLiteral
2025-02-10 18:34:57 +01:00
wmayer
66b18109cb
Core: Directly store text changes made in text object
...
Store changes made in TextDocumentEditorView immediately to TextDocument. This fixes the issue reported in
https://forum.freecad.org/viewtopic.php?p=786175#p786175
2024-10-14 18:04:45 +02:00
wmayer
d626ed9690
Core: Do not save changes of a text object if the GUI document is about to be closed
...
This fixes #16873 : Text document breaks some Analysis container objects
2024-10-02 20:42:00 -06:00
wmayer
948cbfccd9
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
52e1c7c33b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
8d42b6f93c
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
Uwe
560c85c7f8
[Gui] Task* and Text*: remove unused includes
2022-03-05 17:44:07 +01:00
wmayer
aa1eb6ea76
Gui: [skip ci] make Save logic of text document more intuitive
2021-02-25 10:17:51 +01:00
Mateusz Skowroński
98f63ba60f
Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint.
2020-12-29 10:20:53 +01:00
Chris Hennes
533814dd0f
Silence Qt/Windows setGeometry Warning
...
Add the optional Qt::MSWindowsFixedSizeDialogHint parameter to all uses of the QInputDialog::getX static functions to silence a Qt/Windows debug mode warning about QWindowsWindow::setGeometry: Unable to set geometry. Increase the size of the unit calculator to eliminate the same warning. Finally, call adjustSize() on the "Unsaved Changes" dialog to silence the warning.
2020-12-11 09:58:09 +01:00
wmayer
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
730154a684
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
e0b1852165
Gui: [skip ci] fixes: "Text document" renaming crash
2020-05-03 09:43:04 +02:00
wmayer
17e0697c5e
Gui: improve usability of text document object
2020-03-17 11:36:03 +01:00
wmayer
9746106740
Gui: allow to set font family and size and syntax highlighting
2019-12-19 23:17:46 +01:00
wmayer
5390266ac7
fixes #0004125 : MDIViews not accessible correctly
2019-09-15 18:15:44 +02:00
wmayer
75d6672159
fix some issues:
...
+ fix unicode <-> utf-8 conversion
+ fix translation issue
+ fix closing logic
2017-07-05 15:00:15 +02:00
Markus Hovorka
f9f2d8c31b
Add TextDocument with full size editor
...
A new document object App::TextDocument. It has a property Text which
holds the text of the document as a string. This commit also contains a
full size editor based on QPlainTextEdit. It can only be used by the
TextDocument and has a read only mode invoked for read only documents
(ReadOnly property set to true). The editor is invoked by a double
click on the TextDocument.
2017-07-04 19:36:10 +02:00