PaddleStroke
59aae0fad8
Core: Text object: Fix icon of the tab.
2025-03-06 08:47:04 +01:00
Benjamin Bræstrup Sayoc
f647d4a1eb
Gui: Use QStringLiteral
2025-02-10 18:34:57 +01:00
wmayer
013d99dd65
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
6c0659711b
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
d150fa7164
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
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
Uwe
aa7977c51a
[Gui] Task* and Text*: remove unused includes
2022-03-05 17:44:07 +01:00
wmayer
460426c038
Gui: [skip ci] make Save logic of text document more intuitive
2021-02-25 10:17:51 +01:00
Mateusz Skowroński
2559f2d29c
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
ea3ecf4054
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
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e
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
56bf2d5fa0
Gui: [skip ci] fixes: "Text document" renaming crash
2020-05-03 09:43:04 +02:00
wmayer
53b01f08f9
Gui: improve usability of text document object
2020-03-17 11:36:03 +01:00
wmayer
d969581ff8
Gui: allow to set font family and size and syntax highlighting
2019-12-19 23:17:46 +01:00
wmayer
1bfe0f3bea
fixes #0004125 : MDIViews not accessible correctly
2019-09-15 18:15:44 +02:00
wmayer
9592eff3dc
fix some issues:
...
+ fix unicode <-> utf-8 conversion
+ fix translation issue
+ fix closing logic
2017-07-05 15:00:15 +02:00
Markus Hovorka
fc36dfed0d
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