Commit Graph

3537 Commits

Author SHA1 Message Date
wmayer
b5e67c14a5 Gui: remove pop-up dialog in case the macro directory is empty 2021-12-15 13:52:12 +01:00
0penBrain
2bfbbb9973 [Gui] Ensure dockwidget is stacked on top when activated 2021-12-14 17:35:59 +01:00
wmayer
a853d80c73 Gui: make the Copy command of the report window working if an object in the tree is selected 2021-12-13 18:57:28 +01:00
wmayer
b6527a7098 Gui: add function View3DInventorViewer::projectPointToLine and expose to Python 2021-12-12 12:49:53 +01:00
wmayer
4dae213b45 Gui: harmonize classes View3DInventorViewer and View3DInventorPy 2021-12-12 11:33:04 +01:00
mwganson
8f0aecbcf3 [python editor] add keywords False, nonlocal, and True to keywords list for syntax highlighting 2021-12-11 18:49:58 +01:00
wmayer
055bcbbe1a Gui: refactoring: move duplicated code to DockWindowManager::activate() 2021-12-09 07:40:44 +01:00
mwganson
6c065300a8 [StdCmdSendToPythonConsole] make python console visible if not already visible and set keyboard focus to it when invoking the send to python console command 2021-12-09 07:08:25 +01:00
wmayer
ca5c799ce2 Gui: rename methods of SelectionObserver to clarify intention in client code 2021-12-07 14:17:07 +01:00
wmayer
8df497b08e Gui: move methods startDefaultEditMode() and addDefaultAction() to ViewProviderDocumentObject 2021-12-06 19:24:26 +01:00
Brent Roettger
3f97cb660e Added back defaults for SpaceExplorer 2021-12-06 11:02:26 +01:00
luz paz
382b38f2bd Use correct name spacemouse so it's uniform and searchable in our code
Make all mentions of `spacemouse` in the code a single word (with no whitespace) so we can parse the source code more accurately to find mentions of it if necessary.
2021-12-06 10:31:06 +01:00
Brent Roetger
632af47a0d Added SpaceNavigator defaults 2021-12-04 11:49:02 +01:00
Uwe
04be1a4af9 [GUI] code style fixes for Tree.cpp
tons of style fixes by MSVC

(the idea was initially just to fix the code style issues from commit 92a8e0e3d8 and then MSVC found many more)
2021-12-04 02:57:34 +01:00
0penBrain
92a8e0e3d8 [Gui] Tree: implement collapse/expand system with keys
Implemented using Alt modifier + arrow keys
 * Alt+Left : collapse selected items
 * Alt+Right : expand selected items
 * Alt+Up : expand selected items with all tier-1 children collapsed
 * Alt+Down : expand selected items with all tier-1 children expanded
