Commit Graph

162 Commits

Author SHA1 Message Date
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
ickby
3e3bfbabf5 Expose edit signals to Gui observer 2018-10-08 11:06:04 +02:00
wmayer
f809a50be8 when loading file by drag and drop then create the objects in the active document
if no document exists then use i18n to translate the document name
2018-09-15 19:14:46 +02:00
wmayer
876339b885 add method to activate 3d view when setting active object list 2018-09-12 15:38:28 +02:00
luz.paz
37305f69fe Misc. typo and whitespace fixes
`codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++"`
2018-09-11 07:27:22 +02:00
wmayer
acbbcbcb00 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:57:33 +02:00
wmayer
b385387797 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:46:54 +02:00
wmayer
b79e1bfee4 get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
3d70f9ed4f number of used decimals in UnitsApi must already be set when initializing App 2018-08-29 23:35:38 +02:00
wmayer
90ad845396 for Qt5 no explict event processing after creating a 3d view 2018-08-09 18:57:21 +02:00
wmayer
2e35941efc add some convenience methods for initialization process 2018-08-09 18:41:40 +02:00
wmayer
1d83e15e3f quit event loop after closing main window if not started by an extern host application 2018-08-09 17:03:01 +02:00
Yorik van Havre
0ff2c72abc allow to disable version number in window title 2018-07-07 20:12:43 -03:00
Danilo Oliveira
9ea0cf5a30 Add version info to window title
Fix issue 3499
by The Wikilab Team (wikilab.blog.br)
2018-07-06 09:55:44 -03:00
wmayer
5941a32f71 fix Linux build failure 2018-04-27 14:47:19 +02:00
wmayer
d34847f755 improve icon theme handling 2018-04-27 13:27:45 +02:00
wmayer
7ed84a6590 workaround for bug in VS 2013 that occurs at Python init time 2018-04-15 19:05:06 +02:00
wmayer
8faa9f38bb fixes #0002621: Exporting with File Type *.svg, *.svgz, *.dxf should be prevented if not in Drawing WB 2018-01-02 16:28:24 +01:00
luzpaz
56af703746 Fix Techdraw UI typo found via crowdin + misc. typos
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
wmayer
0973dd5e7b add class ViewProviderDragger
derive ViewProviderGeometryObject from ViewProviderDragger
derive ViewProviderPart from ViewProviderDragger
2017-11-26 15:42:57 +01:00
wmayer
3499ac62f9 improvements of wait cursor
make filtering of modal dialogs working with Qt5
save/restore filter flags
don't filter events for File > Export
when using showPreferences don't show wait cursor
2017-10-22 19:49:56 +02:00
Unknown
ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
wmayer
770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +02:00
Stefan Tröger
dd87094672 Move App::Part to a separate global toolbar 2017-09-09 16:47:07 +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
wmayer
9513792292 py3: support of Python 3.4 2017-06-06 23:49:42 +02:00
wmayer
8ce343291b py3: fox compiler warnings
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer
6bdc3eb29f workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-20 21:21:30 +02:00
Yorik van Havre
aa3f9288d6 py3: Gui: files A-P ported to python3 2017-05-06 17:23:27 +02:00
triplus
bd64f4c038 Boot phase reference point 2017-05-04 20:03:34 +02:00
wmayer
1673ab801e use specialized exception classes 2017-04-28 18:49:11 +02:00
wmayer
004324bbc5 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
wmayer
aaac13c2d3 add new signal to Document class for convinience and add method to DocumentObserver 2017-04-07 15:14:45 +02:00
wmayer
f04badda03 Qt5OpenGL: at startup determine some basic information about OpenGL setup 2017-03-21 20:37:03 +01:00
wmayer
a1dd462de9 move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
Bruce B. Lacey
61658e60ad Qt5: Enabled HiDPI scaling and Use HiDPI Qt Pixmaps
* Enable HiDPI scaling on displays that support it
    on Qt 5.6 and later
  * Enable HiDPI Pixmaps on Qt 5.1 and later
2017-03-03 11:58:38 -03:00
Bruce B. Lacey
28f7944027 Use scalable application icon resources on macOS
Fixes #2920
2017-02-23 20:27:55 -08:00
wmayer
6c2a7b479f issue #0002891: Sketching impossible, Type.Error Exception 2017-02-09 12:46:58 +01:00
wmayer
bc84e88e31 add observer for GUI documents 2017-01-22 19:05:13 +01:00
wmayer
95b7610536 show exceptions when activating a workbench as error message, not log message 2017-01-06 18:40:20 +01:00
wmayer
524ee4a679 fix Qt5 port of messageHandler 2017-01-05 14:24:03 +01:00
Eivind Kvedalen
ef5fb087a2 Moved ObjectLabelObserver from Gui::Application to App::Application. 2017-01-01 21:41:11 +01:00
Mateusz Skowroński
419a5886a7 Fix building with Qt < 5.5. 2016-12-26 21:08:08 +01:00
wmayer
87f2866884 Linux specific Qt5 port 2016-12-13 19:47:32 +01:00
wmayer
57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
1cdee20953 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
wmayer
537cfb2d48 fix segmentation fault when caling setupWithoutGUI 2016-11-29 19:29:12 +01:00
wmayer
1329857359 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 18:03:45 +02:00
wmayer
b322668d4e issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
wmayer
2c5c0c2347 set directory of file dialog when opening file by double-click, recent files list or drag and drop 2016-10-16 14:47:13 +02:00