Multitouch mit Python und Qt; Pinch-Geste selbstgemacht

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

ความคิดเห็น • 7

  • @ChristianBender1
    @ChristianBender1 11 ปีที่แล้ว

    Interessante Programmiersprache wie ich gesehen habe. Vielen lieben Dank für das ausführliche Video.

  • @aleksandrapetreska7297
    @aleksandrapetreska7297 8 ปีที่แล้ว

    I am developing GUI in PyQt4. I am using touch screen so I found this video very helpful. But the touch events inside the handleEvent function are not detected. Before writing the if statement , running the program was OK and the event type was printed. Can I get some help? I am using QtDesigner and pyqt4 same as you do, only difference is that I am developing in Ubuntu based OS. I followed the steps in the video, but I'm not getting the results that you do when running the program at 17:20 ..

    • @JoernLoviscach
      @JoernLoviscach  8 ปีที่แล้ว +1

      There are many details that can go wrong, among them typos. Maybe, you want to compare your code with mine, which I linked from here:
      www.j3L7h.de/lectures/1617ws/Mensch-Maschine-Interaktion/Videos_und_Materialien.html

    • @aleksandrapetreska7297
      @aleksandrapetreska7297 8 ปีที่แล้ว

      Thank you a lot! It worked in PyQt5.. but I have one more question, why I cant make it work with PyQt4? I am following the steps from the video but yet .. i cant zoom the img. Please, do you have similar example in PyQt4. Than you for your time.

    • @JoernLoviscach
      @JoernLoviscach  8 ปีที่แล้ว +1

      This is from last year where I used PyQt4:
      www.j3l7h.de/lectures/1516ws/Mensch-Maschine-Interaktion/Videos_und_Materialien.html

    • @aleksandrapetreska7297
      @aleksandrapetreska7297 8 ปีที่แล้ว

      Thank you !

    • @aleksandrapetreska7297
      @aleksandrapetreska7297 8 ปีที่แล้ว

      I am sorry for taking your tiime, but only your example code helped me to implement the gesture events in PyQt5 , I needed to use this feature because I want to zoom my graphs on tablet, do you have some example to give me instructions of implementing the zoom event on graph, instead of using painter. (i am plotting the graph using matplotlib) Thank you in advanced.