Commit Graph

15 Commits

Author SHA1 Message Date
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