Explore chapters and articles related to this topic
GUI Programming with Python and Qt
Published in Vasudevan Lakshminarayanan, Hassen Ghalila, Ahmed Ammar, L. Srinivasa Varadharajan, Understanding Optics with Python, 2018
Vasudevan Lakshminarayanan, Hassen Ghalila, Ahmed Ammar, L. Srinivasa Varadharajan
In this chapter, we will move on to creating graphical applications. Such applications make it possible to change the appearance of a program by the use of control elements such as buttons, sliders, etc. Because of the recent migration of Anaconda from PyQt4 to PyQt5, we will elaborate on PyQt5 in this chapter. PyQt5 is a graphical user interface (GUI) widgets toolkit that is a blend of Python programming language and the Qt5 library. PyQt5 is a popular GUI library which has many advantages over other GUI libraries such us Tkinter and wx. These include: Cross-platform GUI (Windows, MacOS, Linux)Good performanceSupport for custom stylesMore libraries for complex UI designEase of use
Communicating the Limitations of AI: The Effect of Message Framing and Ownership on Trust in Artificial Intelligence
Published in International Journal of Human–Computer Interaction, 2023
The Desert Survival Problem (DSP; Lafferty et al., 1974) was utilized for the experiment. Participants were told that they were the sole survivor of a deadly plane crash and were stranded in the middle of the desert with nowhere to hide from the sun. They managed to recover 15 items and the AI decision-supporting device before the plane was completely destroyed by fire. They did not know their exact location, and the nearest human habitat could be more than 100 km away. In this imaginary life-at-stake situation, participants with the help of AI had to rank the 15 items depending on the importance of each for surviving in the desert. There were no correct or incorrect answers in this task, but experts’ ranking and rationale do exist (Lafferty et al., 1974), and the AI suggestion followed this order. This scenario is widely used in human-computer interaction studies, including the perception of computer personality (Moon & Nass, 1996), human-computer teaming (Nass et al., 1996), and the credibility of the computer (Burgoon et al., 2000). The materials were created using Python (Van Rossum & Drake, 1995) and the GUI toolkit library PyQt5 (PyQt, 2012).