Commit Graph

19 Commits

Author SHA1 Message Date
wmayer
e7edda9679 TD: [skip ci] Fix several clazy issues:
* Using copy-ctor but class TechDraw::anglePoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Using copy-ctor but class TechDraw::arcPoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
* signal arguments need to be fully-qualified (TechDrawGui::QGIView instead of QGIView) [-Wclazy-fully-qualified-moc-types]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Use midRef() instead [-Wclazy-qstring-ref]
2022-07-25 17:00:48 +02:00
Uwe
2e5e4dced8 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Uwe
a4a8acd445 [TD] remove unnecessary Boolean comparisons 2022-06-19 15:20:03 +02:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
mwganson
abe76b35f4 [TechDraw] Use global DontUseNativeColorDialog parameter from BaseApp/Preferences/Dialog when opening color dialog 2022-01-04 12:55:21 +01:00
wmayer
96cbb3d2c0 TD: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion] 2021-12-02 10:12:35 +01:00
Tomas Pavlicek
09d9caf438 TechDraw - Edit annotations via double-click 2021-08-15 00:16:57 +02:00
luz paz
1388db3c0a Crowdin: represent whitespace in code instead of string 2021-04-19 06:23:07 -04: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
6d0a136aad Qt5: 'void Q[Plain]TextEdit::setTabStopWidth(int)' is deprecated [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
wandererfan
bcbca4c14f [TD]fix initial font size display 2020-02-14 07:44:56 -05:00
wandererfan
e290e9c4c9 [TD]fix RTA text size handling 2020-01-15 07:17:18 -05:00
wandererfan
de3715908e Fix uncommanded format change & font size display 2019-06-10 15:52:59 -04:00
wandererfan
15f440525e Fix loss of formatting when edit existing text 2019-05-17 19:35:25 -04:00
wandererfan
968faa511a MRTE License & remove copy to install dir 2019-05-14 15:38:52 +02:00
wandererfan
d078f901c7 Pass font/fontsize to RT editor 2019-05-05 21:01:31 -04:00
wandererfan
6c699887c0 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
7f07195f93 Text Leader initial version 2019-05-05 21:01:31 -04:00