Commit Graph

29 Commits

Author SHA1 Message Date
Chris Hennes
533814dd0f Silence Qt/Windows setGeometry Warning
Add the optional Qt::MSWindowsFixedSizeDialogHint parameter to all uses of the QInputDialog::getX static functions to silence a Qt/Windows debug mode warning about QWindowsWindow::setGeometry: Unable to set geometry. Increase the size of the unit calculator to eliminate the same warning. Finally, call adjustSize() on the "Unsaved Changes" dialog to silence the warning.
2020-12-11 09:58:09 +01:00
luz paz
38815b9550 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
e9ce75d544 LGTM: [skip ci] fix: Empty branch of conditional
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code.
Such blocks should contain an explanatory comment to aid future maintainers.
2020-07-26 15:49:14 +02:00
triplus
ffde2b9fa0 Icon themes toolbar customization dialog 2020-06-22 11:58:06 +02:00
wmayer
ca327b6f25 Qt5: 'bool QTreeWidget::isItemSelected(const QTreeWidgetItem*) const' is deprecated: Use QTreeWidgetItem::isSelected() instead [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
a9ae47a8be Qt5: 'void QTreeWidget::setItemExpanded(const QTreeWidgetItem*, bool)' is deprecated: Use QTreeWidgetItem::setExpanded() instead [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
bdd6329cd6 Gui: [skip ci] fixes: Std_DlgCustomize: commands can get dropped from custom toolbars 2020-05-01 00:04:44 +02:00
wmayer
71818b466d Gui: implementation classes don't inherit from UI classes any more 2020-01-09 14:30:45 +01:00
wmayer
c3aaa69f51 Fix some regressions of PR 2330
fix file chooser in macro dialog
do not remove GUI text from translation
remove friend class declaration, use Qt's introspection mechanism
create dialogs on the stack because they are modal
some minor optimizations
2019-07-21 15:53:14 +02:00
mwganson
eb2ebe5bbf [macros toolbar walkthrough] Use command manager to check for existing macro action rather than looking through user parameters 2019-07-21 13:57:30 +02:00
wmayer
5096f55ccb port C++ code to Qt5 2016-12-13 14:22:59 +01:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
e6cafe2206 + set object name to tool buttons with popup menu 2015-11-17 18:39:23 +01:00
wmayer
c5192299f7 + fix warning 2015-10-10 09:48:45 +02:00
wmayer
19bbce6413 + when running a bound macro check if file exists, proper unicode handling of macros in customize dialog 2015-10-08 12:37:30 +02:00
wmayer
60cffb685e + When adding new commands to custom toolbar set user data if required in order to move them up/down 2015-10-08 11:13:10 +02:00
wmayer
9124acde3a + if translation of group is done do not overwrite 2015-09-20 17:00:21 +02:00
wmayer
7ea0cc478d + issue #0002053: Support of themes 2015-07-12 23:59:26 +02:00
wmayer
45d793a1af + include missing header files 2015-06-30 17:48:03 +02:00
wmayer
b0c8156697 + move up/down commands with action group 2015-06-28 17:32:44 +02:00
wmayer
0343deb30a + fixes #0002085: Only one Toolbar Separator 2015-05-03 21:32:24 +02:00
wmayer
06706a1940 + when checking for custom toolbars do not auto-create sub-groups in user parameters 2014-12-06 14:46:08 +01:00
wmayer
4844d9c48c + support global custom toolbars 2014-12-06 13:21:36 +01:00
wmayer
9fc5f6cf63 + fixes #0001542: 4 empty / blank buttons - Customize / Toolbars Tab / Move buttons (right,left,up,down) missing icons 2014-05-14 15:46:52 +02:00
wmayer
44c34b1ce8 0001104: Toolbar Customizer Move Buttons enabled but inactive 2013-07-06 17:48:30 +02:00
tanderson
450be825da changing customize dialog icon settings 2012-01-24 22:18:13 +01: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