Commit Graph

4117 Commits

Author SHA1 Message Date
wmayer
1ecfcf3e5e Gui: include needed header 2022-10-31 11:32:06 +01:00
wmayer
bf857c7997 Gui: clear the list of Python wrapper when quitting the application 2022-10-31 11:17:41 +01:00
0penBrain
b7d0c2a1fe Gui: remove forcefully jumping to Python Console bottom line on single LMB click 2022-10-30 21:30:40 -05:00
wandererfan
0ff473a9b6 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
wmayer
f0c61364f3 Gui: [skip ci] refactor QuantitySpinBox::apply 2022-10-28 00:46:37 +02:00
Connor Worrell
0551d0ab53 Gui: Quantity Spin Box changed to use the expression parser (PR #7124) 2022-10-27 23:17:02 +02:00
wmayer
b0633f455b Gui: bind spin boxes of Placement dialog when opening it via menu 2022-10-27 19:30:24 +02:00
wmayer
ebdd4c9af3 Gui: refactor and modernize code of Placement dialog 2022-10-27 00:28:55 +02:00
wmayer
13b3abc063 Gui: if an expression is set for Euler angles in the placement dialog then evaluate the expression instead of determining the angles from the rotation
See forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=72522
2022-10-26 11:27:46 +02:00
wmayer
c3b0988219 Gui: don't make QuantitySpinBox dependent on implementation details of its base class 2022-10-26 10:54:07 +02:00
wmayer
121e4ed03c Gui: don't make QuantitySpinBox dependent on implementation details of its base class 2022-10-26 00:43:33 +02:00
wmayer
2a3737feb0 Gui: in placement dialog use spin boxes for rotation axis 2022-10-25 22:56:56 +02:00
wmayer
1f7618cafa Gui: [skip ci] include header 2022-10-25 22:21:19 +02:00
wmayer
5f48e22bba Gui: [skip ci] Missing reference in range-for with non trivial type (Py::Object) [-Wclazy-range-loop-reference] 2022-10-25 13:36:39 +02:00
wmayer
342666162a Gui: fix possible crash in WrapperManager 2022-10-25 12:48:55 +02:00
wmayer
8b1760971f Gui: cppcoreguidelines-pro-type-reinterpret-cast
Replace an unsafe reinterpret_cast with the safer static_cast
2022-10-24 17:09:53 +02:00
Haas
094ec8cb59 Added 2 missing dark icons for stylesheets. 2022-10-23 12:33:15 -05:00
luz paz
57d561f683 Fix source comment typo 2022-10-23 09:14:44 -05:00
wmayer
42b8c7ad5a Gui: create modal color dialog on the heap if its parent widget is used in the property editor
For more details see: https://forum.freecadweb.org/viewtopic.php?f=23&t=70655
2022-10-22 21:42:21 +02:00
wmayer
e0eb6054c4 Gui: create modal dialog on the heap if its parent widget is used in the property editor
For more details see: https://forum.freecadweb.org/viewtopic.php?f=23&t=70655
2022-10-22 18:36:52 +02:00
wmayer
15fc8c0541 Gui: fix crash when accessing PySide wrapper after the underlying QObject has been destroyed 2022-10-21 17:05:55 +02:00
Kuzemko Alexsandr
2eb55d48c7 [App] Fix of untranslated first document's name (#7156)
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
adrianinsaval
5a32e28ce4 Use Std_New for new document creation at startup
so it uses the translated string
2022-10-20 19:58:16 -05:00
wmayer
06204d9f3d Gui: [skip ci] refactor PropertyModel::buildUp 2022-10-21 02:24:42 +02:00
wmayer
3b01056b9b Gui: ignore recursive call of PropertyView::onTimer() 2022-10-20 23:00:50 +02:00
wmayer
0e0976377e Gui: [skip ci] whitespace improvements 2022-10-20 21:26:53 +02:00
Yorik van Havre
1ae780d3b1 Merged crowdin translations 2022-10-17 15:12:16 +02:00
0penBrain
dc9e4db491 Gui: use default app text color for Python code instuctions highlighting
This allows to deal with OS native dark themes
 In such cases, Python instructions were black on a dark background
2022-10-10 07:33:41 -07:00
0penBrain
4f17fa7387 Gui: fix default color of report view messages in preferences 2022-10-10 07:33:41 -07:00
Yorik van Havre
9c24f0f5b8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
Yorik van Havre
4ba1b0e4dc Updated ts files 2022-10-10 10:19:30 +02:00
Chris Hennes
3988c6a627 Gui: Add spreadsheet colors to prefererence pack 2022-10-09 16:32:01 -05:00
wmayer
ea4a6948be Gui: add class TaskDialogPy 2022-10-09 14:26:42 +02:00
wmayer
26a25329dd Gui: [skip ci] do not change link property when canceling dialog 2022-10-08 18:57:59 +02:00
wmayer
67d90e1748 Gui: replace QRegExp with QRegularExpression 2022-10-08 13:32:50 +02:00
wmayer
36bf3896d3 Gui: depending on parameter settings open a transaction when changing visibility or selectability 2022-10-07 22:06:01 +02:00
Chris Hennes
0b294a955c Gui: Remove Print from toolbar
Inadvertently left by previous commit.
2022-10-07 14:20:40 -05:00
0penBrain
81b67e0b67 Gui: optionally disable wheel event when Gui::InputField doesn't have focus
Reuse "ComboBoxWheelEventFilter" switch that already acts on combo and spin boxes
2022-10-07 10:40:57 -07:00
PaddleStroke
7720925e28 GUI: Remove copy cut print paste from File toolbar (#7571)
As discussed in the forums poll at https://forum.freecadweb.org/viewtopic.php?f=8&t=71924

Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2022-10-07 11:43:41 -05:00
PaddleStroke
de4b18c999 GUI: Remove Edit Mode from File toolbar (#7570)
See poll at https://forum.freecadweb.org/viewtopic.php?f=8&t=71925

Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2022-10-07 11:06:01 -05:00
wmayer
75bfb8f48f Core: replace QRegExp with QRegularExpression 2022-10-06 13:54:20 +02:00
Yorik van Havre
4ca1b838a9 Merged crowdin translations 2022-10-06 12:48:05 +02:00
Yorik van Havre
3d75b4fb74 Updated ts files 2022-10-06 12:16:32 +02:00
wmayer
d8a5004e41 Gui: [skip ci] add QRegularExpression to QtAll.h 2022-10-06 00:46:42 +02:00
wmayer
6d06e5332a Gui: replace some places of deprecated QRegExp 2022-10-05 19:10:29 +02:00
wmayer
9008cdea6f Gui: open and commit a transaction after renaming an object in the tree view
For more details see: https://forum.freecadweb.org/viewtopic.php?f=3&t=72351
2022-10-05 11:45:18 +02:00
wmayer
193ac13f79 Gui: add support to get exporting options before writing a file 2022-10-04 16:23:01 +02:00
Uwe
1ecf66f33f [Gui] GuiNativeEventWin32.cpp: Clang formatting
- to fix some Ci warnings about too long lines, white spaces etc.
2022-10-02 20:29:53 +02:00
0penBrain
1aac41f315 [Bugfix]Gui: TinkerCAD mouse mode was always stopping RMB propagation 2022-10-01 04:38:12 +02:00
wmayer
51d83e19bf Gui: [skip ci] use string version of QTextStream::setCodec 2022-09-30 15:11:34 +02:00