remove unnecessary includes

remove obs code
remove obs initializations
This commit is contained in:
WandererFan 2016-09-16 12:56:38 -04:00
parent 1d281d821a
commit b27a526cd6
7 changed files with 1 additions and 34 deletions

View File

@ -516,10 +516,6 @@ void CmdTechDrawClip::activated(int iMsg)
std::string FeatName = getUniqueObjectName("Clip");
openCommand("Create Clip");
doCommand(Doc,"App.activeDocument().addObject('TechDraw::DrawViewClip','%s')",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.ShowFrame = True",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.Height = 30.0",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.Width = 30.0",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.ShowLabels = False",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.addView(App.activeDocument().%s)",PageName.c_str(),FeatName.c_str());
updateActive();
commitCommand();

View File

@ -32,7 +32,6 @@
#include <QPainter>
#endif
#include "QGIView.h"
#include "QGIArrow.h"
using namespace TechDrawGui;
@ -51,30 +50,6 @@ QGIArrow::QGIArrow() :
setFlag(QGraphicsItem::ItemIsMovable, false);
}
//QPainterPath QGIArrow::shape() const
//{
// return path();
//}
//void QGIArrow::setHighlighted(bool state)
//{
// QPen myPen = pen();
// QBrush myBrush = brush();
// if(state) {
// myPen.setColor(Qt::blue);
// myBrush.setColor(Qt::blue);
// } else {
// myPen.setColor(Qt::black);
// myBrush.setColor(Qt::black);
// }
// setBrush(myBrush);
// setPen(myPen);
//}
//QVariant QGIArrow::itemChange(GraphicsItemChange change, const QVariant &value)
//{
// return QGraphicsPathItem::itemChange(change, value);
//}
void QGIArrow::flip(bool state) {
isFlipped = state;

View File

@ -36,7 +36,6 @@
#include <Base/Console.h>
#include <Base/Parameter.h>
#include <qmath.h>
#include "QGIDecoration.h"
using namespace TechDrawGui;

View File

@ -32,7 +32,6 @@
#include <QPainter>
#endif
#include "QGIView.h"
#include "QGIDimLines.h"
using namespace TechDrawGui;

View File

@ -36,8 +36,6 @@
#include <Base/Console.h>
#include <Base/Parameter.h>
#include <qmath.h>
#include "QGIView.h"
#include "QGIEdge.h"
using namespace TechDrawGui;

View File

@ -47,7 +47,6 @@
#include "QGCustomSvg.h"
#include "QGCustomRect.h"
#include "QGIView.h"
#include "QGIFace.h"
using namespace TechDrawGui;

View File

@ -4,6 +4,7 @@ namespace ZVALUE {
const int BACKGROUND = -999999;
const int TEMPLATE = -1000;
const int SVGTEMPLATE = -500;
//border/label const int border = 0;
const int FACE = 10;
const int HATCH = 30;
const int HIDEDGE = 40;