Giter Site home page Giter Site logo

vastsea0 / huma-markup-lang Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 17 KB

Hüma QtMarkup (HQM), özel bir HTML benzeri sözdizimi kullanarak PyQt5 tabanlı kullanıcı arayüzleri oluşturmak için geliştirilmiş deneysel bir projedir.

License: MIT License

Python 94.11% HTML 4.48% Shell 1.42%

huma-markup-lang's Introduction

Hüma QtMarkup

Hüma QtMarkup (HQM), özel bir HTML benzeri sözdizimi kullanarak PyQt5 tabanlı kullanıcı arayüzleri oluşturmak için geliştirilmiş deneysel bir projedir.

Proje Hakkında

HHE, basit bir HTML benzeri sözdizimi kullanarak hızlı ve kolay bir şekilde PyQt5 tabanlı kullanıcı arayüzleri oluşturmanıza olanak tanır. Özel <huma:> etiketleri kullanarak pencere özellikleri, metin öğeleri ve hatta web içeriği ekleyebilirsiniz.

Özellikler

  • Özel HTML benzeri sözdizimi
  • PyQt5 tabanlı arayüz oluşturma
  • Dinamik etiket işleme
  • JSON çıktısı oluşturma
  • Web içeriği görüntüleme desteği (QWebEngineView)

Kullanım

  1. public/index.html dosyasını özel Hüma etiketleriyle düzenleyin.
  2. Scripti çalıştırın: python3 install.sh
  3. Scripti çalıştırın: python3 run.sh
  4. Script, HTML'i işleyecek ve build/ui.py dosyasını oluşturacaktır. ve çalıştıracaktır

Etiket Örnekleri

<!DOCTYPE hml>
<!ENCODİNG utf-8>
<hqm lang="hqm">
<sets>
    <huma:window:size>500x500</huma:window:size>    
    <huma:window:title>Pencere adı</huma:window:title>
    <huma:window:style>style.css</huma:window:style>
</sets>
<window>
    <huma:t:12:red>Welcome To World Wide Web</huma:t>
    <huma:webengine:500x500:https://uzaylinin-notlari.netlify.app/:show>Hüma On PyQtWebEngine</huma:webengine:500x500:https://google.com>
 
</window>
</hqm>
 

Gereksinimler

  • Python 3.x
  • PyQt5
  • PyQtWebEngine

Kurulum

  1. Repo'yu klonlayın:
    git clone https://github.com/VastSea0/huma-markup-lang
    
  2. Gerekli paketleri yükleyin:
    python -m venv hwe
    source hwe/bin/activate
    pip install pyqt5 pyqtwebengine
    

Katkıda Bulunma

Bu deneysel bir projedir ve geliştirmeye açıktır. Öneriler, hata raporları ve pull request'ler her zaman hoş karşılanır.

Ekran Görüntüleri

image

Kaynaklar,

PyQt5

Lisans

MIT Lisansı

İletişim

Sorularınız veya önerileriniz için [email protected] adresinden bana ulaşabilirsiniz.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.