Coder Social home page Coder Social logo

pyqt6-mainwindow's Introduction

PyQt6 - Main Window Boiler Plate

Warning
This project provides no functionnality. It is only a PyQt6 Stub to start your own project. Many tutorials create a simple window using a QWidget that acts as the entry point of an app. We chose something else :)

We Hope this will help you get started

The basic Main Window Application can be found in the app.py script.

Installation

Clone this project on your windows environment and run

git clone [email protected]:poivronjaune/PyQt6-MainWindow.git
cd PyQt6-MainWindow

python -m venv env
.\env\Scripts\Activate

python -m pip install --upgrade pip
pip install -e .

python app.py

On linux use source bin/activate instead of .env\Scripts\Activate

Basic usage

For those who are familiar with python coding and packages, a PyQt6 Main Window application requires the following to be done:

  • Create a QApplication with the event loop that manages events, widgets and user interaction
  • Create a QMainWindow object on which to add other components
  • Create QActions with icons, text and connect callback methods to each
  • Attach a menuBar() to the QMainWindow and addActions() to this menuBar
  • Attach a QToolBar() to the QMainWindow() and addActions() to this Toolbar
  • Launch the EventLoop for the QApplication()

Detailed explanation

Checkout the Github Wiki for detailed explanations with step by step learning. We also discuss some basic object-oriented principles.

We hope you enjoy our presentation!

References

PyQt6 Documentation
The Qt Open Collaboration Effort
The PyQt6 Package from Pypi
Riverbank Computing - Creator of Qt Framework
Python Guis tutorials on PyQt6
Pyhton Tutprial on PyQt6
Coder's Legacy PyQt6 Tutorial Series
2015 PDF PyQt5.5 and 4

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.