PdmPanelizerView Class
| Header: | #include <PdmPanelizerView> |
| Inherits: | QGraphicsView |
Public Functions
| PdmPanelizerView(QWidget *parent = 0) | |
| ~PdmPanelizerView() | |
| void | addLinearRemark(bool isActive) |
| void | addMeasure(bool isActive) |
| void | addSlantRemark(bool isActive) |
| void | addText(QVariantMap &iTextMap) |
| void | addText(const QVariantMap &iTextMap, const QString &iStepName) |
| void | alignBottom() |
| void | alignHorizontal() |
| void | alignLeft() |
| void | alignRight() |
| void | alignTop() |
| void | alignVertical() |
| void | anchorBottom() |
| void | anchorLeft() |
| void | anchorRight() |
| void | anchorTop() |
| bool | autoRemark(bool iClearAndReturn = false) |
| void | calcStepMinGap(Qt::Orientation iOrientation, qreal &oMinA2aGap, qreal &oMinA2cGap, qreal &oMinC2cGap, const QString &iStepName = QString()) |
| qreal | capScreen(const QString &iPath, const QString &iImageFormat = "png", double iImageMaxSize = 1000, bool iAddMargin = true) |
| qreal | capScreen(const QString &iPath, const QVariantMap &iConfMap, bool iAddMargin = true) |
| void | clearData() |
| void | clearRemark(const QString &iStepName) |
| void | clearSelection() |
| void | clearStepLocationNumber() |
| void | close2Step(Qt::ArrowType iArrow, qreal iDis) |
| void | controlMove(QPointF iPos, bool isRelative = false) |
| void | copyStep() |
| PdmStepItem * | currentStepItem() |
| bool | hasSelectedItem() |
| void | highLightRepeat(QList<PdmRepeatData *> iRepeatLst) |
| void | horiCenter(bool iEquidistance = false) |
| void | horizontalEquidistance() |
| void | insertCoupon(PdmStepData *coupon) |
| float | minArray2CouponGap() |
| float | minGapX() |
| float | minGapY() |
| void | mirrorX() |
| void | mirrorY() |
| void | modifyDimen(QVariantMap &iDimenMap) |
| void | modifyText(QVariantMap &iTextMap) |
| void | moveItem(QPointF pos, bool isRelative = false, QPointF iSelectPoint = QPointF()) |
| void | moveItem() |
| void | refreshItems(bool dataChange = true) |
| void | removeSelectItem() |
| bool | rotate90() |
| bool | rotateByCenter() |
| void | selectAllStep() |
| void | setAllStepGap(qreal iGap, const QString &iStepName) |
| void | setCanSelect(bool canSelect) |
| void | setConfigInfo(const QVariantList &iDataLst) |
| void | setContextMenu(QMenu *iMenu) |
| void | setCurrentStep(PdmStepData *iStepData, bool needZoomHome = true) |
| void | setDimensionLargeSize(const QVariantMap &iSizeMap) |
| void | setDimensionSmallSize(const QVariantMap &iSizeMap) |
| void | setGapLength(int iGapLength) |
| void | setGapPrecision(int iGapPrecision) |
| void | setKeepDisplayLocationNum(bool iKeepDisplayLocationNum) |
| void | setKeyingSlotInfo(const QVariantMap &iKeyingSlotInfo) |
| void | setMeasureCtrl(bool iMeasureCtrl) |
| void | setMove(bool isMove) |
| void | setNeighborDis(qreal neighborDis) |
| void | setPanelizerData(PdmPanelizerData *iPanelData) |
| void | setSelectedRepeat(QList<PdmRepeatData *> iRepeatLst) |
| void | setSelectedStepData(QList<PdmStepData *> iStepDataLst) |
| void | setShowFactor(float iShowFactor) |
| void | setShowStepSize(const QVariantMap &iShowStepSize) |
| void | setShowZoomRatio(qreal iShowZoomRatio) |
| void | setSizePrecision(const QMap<QString, int> &iSizePrecision) |
| void | setSnapColor(const QString &iSnapColor) |
| void | setStepProfileVisible(const QString &iStepName, bool iBol = true) |
| bool | stepIsValid(const QString &iStepName = "", QStringList *oInvalidStep = nullptr, QString *oErrorType = nullptr) |
| QFont | textFont() const |
| void | totalHoriCenter(const QVariantMap &iParam) |
| void | totalVertCenter(const QVariantMap &iParam) |
| void | updateCurrentStepLocationNum() |
| void | updateDrawInfo() |
| void | vertCenter(bool iEquidistance = false) |
| void | verticalEquidistance() |
| void | zoomArea(bool isActive) |
- 78 public functions inherited from QGraphicsView
- 20 public functions inherited from QAbstractScrollArea
- 14 public functions inherited from QFrame
- 213 public functions inherited from QWidget
Public Slots
| void | addLayer(const QVariantMap &iLayerMap, const QString &iStepName) |
| void | addPoints(const QVariantList &iPoints) |
| void | clearPoints() |
| QRectF | getStepRect(const QString &iStepName) |
| void | resetOperate(bool clearSelect = true) |
| void | setLayerVisible(const QString &iLayerName, const QString &iStepName, bool iVisible = true) |
| void | setStepValue(QString iStepValue) |
| void | snapEdgeLine(bool iIsSnap) |
| void | snapEndpoint(bool iIsSnap) |
| void | snapMidpoint(bool iIsSnap) |
| void | updateTextByText(const QString &iOldText, const QString &iNewText, const QString &iStepName) |
| void | zoomHome() |
| void | zoomIn() |
| void | zoomOut() |
| void | zoomRect(const QRectF &targetRect) |
- 3 public slots inherited from QGraphicsView
- 19 public slots inherited from QWidget
Signals
| void | clearLocationNumber() |
| void | messageChange(const QVariantMap &message) |
| void | sActGroupReset() |
| void | sAddCoupon() |
| void | sDataChanged() |
| void | sDimensionModify(const QVariantMap &oDataMap) |
| void | sOnDrawInfoUpdated() |
| void | sRepeatSelect(QList<PdmRepeatData *> oRepeatLst) |
| void | sTextModify(const QVariantMap &oDataMap) |
| void | sUIChanged() |
- 1 signal inherited from QGraphicsView
- 3 signals inherited from QWidget
Reimplemented Protected Functions
| virtual void | drawBackground(QPainter *iPainter, const QRectF &iRect) |
| virtual void | wheelEvent(QWheelEvent *event) |
- 24 protected functions inherited from QGraphicsView
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
Additional Inherited Members
- 13 properties inherited from QGraphicsView
- 3 properties inherited from QAbstractScrollArea
- 6 properties inherited from QFrame
- 58 properties inherited from QWidget
- 5 static public members inherited from QWidget
- 24 protected functions inherited from QGraphicsView
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
- 1 protected slot inherited from QGraphicsView
- 1 protected slot inherited from QWidget
Detailed Description
Member Function Documentation
PdmPanelizerView::PdmPanelizerView(QWidget *parent = 0)
Default constructs an instance of PdmPanelizerView.
PdmPanelizerView::~PdmPanelizerView()
Destroys the instance of PdmPanelizerView.