1 Star 0 Fork 1

星之河 / Modern_GUI_PyDracula_PySide6_or_PyQt6

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

PyDracula - Modern GUI PySide6 / PyQt6

:gift: //// DONATE ////

🔗 Donate (Gumroad): https://gum.co/mHsRC

This interface is free for any use, but if you are going to use it commercially, consider helping to maintain this project and others with a donation by Gumroado at the link above. This helps to keep this and other projects active.

Warning: this project was created using PySide6 and Python 3.9, using previous versions can cause compatibility problems.

YouTube - Presentation And Tutorial

Presentation and tutorial video with the main functions of the user interface.

🔗 https://youtu.be/9DnaHg4M_AM

Multiple Themes

PyDracula_Default_Dark PyDracula_Light

High DPI

Qt Widgets is an old technology and does not have a good support for high DPI settings, making these images look distorted when your system has DPI applied above 100%. You can minimize this problem using a workaround by applying this code below in "main.py" just below the import of the Qt modules.

# ADJUST QT FONT DPI FOR HIGHT SCALE
# ///////////////////////////////////////////////////////////////
from modules import *
from widgets import *
os.environ["QT_FONT_DPI"] = "96"

Running

Inside your preferred terminal run the commands below depending on your system, remembering before installing Python 3.9> and PySide6 "pip install PySide6".

Windows:

python main.py

MacOS and Linux:

python3 main.py

Compiling

Windows:

python setup.py build

Project Files And Folders

main.py: application initialization file.

main.ui: Qt Designer project.

resouces.qrc: Qt Designer resoucers, add here your resources using Qt Designer. Use version 6 >

setup.py: cx-Freeze setup to compile your application (configured for Windows).

themes/: add here your themes (.qss).

modules/: module for running PyDracula GUI.

modules/app_funtions.py: add your application's functions here. Up modules/app_settings.py: global variables to configure user interface.

modules/resources_rc.py: "resource.qrc" file compiled for python using the command: pyside6-rcc resources.qrc -o resources_rc.py.

modules/ui_functions.py: add here only functions related to the user interface / GUI.

modules/ui_main.py: file related to the user interface exported by Qt Designer. You can compile it manually using the command: pyside6-uic main.ui> ui_main.py . After expoting in .py and change the line "import resources_rc" to "from. Resoucers_rc import *" to use as a module.

images/: put all your images and icons here before converting to Python (resources_re.py) pyside6-rcc resources.qrc -o resources_rc.py.

Projects Created Using PyDracula

See the projects that were created using PyDracula.

To participate create a "Issue" with the name beginning with "#pydracula_project", leaving the link of your project on Github, name of the creator and what is its functionality. Your project will be added and this list will be deleted from "Issue". Malicious programs will not be added!

MIT License Copyright (c) 2021 Wanderson M. Pimenta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/wpbi/Modern_GUI_PyDracula_PySide6_or_PyQt6.git
git@gitee.com:wpbi/Modern_GUI_PyDracula_PySide6_or_PyQt6.git
wpbi
Modern_GUI_PyDracula_PySide6_or_PyQt6
Modern_GUI_PyDracula_PySide6_or_PyQt6
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891