This project demonstrates the usage of the QGridLayout layout manager in PySide6, a Python binding for the Qt framework. The main.py file creates a simple PySide6 application with a QWidget and multiple QPushButton elements organized using QGridLayout.
This project showcases the implementation of a PySide6 application utilizing the QGridLayout layout manager. The application features a QWidget containing multiple QPushButton elements arranged in a grid layout.
- main.py: The main Python script that creates the PySide6 application using QGridLayout.
- README.md: Documentation file providing information about the project.
-
Clone the repository to your local machine:
git clone https://github.com/aaleshpatil22/PySide6_Basic.git cd PySide6_Basic/GridLayout
-
Ensure you have Python and PySide6 installed:
pip install PySide6
Run the main.py script to launch the PySide6 application:
python main.py
Explore the simple PySide6 application with QPushButton elements arranged in a QGridLayout.
- Use of QGridLayout layout manager to organize QPushButton elements.
- Responsive sizing using QSizePolicy for specific buttons.
Feel free to contribute to this project by opening issues, suggesting enhancements, or submitting pull requests. Follow the guidelines in CONTRIBUTING.md.
This project is licensed under the MIT License - see the LICENSE file for details.