~ubuntu-branches/ubuntu/precise/fritzing/precise

« back to all changes in this revision

Viewing changes to src/sketch/breadboardsketchwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Georges Khaznadar
  • Date: 2011-08-26 10:11:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110826101105-w5hmn7zcf93ig5v6
Tags: 0.6.3b-1
* upgrapded to the newer upstream version
* parameters of the function GraphicsUtils::distanceFromLine in 
  src/svg/groundplanegenerator.cpp:767 are now declared as doubles,
  which Closes: #636441
* the new version fixes src/utils/folderutils.cpp, which
  Closes: #636061

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
********************************************************************
20
20
 
21
 
$Revision: 5143 $:
 
21
$Revision: 5402 $:
22
22
$Author: cohen@irascible.com $:
23
 
$Date: 2011-07-01 02:37:01 +0200 (Fri, 01 Jul 2011) $
 
23
$Date: 2011-08-16 21:53:11 +0200 (Tue, 16 Aug 2011) $
24
24
 
25
25
********************************************************************/
26
26
 
44
44
        bool ignoreFemale();
45
45
        void addDefaultParts();
46
46
        void showEvent(QShowEvent * event);
 
47
        double getWireStrokeWidth(Wire *, double wireWidth);
 
48
        void getBendpointWidths(class Wire *, double w, double & w1, double & w2, bool & negativeOffsetRect);
47
49
 
48
50
protected:
49
51
        void setWireVisible(Wire * wire);
50
52
        bool collectFemaleConnectees(ItemBase *, QSet<ItemBase *> &);
51
53
        void findConnectorsUnder(ItemBase * item);
52
54
        bool checkUnder();
53
 
        bool disconnectFromFemale(ItemBase * item, QHash<long, ItemBase *> & savedItems, ConnectorPairHash &, bool doCommand, QUndoCommand * parentCommand);
 
55
        bool disconnectFromFemale(ItemBase * item, QHash<long, ItemBase *> & savedItems, ConnectorPairHash &, bool doCommand, bool rubberBandLegEnabled, QUndoCommand * parentCommand);
54
56
        BaseCommand::CrossViewType wireSplitCrossView();
55
57
        bool canDropModelPart(ModelPart * modelPart); 
56
58
        /*