29 ~SubfileReferenceEditor(); |
31 ~SubfileReferenceEditor(); |
30 |
32 |
31 void accept() override; |
33 void accept() override; |
32 void setPrimitivesTree(class PrimitiveManager* primitives); |
34 void setPrimitivesTree(class PrimitiveManager* primitives); |
33 |
35 |
|
36 private slots: |
|
37 void scalingChanged(); |
|
38 void matrixChanged(); |
|
39 |
34 private: |
40 private: |
|
41 QDoubleSpinBox* matrixCell(int row, int column) const; |
|
42 double matrixScaling(int column) const; |
|
43 QPair<int, int> cellPosition(QDoubleSpinBox* cellWidget); |
|
44 QDoubleSpinBox* vectorElement(int index); |
|
45 |
35 class Ui_SubfileReferenceEditor& ui; |
46 class Ui_SubfileReferenceEditor& ui; |
36 class LDSubfileReference* const reference; |
47 class LDSubfileReference* const reference; |
37 LDColor color; |
48 LDColor color; |
38 }; |
49 }; |