Giter Site home page Giter Site logo

havealex / qt5-python-gui-programming-cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/qt5-python-gui-programming-cookbook

0.0 0.0 0.0 485 KB

Qt5 Python GUI Programming Cookbook, published by Packt

License: MIT License

Python 100.00%

qt5-python-gui-programming-cookbook's Introduction

Qt5 Python GUI Programming Cookbook

Qt5 Python GUI Programming Cookbook

This is the code repository for Qt5 Python GUI Programming Cookbook, published by Packt.

** Building responsive and powerful cross-platform applications with PyQt**

What is this book about?

PyQt is one of the best cross-platform interface toolkits currently available; it's stable, mature, and completely native. If you want control over all aspects of UI elements, PyQt is what you need. This book will guide you through every concept necessary to create fully functional GUI applications using PyQt, with only a few lines of code.

This book covers the following exciting features: Use basic Qt components, such as a radio button, combo box, and sliders Use QSpinBox and sliders to handle different signals generated on mouse clicks Work with different Qt layouts to meet user interface requirements Create custom widgets and set up customizations in your GUI Perform asynchronous I/O operations and thread handling in the Python GUI Employ network concepts, internet browsing, and Google Maps in UI Use graphics rendering and implement animation in your GUI Make your GUI application compatible with Android and iOS devices

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

import sys
from PyQt5.QtWidgets import QDialog, QApplication
from demoCalendar import *
class MyForm(QDialog):
    def __init__(self):
        super().__init__()
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)
        self.ui.calendarWidget.selectionChanged.connect
        (self.dispdate)
        self.show()
    def dispdate(self):
        self.ui.dateEdit.setDate(self.ui.calendarWidget.
        selectedDate())
if __name__=="__main__":
    app = QApplication(sys.argv)
    w = MyForm()
    w.show()
    sys.exit(app.exec_())

Following is what you need for this book: If you’re an intermediate Python programmer wishing to enhance your coding skills by writing powerful GUIs in Python using PyQT, this is the book for you.

With the following software and hardware list you can run all code files present in the book (Chapter 1-13).

Software and Hardware List

Chapter Software required OS required
1-8,10-12 Python 3.5.0 Windows, Mac OS X, and Linux (Any)
1-8, 10-12 PyQt5 version 5.6 Windows, Mac OS X, and Linux (Any)
9 SQLite 3 Windows, Mac OS X, and Linux (Any)
9 DB Browser for SQLite Windows, Mac OS X, and Linux (Any)
13 QPython Windows, Mac OS X, and Linux (Any)
13 Cython Windows, Mac OS X, and Linux (Any)
13 Kivy Windows, Mac OS X, and Linux (Any)
13 Oracle VM VirtualBox Windows, Mac OS X, and Linux (Any)
13 Kivy Buildozer VM Windows, Mac OS X, and Linux (Any)
13 XCode and libraries Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

  • Computer Vision with OpenCV 3 and Qt5: Build visually appealing, multithreaded, cross-platform computer vision applications Paperback – January 2, 2018 [Packt] [Amazon]

  • Qt 5 Projects: Develop cross-platform applications with modern UIs using the powerful Qt framework Paperback – February 23, 2018 [Packt] [Amazon]

  • [Packt] [Amazon]

  • [Packt] [Amazon]

Get to Know the Author

BM Harwani is the founder and owner of Microchip Computer Education (MCE), based in Ajmer, India. He graduated with a BE in computer engineering from the University of Pune and also has a C level (masters diploma in computer technology) from DOEACC, Government of India. Having been involved in the teaching field for over 20 years, he has developed the art of explaining even the most complicated topics in a straightforward and easily understandable fashion. He is also a renowned speaker and the author of several books. To learn more, visit his blog, a site that helps programmers.


0


0


0


0

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781788831000

qt5-python-gui-programming-cookbook's People

Contributors

packt-itservice avatar vibhutig13 avatar packtutkarshr avatar manikandankurup-packt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.