entropybit / slaprinter

A combinaton of an app and server for a sla 3d printer
0 stars 2 forks source link

errorhandling #12

Closed Aslan0 closed 9 years ago

Aslan0 commented 9 years ago

all input fields can be sabotaged by i.e. putting "hase" as a printing volume height value. this is not DAU-friendly. and they're studying biology after all...

entropybit commented 9 years ago

For this a user input evaluation should be done before accepting the input. This seems to be exactly what we need to do this in python:

http://snorf.net/blog/2014/08/09/using-qvalidator-in-pyqt4-to-validate-user-input/