Commit Graph

5762 Commits

Author SHA1 Message Date
wmayer
7b8c6335a3 Gui: improve formatation and use of curly braces 2023-01-25 23:05:29 +01:00
luzpaz
3c9f48e696 Gui: fix trailing whitespace 2023-01-25 15:23:47 +01:00
Adrian Popescu
21a4d4827e Expressions: path auto-completion fixes (#8228)
PR #8228 consisted of the following:
* Added Documentation for the expression completer
* Working PATH completion
* Allow completes on trailing separator
* Fixed paths appearing with a . at first
* Chaining completions on enter
* Fixed Missing Separator and Document Completions
- fixed missing separator for contextual Properties (ConstraintsHeight instead of Constraints.Height)
- fixed retries on filename#objectname so that they work better
2023-01-24 14:57:59 -06:00
luzpaz
9d32c5a70e Stylesheets: convert indentations to spaces 2023-01-23 21:20:57 -07:00
luzpaz
a884da5890 Navicube: convert indentations to spaces 2023-01-23 16:57:58 +01:00
luzpaz
c32381ec77 Gui: convert indentations to spaces 2023-01-23 16:06:40 +01:00
Yorik van Havre
433b17b829 Merged crowdin translations 2023-01-23 11:25:49 +01:00
Yorik van Havre
48fdd4896a Updated ts files 2023-01-23 10:41:33 +01:00
luzpaz
79e150a81b Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Yorik van Havre
5033f64ce9 Merged crowdin translations 2023-01-17 09:40:31 +01:00
Yorik van Havre
12239f7f99 Updated ts files 2023-01-17 09:24:46 +01:00
wmayer
e5933a6aff Gui: refactor TreeWidget::dropEvent 2023-01-12 19:40:59 +01:00
wmayer
62260a9ad4 Gui: [skip ci] fix some warnings reported by GH actions 2023-01-12 17:51:50 +01:00
wmayer
3354fa033b Gui: move to new style connect() 2023-01-12 17:40:20 +01:00
wmayer
3f615bbe05 Gui: fix possible problems with new style connect
* In UIntSpinBox rename the signal to not overwrite the signal of the base class
* In UIntSpinBox use the (ambiguous) signal 'valueChanged' of the base class QSpinBox
* To avoid that connect() fails use the function pointer of the Qt class where the signal is defined
2023-01-12 17:02:59 +01:00
Uwe
5ad737ccdc [Gui] modernize some connect() settings
- addresses #6166
2023-01-12 15:13:16 +01:00
Uwe
a39c497437 [skip ci] [Gui] ExpressionCompleter: fix a typo
- found by the CI
2023-01-12 04:20:40 +01:00
wmayer
84981b7c71 Gui: change custom message handler to show Qt warnings and errors also in Release mode 2023-01-11 17:48:13 +01:00
wmayer
1fcd62f213 Gui: [skip ci] print warning in getViewProviderByPath, getViewProviderByPathFromTail, getViewProvidersOfType if for View3DInventorViewer no document is set
This gives the client programmer a clue if one of the mentioned methods fails
2023-01-10 17:46:05 +01:00
wmayer
37b7cc0cac Gui: add method setDocumentOfViewers and set documents of viewers in constructor of SplitView3DInventor 2023-01-10 17:23:48 +01:00
Jakub Świerk
de360796f0 Updated ts files 2023-01-10 13:46:33 +01:00
Jakub Świerk
4c3bca22d7 Gui: Removed unused method. 2023-01-10 13:46:33 +01:00
Jakub Świerk
16f85753aa GUI: Removed Std_ArrangeIcons command. 2023-01-10 13:46:33 +01:00
Yorik van Havre
ec6b14bbee Merged crowdin translations 2023-01-09 14:06:28 +01:00
Yorik van Havre
c1160c598a Updated ts files 2023-01-09 13:24:16 +01:00
Uwe
79ae9b8280 [TD] attempt to fix compilation with PCH after #8141
- also resort includes
2023-01-09 11:26:51 +01:00
Zheng, Lei
e4aa389cc4 Base/App/Gui: force using Base::Handle for ParameterManager
For reference counting
2023-01-06 09:14:41 -06:00
wmayer
61e11bb4ab Gui: fix activating of MDI views via menu commands 2023-01-06 14:42:29 +01:00
Uwe
0a0902532d [TD] fix compilation with PCH after b18f1e5e
- also add includes to QtAll
2023-01-05 00:50:32 +01:00
wmayer
a70d3beceb Gui: [skip ci] move to new-style connect in Placement dialog 2023-01-02 10:42:12 +01:00
wmayer
64f6f73bcf Gui: Use shiboken6 & PySide6 API 2023-01-01 19:06:06 +01:00
wmayer
7a6e2cc6bb Gui: refactor PythonWrapper 2023-01-01 17:42:25 +01:00
wmayer
e8ed464559 Gui: refactor PythonWrapper 2023-01-01 16:35:12 +01:00
wmayer
8a643bee16 Gui: switch to new-style connect in order to find build failures with Qt6 2023-01-01 12:40:07 +01:00
wmayer
91613cc24c Mod: fix some compiler warnings:
* QString::indexOf() is now marked as [[nodiscard]]
* QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF
* fix -Wunused-result
* fix -Wunused-but-set-variable
2022-12-31 21:54:45 +01:00
wmayer
bf34ab817f Gui: QVariant::Type is deprecated, use QMetaType::Type 2022-12-31 21:54:45 +01:00
wmayer
09ae3b2ab8 Gui: Qt6 port
* QString::indexOf() is now marked as [[nodiscard]]
* Replace deprecated methods of QMessageBox
* QMouseEvent::globalPos() is deprecated, use globalPosition().toPoint()
* QWidget::enterEvent() requires a QEnterEvent as argument
* QLibraryInfo::location() is deprecated, use path()
* QVariant::Type is deprecated, use QMetaType::Type
* QVariant::canConvert(int) is deprecated, use QVariant::canConvert(QMetaType) or QVariant::canConvert<T>()
* QMessageBox::standardIcon is deprecated, use QStyle::standardIcon()
* Replace deprecated method QMessageBox::question(), ...
* QApplication::fontMetrics() is deprecated
* QDropEvent::mouseButtons() is deprecated, use buttons()
* QDropEvent::keyboardModifiers() is deprecated, use modifiers()
* Constructor of QFontDatabase is deprecated, use static methods instead
* Qt::AA_DisableHighDpiScaling is deprecated
* Qt::AA_EnableHighDpiScaling is deprecated
* Qt::AA_UseHighDpiPixmaps is deprecated
2022-12-31 21:54:45 +01:00
wmayer
19e4aed759 Gui: expose Document::save()/saveAs() to Python 2022-12-31 13:01:20 +01:00
Chris Hennes
be9d674785 GUI: Minor translation issues 2022-12-27 21:44:11 -06:00
wmayer
fa6dc8d0e1 Gui: make unit tests working from command line if Gui is up 2022-12-24 19:13:40 +01:00
wmayer
9e92ef0973 Gui: [skip ci] fix incorrect tool tip 2022-12-23 14:35:58 +01:00
wmayer
d0b05c7413 Gui: fix several warnings reported by GH actions 2022-12-22 20:26:39 +01:00
wmayer
f6785a54f9 Gui: [skip ci] move widget() handling to MDIViewPyWrapImp 2022-12-22 16:48:41 +01:00
wmayer
9ce8743ff2 Gui: include header for QPrinter 2022-12-22 16:28:01 +01:00
wmayer
a986dff71a Gui: support of MDI views written in Python that implements onMsg() or onHasMsg(): fixes #8071 2022-12-22 16:20:37 +01:00
wmayer
5657abebfc Gui: support of QPrintSupport module in PythonWrapper 2022-12-22 16:18:18 +01:00
wmayer
3b419af9a6 Gui: default implementation of MDIView::print(), MDIView::printPdf() and MDIView::printPreview() 2022-12-22 16:17:29 +01:00
Yorik van Havre
89147ef8de Regenerated ts files using lupdate6.6 2022-12-22 15:39:42 +01:00
Yorik van Havre
59b6970728 Fixed ts files 2022-12-22 13:34:31 +01:00
wmayer
0de2f04dd2 Gui: [skip ci] fix build failure due to missing include 2022-12-22 11:01:23 +01:00