File tree Expand file tree Collapse file tree 13 files changed +130
-82
lines changed
plugins/metaEditor/editor/qml Expand file tree Collapse file tree 13 files changed +130
-82
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Rectangle {
1313 width: 1
1414 }
1515 Line {
16- x1: 99 * parent .width / 100
16+ x1: 1 * parent .width / 1
1717 y1: 1 * parent .height / 5
1818 x2: 1 * parent .width / 1
1919 y2: 4 * parent .height / 5
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Rectangle {
1313 width: 1
1414 }
1515 Line {
16- x1: 59 * parent .width / 60
16+ x1: 1 * parent .width / 1
1717 y1: 1 * parent .height / 2
1818 x2: 5 * parent .width / 6
1919 y2: 1 * parent .height / 4
@@ -22,7 +22,7 @@ Rectangle {
2222 width: 1
2323 }
2424 Line {
25- x1: 59 * parent .width / 60
25+ x1: 1 * parent .width / 1
2626 y1: 1 * parent .height / 2
2727 x2: 5 * parent .width / 6
2828 y2: 3 * parent .height / 4
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Rectangle {
1313 width: 1
1414 }
1515 Line {
16- x1: 59 * parent .width / 60
16+ x1: 1 * parent .width / 1
1717 y1: 1 * parent .height / 2
1818 x2: 5 * parent .width / 6
1919 y2: 1 * parent .height / 4
@@ -22,7 +22,7 @@ Rectangle {
2222 width: 1
2323 }
2424 Line {
25- x1: 59 * parent .width / 60
25+ x1: 1 * parent .width / 1
2626 y1: 1 * parent .height / 2
2727 x2: 5 * parent .width / 6
2828 y2: 3 * parent .height / 4
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Rectangle {
1414 }
1515 Line {
1616 x1: 1 * parent .width / 10
17- y1: 97 * parent .height / 100
17+ y1: 1 * parent .height / 1
1818 x2: 0 * parent .width / 1
1919 y2: 1 * parent .height / 2
2020 color: " #000000"
@@ -32,7 +32,7 @@ Rectangle {
3232 }
3333 Line {
3434 x1: 9 * parent .width / 10
35- y1: 97 * parent .height / 100
35+ y1: 1 * parent .height / 1
3636 x2: 1 * parent .width / 1
3737 y2: 1 * parent .height / 2
3838 color: " #000000"
Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ Rectangle {
77 x1: 0 * parent .width / 1
88 y1: 0 * parent .height / 1
99 x2: 0 * parent .width / 1
10- y2: 97 * parent .height / 100
10+ y2: 1 * parent .height / 1
1111 color: " #000000"
1212 style: " dot"
1313 width: 2
1414 }
1515 Line {
16- x1: 97 * parent .width / 100
16+ x1: 1 * parent .width / 1
1717 y1: 0 * parent .height / 1
1818 x2: 1 * parent .width / 1
19- y2: 97 * parent .height / 100
19+ y2: 1 * parent .height / 1
2020 color: " #000000"
2121 style: " dot"
2222 width: 2
@@ -32,9 +32,9 @@ Rectangle {
3232 }
3333 Line {
3434 x1: 0 * parent .width / 1
35- y1: 97 * parent .height / 100
35+ y1: 1 * parent .height / 1
3636 x2: 1 * parent .width / 1
37- y2: 97 * parent .height / 100
37+ y2: 1 * parent .height / 1
3838 color: " #000000"
3939 style: " dot"
4040 width: 2
Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ Rectangle {
77 x1: 0 * parent .width / 1
88 y1: 0 * parent .height / 1
99 x2: 0 * parent .width / 1
10- y2: 97 * parent .height / 100
10+ y2: 1 * parent .height / 1
1111 color: " #000000"
1212 style: " solid"
1313 width: 2
1414 }
1515 Line {
16- x1: 49 * parent .width / 50
16+ x1: 1 * parent .width / 1
1717 y1: 0 * parent .height / 1
1818 x2: 1 * parent .width / 1
19- y2: 97 * parent .height / 100
19+ y2: 1 * parent .height / 1
2020 color: " #000000"
2121 style: " solid"
2222 width: 2
@@ -32,9 +32,9 @@ Rectangle {
3232 }
3333 Line {
3434 x1: 0 * parent .width / 1
35- y1: 97 * parent .height / 100
35+ y1: 1 * parent .height / 1
3636 x2: 1 * parent .width / 1
37- y2: 97 * parent .height / 100
37+ y2: 1 * parent .height / 1
3838 color: " #000000"
3939 style: " solid"
4040 width: 2
Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ Rectangle {
77 x1: 0 * parent .width / 1
88 y1: 0 * parent .height / 1
99 x2: 0 * parent .width / 1
10- y2: 47 * parent .height / 50
10+ y2: 1 * parent .height / 1
1111 color: " #000000"
1212 style: " solid"
1313 width: 2
1414 }
1515 Line {
16- x1: 47 * parent .width / 50
16+ x1: 1 * parent .width / 1
1717 y1: 0 * parent .height / 1
1818 x2: 1 * parent .width / 1
19- y2: 47 * parent .height / 50
19+ y2: 1 * parent .height / 1
2020 color: " #000000"
2121 style: " solid"
2222 width: 2
@@ -32,9 +32,9 @@ Rectangle {
3232 }
3333 Line {
3434 x1: 0 * parent .width / 1
35- y1: 47 * parent .height / 50
35+ y1: 1 * parent .height / 1
3636 x2: 1 * parent .width / 1
37- y2: 47 * parent .height / 50
37+ y2: 1 * parent .height / 1
3838 color: " #000000"
3939 style: " solid"
4040 width: 2
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Rectangle {
1313 width: 1
1414 }
1515 Line {
16- x1: 59 * parent .width / 60
16+ x1: 1 * parent .width / 1
1717 y1: 1 * parent .height / 2
1818 x2: 5 * parent .width / 6
1919 y2: 1 * parent .height / 4
@@ -22,7 +22,7 @@ Rectangle {
2222 width: 1
2323 }
2424 Line {
25- x1: 59 * parent .width / 60
25+ x1: 1 * parent .width / 1
2626 y1: 1 * parent .height / 2
2727 x2: 5 * parent .width / 6
2828 y2: 3 * parent .height / 4
Original file line number Diff line number Diff line change @@ -43,25 +43,25 @@ Rectangle {
4343 x1: 0
4444 y1: 30
4545 x2: 0 * parent .width / 1
46- y2: 64 * parent .height / 65
46+ y2: 1 * parent .height / 1
4747 color: " #000000"
4848 style: " solid"
4949 width: 1
5050 }
5151 Line {
52- x1: 74 * parent .width / 75
52+ x1: 1 * parent .width / 1
5353 y1: 30
5454 x2: 1 * parent .width / 1
55- y2: 64 * parent .height / 65
55+ y2: 1 * parent .height / 1
5656 color: " #000000"
5757 style: " solid"
5858 width: 1
5959 }
6060 Line {
6161 x1: 0 * parent .width / 1
62- y1: 64 * parent .height / 65
62+ y1: 1 * parent .height / 1
6363 x2: 1 * parent .width / 1
64- y2: 64 * parent .height / 65
64+ y2: 1 * parent .height / 1
6565 color: " #000000"
6666 style: " solid"
6767 width: 1
Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ QString EditorManager::mouseGesture(const Id &id) const
253253
254254QIcon EditorManager::icon (Id const &id) const
255255{
256+ // qDebug() << "icon" << id.element();
256257 if (QFile (" :/generated/shapes/" + id.element () + " Class.qml" ).exists ()) {
257258 Q_ASSERT (mPluginsLoaded .contains (id.editor ()));
258259 return !utils::InFile::readAll (" :/generated/shapes/" + id.element () + " Class.qml" ).isEmpty ()
@@ -266,6 +267,7 @@ QIcon EditorManager::icon(Id const &id) const
266267
267268QSize EditorManager::iconSize (Id const &id) const
268269{
270+ // qDebug() << "iconSize " << id.element();
269271 if (QFile (" :/generated/shapes/" + id.element () + " Class.qml" ).exists ()) {
270272 Q_ASSERT (mPluginsLoaded .contains (id.editor ()));
271273 return !utils::InFile::readAll (" :/generated/shapes/" + id.element () + " Class.qml" ).isEmpty ()
You can’t perform that action at this time.
0 commit comments