PdmJobPanelizer Class
| Header: | #include <PdmJobPanelizer> |
| Inherits: | PdmJobAbs |
Public Types
| enum | CoordinateMode { Absolute, Relative } |
Public Functions
| PdmJobPanelizer(const QString &iModuleNameStr, const QVariantMap iUrlPars = QVariantMap(), QWidget *iParent = nullptr) | |
| ~PdmJobPanelizer() |
Public Slots
| void | addCoupon() |
| void | addLayer(const QVariantList &iLayerList, const QString &iStepName) |
| void | addPanelCoupon() |
| void | addPoints(const QVariantList &iPoints) |
| void | addRow() |
| void | addStep(const QVariantMap &iStepInfo, bool iForceOverride = false) |
| void | addText(const QVariantMap &iTextMap, const QString &iStepName) |
| QVariantList | allSteps() |
| QVariantList | allTreeViewData() |
| QVariantMap | analysisPanelData(const QVariantList &stepList, QString iDefaultPanelName = "", QString iDefaultPanelbName = "", QString iDefaultSheetName = "") |
| TUiLoader * | autoPanelInfoLoader() |
| QStringList | autoPanelSteps(QString iStepType = QString()) |
| void | autoRemark(bool iClearAndReturn = true, bool iCallHooks = true) |
| qreal | bottomDis() |
| QPointF | calcArcCenter(const QPointF &iPs, const QPointF &iPe, double iRadius, bool iCcw) |
| QVariantMap | calcStepNumberInfo(const QVariantMap &stepInfo, const QStringList &childName) |
| bool | canMultiPanelizer(const QVariantList &iSteps, qreal iTotalArea, int iCalcType = 0) |
| bool | canRedo() |
| bool | canSetFont() |
| bool | canUndo() |
| void | capScreen(const QString &iPath, bool isSheet = false) |
| void | clear(bool iDelPanelData = true) |
| void | clearHighLight() |
| void | clearPoints() |
| void | clearRemark(const QString &iStepName) |
| void | close2Step(const QString &iArrow, qreal iDis) |
| double | coordStrToDouble(const QString &iCoord, int iWholeBit, int iDecimalBit, const QString &iZeroMode, double iScale) |
| void | copyStep() |
| void | createPanelMap() |
| bool | createStep(const QVariantMap &iStepInfo, bool iForceOverride = false) |
| void | editPanelCoupon() |
| void | fillAutoResultView(const QVariantList &iDataList) |
| void | fillPanelCouponList() |
| QVariantList | getAllOrgSolutionList() const |
| QVariantList | getAllSolutionList() const |
| QVariantList | getCountByRatio(const QVariantList &iSteps, qreal iTotalArea, int iCalcType = 0, int iResultType = 0) |
| QVariantMap | getCurrentPanelInfo(const QString &iStepName = QString()) |
| QString | getCurrentStep() const |
| QVariantList | getData() |
| QString | getDxfPath() |
| QString | getExcelPath() |
| QVariantMap | getFormatData() |
| QPolygonF | getHullPolygon(QVector<QPainterPath> iStepPaths) |
| int | getLayerCount() |
| QVariantMap | getManualInfo() |
| QList<PdmStepData *> | getPanelizerStepData() |
| QVariantMap | getParamInfo() |
| QVariantMap | getStepMarginAndGapInfo(const QString &iStepName, bool iIncludeCoupon = false) |
| QVariantMap | getStepRect(const QString &iStepName) |
| QString | getUnits() |
| void | importDxf(const QString &iStepName, const QString &iDxfPath) |
| bool | isCombine() |
| qreal | leftDis() |
| QVariantMap | loadOutLine() |
| qreal | minArray2CouponGap() |
| qreal | minGapX() |
| qreal | minGapY() |
| void | onAutoTableSelectionChanged() |
| void | onResetPanelParam() |
| void | openAutoPanel() |
| void | panelizerEdit(const QVariant &iDataVar) |
| void | redo() |
| void | refresh() |
| void | removePanelCoupon() |
| void | removeRow() |
| void | removeStep() |
| void | removeStep(const QString &iStepName) |
| qreal | rightDis() |
| QString | rs274xToProfile(const QString &iRs274xData, const QString &iTargetUnits, bool iExtractAll = false) |
| QVariantList | runPanelizerByParam(const QVariantMap &iParamMap) |
| void | saveDxfPath(const QString &iFilePath) |
| bool | saveStepPicture(QVariantMap iStepNameMap, QVariantMap iStayCurrentStepMap = {}) |
| void | select() |
| void | selecteRowBySerialNo(const QString &iSerialNo) |
| void | setActionToolTip(const QString &iActionName, const QString &iToolTip) |
| void | setAllStepGap() |
| void | setCurrentStep(const QString &stepName) |
| void | setHeadItemsVisible(bool iIsVisible) |
| void | setLayerCount(const int iLayerCount) |
| void | setLayerVisible(const QString &iLayerName, const QString &iStepName, bool iVisible = true) |
| void | setPanelInfo(const QVariantMap &iDataMap, bool iClearBefore = false) |
| void | setParamInfo(const QVariantMap &iDataMap) |
| void | setStepProfileVisible(const QString &iStepName, bool iBol = true) |
| void | setUnits(const QString iUnits) |
| void | showAddStepDialog() |
| void | showEditStepDialog() |
| void | showEditStepSizeDialog() |
| void | showFontDialog() |
| void | showLocationNumberDialig() |
| QVariantList | stepComboList() |
| void | stepCopy() |
| qreal | topDis() |
| void | totalHorizonCenter(const QVariantMap &iParam) |
| void | totalVerticalCenter(const QVariantMap &iParam) |
| void | undo() |
| void | updateTextByText(const QString &iOldText, const QString &iNewText, const QString &iStepName) |
| QString | uploadImage(const QString &iImageType, const QVariant &iLocationNum = QVariant(), bool iStayCurrentStep = false) |
| void | zoomHome() |
| void | zoomIn() |
| void | zoomOut() |
- 25 public slots inherited from PdmJobAbs
Signals
| void | anchorPoint(const QPointF &) |
| void | currentStepChanged(const QString &oldStep, const QString &newStep) |
| void | exceptTabSeleChanged() |
| void | measurePoint(const QPointF &) |
- 2 signals inherited from PdmJobAbs
Protected Slots
| void | autoPanel() |
| void | onAutoPanel() |
| void | onComboChanged() |
| virtual bool | saveDataEvent() |
| void | updateMarginInfo() |
Additional Inherited Members
- 5 protected functions inherited from PdmJobAbs
Detailed Description
Member Function Documentation
PdmJobPanelizer::PdmJobPanelizer(const QString &iModuleNameStr, const QVariantMap iUrlPars = QVariantMap(), QWidget *iParent = nullptr)
Default constructs an instance of PdmJobPanelizer.
PdmJobPanelizer::~PdmJobPanelizer()
Destroys the instance of PdmJobPanelizer.