Commit Graph

39 Commits

Author SHA1 Message Date
Alexander Golubev
9347f66a9e PartDesign/Gui: Move various utility stuff from Workbench to a separate file
Also do some header cleanup.
2016-04-12 18:12:17 +02:00
Alexander Golubev
5239f3447c PartDesign/Gui: start to unify view providers code
- Moved all common code for part design features view providers to a base
   class.
 - Move shared code for Sketch based features to newly created
   ViewProviderSketchBased class
 - Add ViewProviderSketchBased to initialization
 - Make Pad and Pocket ViewProviders to use the shared code
 - Minor fixes to TaskFeatureParameters and some derived classes
2016-04-12 18:12:15 +02:00
Alexander Golubev
984b0dd715 PartDesign/Task{Pad,Pocket}Parameters: massive refactoring
Give a massive refactoring to Task dialogs for pocket and pad.
This commit features:
 * Make Task dialogs for pocket and pad look nice in side-by side diff and
   cross import features missing in each other.
 * As a result it fixes several minor bugs.
 * Gives a rework to the UpdateUI function.
 * This one also fixes offset option support and migrates it to use unit
   framework.
2016-04-12 18:12:15 +02:00
Alexander Golubev
595f1e19f4 PartDesignGui: move signal connections in several parameter dialogs after ui initialization 2016-04-12 18:12:15 +02:00
Alexander Golubev
180985cec0 PartDesignGui: Make DressUp and SketchSupport propertie dialogs use common accept() structure 2016-04-12 18:12:15 +02:00
Alexander Golubev
b9983d5d2d PartDesign/Gui/TaskDlgSketchBasedParameters: emhance object hiding/unhiding on reject() 2016-04-12 18:12:14 +02:00
DeepSOIC
220c88edb6 PartDesign: tidy up sketch support and base feature confusion
Not complete, transformPlacement and positionBySketch are pending...
2016-04-12 18:12:11 +02:00
jrheinlaender
12bf1d58f6 Allow extruding from a datum plane to another face or plane, optionally with an offset 2016-04-12 18:11:53 +02:00
jrheinlaender
dfd27740a9 Some code unification for sketchbased features 2016-04-12 18:11:51 +02:00
jrheinlaender
2732f44b42 Miscellaneous fixes 2016-04-12 18:11:51 +02:00
jrheinlaender
54895922a4 Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
e78b43d7db bugfix for extrude to datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
de17a3ede4 Pad/Pocket: Allow extrude up to a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
bf973e06c0 Refactored code of SketchBased features to have common code in an abstract superclass 2016-04-12 18:11:50 +02:00
jrheinlaender
575b6cf6df Added Reversed button to Pocket UI if the sketch plane is a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
90d2508efb More bug fixes for Body insertion/deletion of features 2016-04-12 18:11:48 +02:00
jrheinlaender
0cd8fc816b Bug fixes for Body feature insert/remove functionality 2016-04-12 18:11:48 +02: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
Eivind Kvedalen
8e112bd2db PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
wmayer
0cedc30660 + fix doc string 2014-07-22 14:49:25 +02:00
wmayer
fc73f324e8 + support units in pocket panel 2014-07-22 14:13:45 +02:00
wmayer
55984a200f + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
wmayer
09122a27b7 + fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes 2014-02-16 18:02:09 +01:00
Joshua Christopher
866005c59c Set enable-disable states for Reversed checkbox 2014-02-05 15:41:35 -02:00
Joshua Christopher
89db72b039 Added a reversed checkbox. 2014-02-05 15:41:35 -02:00
jrheinlaender
4d595ff499 PartDesign module moving float -> double 2013-03-25 17:42:29 +04:30
jrheinlaender
40cb99612b Pad/Pocket: Fixed bug that led to failed UpToFace when finishing the feature (thanks to wmayer for pointing this out) 2012-11-06 20:37:51 +01:00
wmayer
7dd90ce697 Fix problems when chaning language while pad/pocket panel is open 2012-11-05 10:57:52 +01:00
wmayer
22c0f85672 Algorithm to remap support shape, fix bugs in pad/pocket 2012-11-04 16:48:52 +01:00
logari81
c21fbf3ae6 PartDesign: improve error handling in Pocket task dialog 2012-11-03 23:23:58 +01:00
jrheinlaender
1d0be7954e PartDesign, 758, 766, 773, 775: several improvements, fixes and code refactoring for Pad and Pocket 2012-11-03 23:07:48 +01:00
wmayer
3c08b99500 Allow to clear selection in pad/pocket, fix compile error 2012-11-02 13:52:20 +01:00
wmayer
03f465faf6 0000865: Document.xml in project file contains invalid string 2012-11-02 12:46:42 +01:00
wmayer
8a94ba885c Fix critical warnings 2012-06-13 18:49:10 +02:00
jrheinlaender
f9bae5739c Pocket Feature: up to first/last/face and through all options 2012-06-08 20:59:06 +02:00
wmayer
6ec6ed601e + set focus on spin box for pocket, revolve and fillet task panel
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5217 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-04 16:15:36 +00:00
wmayer
92a48eb14a + fix crash and allow to use values for pockets > 99
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5076 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-27 14:34:13 +00:00
jriegel
aaf5f08d8e + Gui for Pocket and Revolution
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5059 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-24 20:10:59 +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