Commit Graph

28 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
9fe130cd73 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
Pieter Hijma
0894fe0e73 Core: Fix duplicated extensions (see #16299) 2024-09-09 22:11:44 -05:00
Pieter Hijma
da75676ce8 Gui: Fix #15203 filename extension export 2024-08-12 11:52:48 -04:00
wmayer
3c3ea2d601 Gui: fixes #10782: Unable to cancel Select module Open obj messagebox 2023-09-24 16:08:02 -05:00
wmayer
62260a9ad4 Gui: [skip ci] fix some warnings reported by GH actions 2023-01-12 17:51:50 +01:00
wmayer
23961706be Gui: modernize C++: replace 'typedef' with 'using' 2022-08-29 14:09:18 +02:00
berniev
3877fc62c3 Gui: Single arg ctors must be explicit (PR #7369) 2022-08-24 15:06:03 +02:00
wmayer
f632712724 Gui: don't show non-existing and unusual directories in file dialog 2022-08-11 17:46:13 +02:00
berniev
75fa455c5d Gui: Use override etc 2 2022-08-09 12:43:23 +02:00
wmayer
3fddaf4a2f Fix several clazy issues:
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Use Q_ENUM instead of Q_ENUMS [-Wclazy-qenums]
* Add missing a Q_OBJECT macro [-Wclazy-missing-qobject-macro]
* Signal/Slot arguments need to be fully-qualified [-Wclazy-fully-qualified-moc-types]
2022-07-24 19:03:30 +02:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
a8c679c370 [Gui] Expression: remove unused includes 2022-03-02 05:00:21 +01:00
wmayer
edd1d3e8e5 Gui: move options to use native or Qt dialogs to class DialogOptions 2021-12-30 17:31:00 +01:00
luz paz
38815b9550 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
vejmarie
704d4d9945 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
98b1116424 Qt5: QDialog extension/orientation is deprecated [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
8ef13be48b [skip ci] Implement AcceptMode for FileChooser to also allow to define an output file 2019-12-13 22:43:47 +01:00
Peter Lama
991573f1fc Fix macOS button layout in property editor
The size of the "..." button calculated by QMacStyle was not correct,
causing other widgets in the layout to be clipped.

Also, set the size of all "..." buttons the same way.
2017-09-26 10:56:55 -03:00
Kunda
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
d1fe837e55 issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
Mateusz Skowroński
f48f0f69be Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Przemo Firszt
a4c8a562ff GUI: improve App::PropertyPath directory selector
Editing direcotry in lineEdit was open to escaped character problems
i.e. \t or \n which can be pert of notmal directory path were converted
to tab or new line. Also leaving the lineEdit without hitting Enter was
discarding changes.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:19 +01:00
Przemo Firszt
22451eb9ac GUI: Add completer to directory selector
Directory selector now suggest directory names

Probably similar fixes should be applied to FileChooser in File mode

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:51 +02:00
wmayer
3c1e303400 + fixes #0002209: Files that have a dot in name do not get the extension 2015-09-13 21:25:18 +02:00
wmayer
de62919885 + fix gradient background issue when creating snapshot, remove superfluous signal from FileOptionsDialog 2014-11-08 14:50:27 +01:00
wmayer
6deb50ba57 Replace native file dialog with Qt's file dialog on Linux 2013-06-29 15:11:48 +02:00
wmayer
3ddf522d9f Auto append file extension in file dialog 2013-06-27 17:07:39 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00