wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
Uwe
1d95c26e2e
[Gui] remove more superfluous nullptr checks
2022-07-18 03:34:22 +02:00
andrea
3018985f80
Remove unused code into GUI
2022-07-17 03:53:11 +02:00
wmayer
d5921e08ec
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
bedf920702
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
fccb743fd6
[Gui] DockWindow and DemoMode: remove unused includes
2022-03-04 03:37:44 +01:00
0penBrain
2bfbbb9973
[Gui] Ensure dockwidget is stacked on top when activated
2021-12-14 17:35:59 +01:00
wmayer
055bcbbe1a
Gui: refactoring: move duplicated code to DockWindowManager::activate()
2021-12-09 07:40:44 +01:00
Chris Hennes
98b34779e5
Add loadState() function to DockWindowManager
...
Just changing the preference for hiding or showing a dock window does
not actually trigger a state change. To enable that, the preferences
pack manager must manually instruct the DockWindowManager to save its
state into the preferences before storing a preference pack, and must
instruct the DockWindowManager to load its new state from the
preferences after loading a pack.
2021-08-23 11:30:13 -05:00
Mateusz Skowroński
73a077ae01
QDockWidget:AllDockWidgetFeatures is deprecated. Use individual flags instead.
2021-04-04 11:33:51 +02:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
84a164ba30
Qt5: 'static QString Gui::TaskView::TaskWatcherCommands::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
832d175377
Gui: fix naming inconsistency and rename 'combi' to 'combo'
2020-02-08 13:43:44 +01:00
wmayer
1944d43f28
add method to dock window manager to unregister a window
2016-08-24 19:09:56 +02:00
Mateusz Skowroński
cd2db00f22
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
d5c074f80d
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
c1bf4a6cb2
+ fix ellipse problem in SVG output (j-dowsett)
...
+ fix wrong indentation
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5160 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-23 14:18:47 +00: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