Skip to main content

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.

PyPI 

Title


简体中文 | 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 CMake
cd QEasyWidgets
mkdir build && cd build
cmake ..
cmake --build .
  • Using QMake
cd QEasyWidgets
qmake QEasyWidgets.pro
make          # Linux/macOS
nmake         # Windows (MSVC)
mingw32-make  # Windows (MinGW)

Build Output

The library will be built as a static library:

  • Debug: qeasywidgetsd.lib (Windows) or libqeasywidgets.a (Unix)
  • Release: qeasywidgets.lib (Windows) or libqeasywidgets.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); // Set Theme
    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


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.2.tar.gz (63.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qeasywidgets-0.8.2-py3-none-any.whl (81.5 kB view details)

Uploaded Python 3

File details

Details for the file qeasywidgets-0.8.2.tar.gz.

File metadata

  • Download URL: qeasywidgets-0.8.2.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for qeasywidgets-0.8.2.tar.gz
Algorithm Hash digest
SHA256 8619cfb124759a6cc0d59831359f6cf2781c59511c529623aabb9ac58efe487e
MD5 222d458f3b1a36530c7640e9bf664f09
BLAKE2b-256 2aa9f10fadac00596da7121ca0ba561e6a696f2c130e33f28c7b45919b854df0

See more details on using hashes here.

File details

Details for the file qeasywidgets-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: qeasywidgets-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 81.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for qeasywidgets-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86a509d6349becc7f727fbf06ed574d7739d6f950d7c235e95e9fd335106e19c
MD5 575d22266b78cf7ea34e33bdc200ed85
BLAKE2b-256 6764dbed01aafd6e23f56a5d4bf43180511e4994e89b96b4f8e759567abc54e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page