[TD]Cosmetic function overhaul (#14216)
* [TD]Cosmetic geometry and tools update - all cosmetics to store geometry in same form - all cosmetics to survive scaling and rotation - extension functions to survive scaling and rotation * [TD]overhaul leader point storage and editing - add py routine makeLeader(points) * [TD]add leader conversion utility * [TD]Set Leader RotateWithView default to true * [TD]fix intersection vertex position * [TD]add CosmeticEdge::makeLineFromCanonicalPoints * [TD]fix 2 Extension tools - positioning in DrawCosmeticCircle - mishandling of points in execLineParallelPerpendicular * [TD]Remove duplicate constexpr * [TD]fix 2x Cosmetic arc tools * [TD]refactor LineFormat out of Cosmetic * [TD]move cosmetic appearance settings to LineFormat * [TD]remove 2 unused methods * [TD]apply format to blue line & circle tools * [TD]fix ballon arrowhead does not rotate with view * [TD]fix CosmeticCircle3Points * [TD]allow multiple cosmetic object deletions * [TD]fix extend/shorten centerline
This commit is contained in:
@@ -94,7 +94,7 @@ class TaskSelectLineAttributes : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TaskSelectLineAttributes(TechDraw::LineFormat* ptActiveAttributes);
|
||||
explicit TaskSelectLineAttributes();
|
||||
~TaskSelectLineAttributes() override;
|
||||
|
||||
virtual bool accept();
|
||||
@@ -102,13 +102,11 @@ public:
|
||||
void updateTask();
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent *e) override;
|
||||
void changeEvent(QEvent *event) override;
|
||||
|
||||
void setUiEdit();
|
||||
|
||||
private:
|
||||
// lineAttributes* activeAttributes;
|
||||
TechDraw::LineFormat* activeAttributes;
|
||||
std::unique_ptr<Ui_TaskSelectLineAttributes> ui;
|
||||
|
||||
TechDraw::LineGenerator* m_lineGenerator;
|
||||
@@ -119,7 +117,7 @@ class TaskDlgSelectLineAttributes : public Gui::TaskView::TaskDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TaskDlgSelectLineAttributes(TechDraw::LineFormat * ptActiveAttributes);
|
||||
explicit TaskDlgSelectLineAttributes();
|
||||
~TaskDlgSelectLineAttributes() override;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user