mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Undo testing QVector3D. CURA-3334
This commit is contained in:
parent
fbc7e0f7c4
commit
8237421bcf
2 changed files with 0 additions and 22 deletions
|
|
@ -1232,15 +1232,3 @@ class CuraApplication(QtApplication):
|
|||
|
||||
def addNonSliceableExtension(self, extension):
|
||||
self._non_sliceable_extensions.append(extension)
|
||||
|
||||
|
||||
@pyqtSlot("QVector3D")
|
||||
def testQVector3D(self, vect):
|
||||
Logger.log("d", "got QVector3D: %s : %s %s %s" % (vect, vect.x(), vect.y(), vect.z()))
|
||||
|
||||
@pyqtProperty("QVector3D")
|
||||
def getQVector3D(self):
|
||||
from PyQt5.QtGui import QVector3D
|
||||
vect = QVector3D(1.0, 2.0, 3.0)
|
||||
Logger.log("d", "get QVector3D: %s" % vect)
|
||||
return vect
|
||||
|
|
|
|||
|
|
@ -306,16 +306,6 @@ Item
|
|||
}
|
||||
text: catalog.i18nc("@label", "Show Infill")
|
||||
}
|
||||
CheckBox {
|
||||
checked: true
|
||||
onClicked: {
|
||||
CuraApplication.log("getting QVector3D");
|
||||
var v = CuraApplication.getQVector3D;
|
||||
CuraApplication.log("getting QVector3D");
|
||||
CuraApplication.testQVector3D(v);
|
||||
}
|
||||
text: catalog.i18nc("@label", "test")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue