Metadata-Version: 2.4
Name: BetterGuiSpark
Version: 0.1.1
Summary: A better and more powerful PyQt6 GUI framework
Home-page: https://github.com/SEU_USUARIO/BetterGuiSpark
Author: Leonardo Nery
Author-email: leonerydba@gmail.com
License: MIT
Keywords: pyqt,gui,framework,ui,builder
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: License
Requires-Dist: PyQt6
Requires-Dist: PyQt6-WebEngine
Dynamic: author-email
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# BetterGuiSpark ⚡

BetterGuiSpark is a simple and powerful GUI framework built on top of PyQt6.

## Features

- Easy widget creation
- Event handling (keyboard + mouse)
- Built-in themes
- File handling
- Validation system

## Example

```python
from BetterGuiSpark import GuiSpark

gui = GuiSpark(
    title="Teste set_font_size",
    width=500,
    height=300
)

gui.set_theme("dark")

# =====================
# Widgets
# =====================

texto = gui.add_widget(
    "label",
    x=40,
    y=40,
    width=400,
    height=40,
    text="BetterGuiSpark - Testando Font Size"
)

# Define tamanho inicial
gui.set_font_size(texto, 16)


# =====================
# Funções
# =====================

def aumentar():
    gui.set_font_size(texto, 28)

def diminuir():
    gui.set_font_size(texto, 12)

def gigante():
    gui.set_font_size(texto, 40)


# =====================
# Botões
# =====================

botao=gui.add_widget(
    "button",
    x=40,
    y=120,
    width=120,
    height=40,
    text="12 px",
    command=diminuir
)

gui.add_widget(
    "button",
    x=180,
    y=120,
    width=120,
    height=40,
    text="28 px",
    command=aumentar
)

gui.add_widget(
    "button",
    x=320,
    y=120,
    width=120,
    height=40,
    text="40 px",
    command=gigante
)

gui.run()
