mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-23 07:54:13 +02:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1078496bb1 | |||
| 711353bb58 | |||
| dd7955e50e | |||
| 27474b0822 | |||
| d6dcc85157 | |||
| b2dc6ba738 | |||
| 31ed09f185 | |||
| 3992c60c45 | |||
| fef351df8b | |||
| fa322af060 |
Binary file not shown.
+403
-375
File diff suppressed because it is too large
Load Diff
@@ -62,7 +62,7 @@
|
|||||||
* supplier_auxiliary2
|
* supplier_auxiliary2
|
||||||
* quantity_auxiliary2
|
* quantity_auxiliary2
|
||||||
* unity_auxiliary2
|
* unity_auxiliary2
|
||||||
* auxiliary3 -> auxiliary 1 of element
|
* auxiliary3 -> auxiliary 3 of element
|
||||||
* description_auxiliary3
|
* description_auxiliary3
|
||||||
* designation_auxiliary3
|
* designation_auxiliary3
|
||||||
* manufacturer_auxiliary3
|
* manufacturer_auxiliary3
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
* supplier_auxiliary3
|
* supplier_auxiliary3
|
||||||
* quantity_auxiliary3
|
* quantity_auxiliary3
|
||||||
* unity_auxiliary3
|
* unity_auxiliary3
|
||||||
* auxiliary4 -> auxiliary 1 of element
|
* auxiliary4 -> auxiliary 4 of element
|
||||||
* description_auxiliary4
|
* description_auxiliary4
|
||||||
* designation_auxiliary4
|
* designation_auxiliary4
|
||||||
* manufacturer_auxiliary4
|
* manufacturer_auxiliary4
|
||||||
|
|||||||
@@ -834,6 +834,12 @@ void DiagramView::scrollOnMovement(QKeyEvent *e)
|
|||||||
qreal elmt_bottom = y + qgi->boundingRect().bottom();
|
qreal elmt_bottom = y + qgi->boundingRect().bottom();
|
||||||
qreal elmt_right = x + qgi->boundingRect().right();
|
qreal elmt_right = x + qgi->boundingRect().right();
|
||||||
qreal elmt_left = x + qgi->boundingRect().left();
|
qreal elmt_left = x + qgi->boundingRect().left();
|
||||||
|
if (qgi->parentItem()) {
|
||||||
|
elmt_top += qgi->parentItem()->y();
|
||||||
|
elmt_bottom += qgi->parentItem()->y();
|
||||||
|
elmt_right += qgi->parentItem()->x();
|
||||||
|
elmt_left += qgi->parentItem()->x();
|
||||||
|
}
|
||||||
|
|
||||||
bool elmt_right_of_left_margin = elmt_left>=left;
|
bool elmt_right_of_left_margin = elmt_left>=left;
|
||||||
bool elmt_left_of_right_margin = elmt_right<=right;
|
bool elmt_left_of_right_margin = elmt_right<=right;
|
||||||
|
|||||||
Reference in New Issue
Block a user