2021-12-03 18:08:47 +01:00
luz paz
0042f58e4c Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
wmayer
4f12416fa0 Gui: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion] 2021-12-02 09:59:31 +01:00
Syres916
2e5bcae6b8 Change macro path selection from File to Folder 2021-12-02 02:09:51 +01:00
wmayer
bbacecb397 Gui: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion] 2021-12-01 23:45:26 +01:00
wmayer
58f33f350d Gui: fix build failure with C++20 2021-12-01 21:50:00 +01:00
Mark O'Donovan
770c7f6330 Replace deprecated qt functions toList() & toSet() (#5213)
* Replace deprecated qt functions toList() & toSet()

QSet<QString>::toList() and QStringList::toSet() are both
deprecated.

* Add back support for qt < 5.14
2021-12-01 04:31:34 +01:00
Uwe
9d70589d6c [GUI] set dialog width to the one of the other preferences ones 2021-11-29 12:54:21 +01:00
Uwe
682cdb42ef [GUI] minor UI fix for a pref dialog
- to keep the capitalization consistent in the dialog
2021-11-27 05:38:16 +01:00
Uwe
2650ef3b81 fix dialog height 2021-11-27 04:30:17 +01:00
0penBrain
dc4a8e5beb [Gui] Decimal separator substitution : add option in Preferences 2021-11-27 04:30:17 +01:00
wmayer
3648948711 Gui: in search bar set red background color as style sheet because a palette won't work if an application wide style sheet is set 2021-11-25 15:11:46 +01:00
wmayer
3465ac3add Gui: [skip ci] do not trigger on_fileChooser_fileNameChanged when opening macro dialog 2021-11-24 21:28:32 +01:00
Chris Hennes
c9a74d40d2 Revert "Merge pull request #4626 from pavltom/GUI_TreeView_Item_Ordering"
This reverts commit c62239d0ba, reversing
changes made to bef1df4d40.

See forums discussion: https://forum.freecadweb.org/viewtopic.php?p=549120
2021-11-24 09:03:35 -06:00
wmayer
7f50605c61 App: save version number of the most important libraries 2021-11-23 12:55:49 +01:00
wmayer
81f4bcce66 Gui: [skip ci] fix -Wmultichar 2021-11-23 00:33:12 +01:00
0penBrain
34ef43811c [Gui] Add corner cross size as a preference in Display/3D View/General 2021-11-23 00:07:02 +01:00
0penBrain
9d82286bc8 [Gui] Render corner cross lines with thin polygons so it can be scaled 2021-11-23 00:06:38 +01:00
0penBrain
513b49aa7e [Gui] Improve corner cross labels rendering by using larger antialiased pixmaps 2021-11-23 00:06:14 +01:00
0penBrain
3d32909302 [Gui] Render corner cross labels as pixel maps so they are scalable 2021-11-23 00:05:50 +01:00
0penBrain
9d15df29d9 [Gui] Expose API for corner axis cross visibility/size to Python 2021-11-23 00:05:10 +01:00
wmayer
792277a848 Gui: add button group that allows to uncheck all buttons in exclusive mode 2021-11-22 23:00:30 +01:00
luz paz
fc31a79eef Gui: remove superfluous whitespace from translation string
Avoids possible translation mistakes by only exposing non-whitespace strings.
2021-11-22 19:28:43 +01:00
wmayer
563743e7e6 Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
wmayer
fad2fd9568 Gui: make View3DInventorPy acting as sub-class of MDIViewPy 2021-11-21 19:44:38 +01:00
wmayer
292f6dcaa7 Gui: make AbstractSplitViewPy acting as sub-class of MDIViewPy 2021-11-21 18:59:28 +01:00
wmayer
cf337394a1 Gui: in repr() of MDIViewPy write the typeid name 2021-11-21 15:44:06 +01:00
wmayer
c93031da39 Gui: expose some more methods of MDIView to Python 2021-11-21 14:32:36 +01:00
wmayer
195144fdc3 Gui: make sure the calltips show the added methods of MainWindowPy 2021-11-20 22:49:51 +01:00
luz paz
449797d7f5 Gui: Remove superfluous whitespace from string that is translated 2021-11-20 11:48:45 +01:00
wmayer
751227402d Gui: extend MainWindowPy
* implement MainWindowPy::getWindows
* implement MainWindowPy::getWindowsOfType
2021-11-19 16:21:40 +01:00
wmayer
6bf724cca9 Gui: extend PySide2 wrapper of MainWindow with extra functions 2021-11-19 15:45:56 +01:00
wmayer
8eb099d4e1 Gui: add MDIViewPy.cast_to_base and implement in Python wrappers for sub-classes of MDIView 2021-11-19 15:44:23 +01:00
wmayer
508df64732 Gui: [skip ci] add sub-classes of the MDIView to the type system 2021-11-19 12:51:13 +01:00
Yorik van Havre
a26fb4db1a Merged crowdin translations 2021-11-16 17:30:39 +01:00
Yorik van Havre
aca390ac88 Updated ts files 2021-11-16 17:25:03 +01:00