heise + | Programming with Python: Create a user interface via PyQt

Source: Heise.de added 09th Nov 2020

  • heise-+-|-programming-with-python:-create-a-user-interface-via-pyqt

We show you how to create a graphical login program with PyQt. You will learn the basics of the popular GUI toolkit for Python.

Programming with Python: Create user interface via PyQt PyQt against Pyside and Tkinter Hello World with PyQt Create login window Add widgets Make the button clickable Conclusion Buttons, checkboxes, dropdown menus – what normal users love can turn into a nightmare for the developer to be. After all, he has to overload his well-functioning code with lines for graphical elements. That can be another source of error. Nevertheless: Normally a decent graphical user interface (GUI) is required so that every user can operate the respective program efficiently.

We will show you how to use a simple login window the GUI toolkit PyQt. The window consists of a note, two labels for password and user name, two input fields and a button. The user should enter his data for heise online and after clicking the button receive a response as to whether the login worked. There should also be a small menu that the user can use to exit the program.

PyQt against Pyside and Tkinter PyQt integrates the open source toolkit Qt in Python and is developed by Riverbank Computing Limited. Qt has been developed since 1991 and stands as a binding for many different Languages ​​available, e.g. for Ruby, Java or C #. For PyQt you will find extensive documentation on all elements on the internet.

Access to all contents of heise + exclusive tests, advice & background: independent, critically sound c’t, iX, Technology Review, Mac & i, Make, c’t read photography directly in the browser register once – read on all devices – can be canceled monthly first month free, then monthly 9, 95 € Weekly newsletter with personal reading recommendations from the editor-in-chief Start FREE month Start your FREE month now heise + already subscribed?

Sign in and read Register now and read the article immediately More information about heise + Programming with Python: Create user interface via PyQt PyQt against Pyside and Tkinter Hello World with PyQt Create login window Add widgets Make the button clickable Conclusion

Read the full article at Heise.de

media: Heise.de  
keywords: Internet  Open Source  Review  Sound  

Related posts


Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Related Products



Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91