Commit Graph

25 Commits

Author SHA1 Message Date
wmayer
9728e60753 Gui: fixes #10782: Unable to cancel Select module Open obj messagebox 2023-09-24 16:08:02 -05:00
wmayer
5b1c781b8d Gui: [skip ci] fix some warnings reported by GH actions 2023-01-12 17:51:50 +01:00
wmayer
ba8d5ab055 Gui: modernize C++: replace 'typedef' with 'using' 2022-08-29 14:09:18 +02:00
berniev
a909df7f39 Gui: Single arg ctors must be explicit (PR #7369) 2022-08-24 15:06:03 +02:00
wmayer
746a56f5d3 Gui: don't show non-existing and unusual directories in file dialog 2022-08-11 17:46:13 +02:00
berniev
0c70d45c83 Gui: Use override etc 2 2022-08-09 12:43:23 +02:00
wmayer
3b0b7775f4 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
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
b9777464c3 [Gui] Expression: remove unused includes 2022-03-02 05:00:21 +01:00
wmayer
513d15886d Gui: move options to use native or Qt dialogs to class DialogOptions 2021-12-30 17:31:00 +01:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
vejmarie
81af54e410 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
0ca65a5095 Qt5: QDialog extension/orientation is deprecated [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
0175008ceb [skip ci] Implement AcceptMode for FileChooser to also allow to define an output file 2019-12-13 22:43:47 +01:00
Peter Lama
556d68680e 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
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
b322668d4e issue #0001588: File browser dialogs initial starting directory ignores current working directory 2016-10-16 17:35:08 +02:00
Mateusz Skowroński
3b463f2138 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
89b74a5231 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
0b310174ee 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
b9865ed4f1 + fixes #0002209: Files that have a dot in name do not get the extension 2015-09-13 21:25:18 +02:00
wmayer
97696aadfa + fix gradient background issue when creating snapshot, remove superfluous signal from FileOptionsDialog 2014-11-08 14:50:27 +01:00
wmayer
449e71a6b4 Replace native file dialog with Qt's file dialog on Linux 2013-06-29 15:11:48 +02:00
wmayer
9679bacabf 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