A simple widget library based on PySide6
Project description
QEasyWidgets
A modern Qt widget library that provides enhanced components with theme support, animations, and a clean API.
简体中文 | English
Python
Deployment
- pip
pip install QEasyWidgets -i https://pypi.org/simple/
C++
Requirements
- Qt 6.x or Qt 5.15+
- C++17 compatible compiler
- qmake or CMake
Build Command
- Using qmake
cd QEasyWidgets
qmake QEasyWidgets.pro
make # Linux/macOS
nmake # Windows (MSVC)
mingw32-make # Windows (MinGW)
- Using CMake
cd QEasyWidgets
mkdir build && cd build
cmake ..
cmake --build .
Build Output
The library will be built as a static library:
- Debug:
qeasywidgetsd.lib(Windows) orlibqeasywidgets.a(Unix) - Release:
qeasywidgets.lib(Windows) orlibqeasywidgets.a(Unix)
Usage
- Basic Example
#include <QApplication>
#include "QEasyWidgets.h"
#include "Components/Button.h"
#include "Windows/Window.h"
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QEWIns.setTheme(LIGHT); // Initialize QEasyWidgets
WindowBase window; // Create a window
PrimaryButton *button = new PrimaryButton("Click Me", &window); // Create a button
button->setIcon(IconBase::Play);
window.setCentralWidget(button);
window.show();
return app.exec();
}
Cases
Here are some projects based on QEasyWidgets:
Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qeasywidgets-0.8.1.tar.gz
(61.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qeasywidgets-0.8.1.tar.gz.
File metadata
- Download URL: qeasywidgets-0.8.1.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fff1e46cd50bf2e0173c80d4846741e6b0f8294219f8fbd1652ba2e65dbc309e
|
|
| MD5 |
7bcf1b69b9efb47283575ef1c4e01b8e
|
|
| BLAKE2b-256 |
49deb880d55782eb427907094a4763f32c2940758b94b9d77a442648748a4e5a
|
File details
Details for the file qeasywidgets-0.8.1-py3-none-any.whl.
File metadata
- Download URL: qeasywidgets-0.8.1-py3-none-any.whl
- Upload date:
- Size: 79.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6f79be75e0189631194b7a8b52c5a6509cb78a2da1343258e6a3120eaf37bfc
|
|
| MD5 |
58ff4db6fa2a4a4d1c721166014c3798
|
|
| BLAKE2b-256 |
d354401a23a0110b17cd7d78955d1a3ffa107ea0ab3c3f156ee2cd72136d487f
|