Pyamlqt

Latest version: v0.3.1

Safety actively analyzes 622330 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.0

Japanese

PyamlQtはGUIデザイン初心者のためのGUI定義フォーマットです。コントリビューション大歓迎です!

しばらくはAPIの破壊的変更が行われる可能性があります。

変更点
- 新しいモジュール`PyamlQtWindow`
- 初期化には引数が必要です。(README.mdを読んでください)
- デモプログラムがとてもシンプルになりました。

English

PyamlQt is a GUI definition format for GUI design beginners. Contributions are welcome!

There is a possibility of destructive changes to the API for the time being.

Changes
- New module `PyamlQtWindow`.
- Arguments are required for initialization. (Please read README.md)
- The demo program is now very simple.

---

python
import sys
import os

from pyamlqt.mainwindow import PyamlQtWindow
from PyQt6.QtWidgets import QApplication

YAML = os.path.join(os.path.dirname(__file__), ". /yaml/chaos.yaml")

class MainWindow(PyamlQtWindow):
def __init__(self):
self.number = 0
super(). __init__("title", 0, 0, 800, 720, YAML)
self.show()

if __name__ == '__main__':
app = QApplication(sys.argv)
window = MainWindow()
sys.exit(app.exec())

0.2.0

Japanese

PyamlQtはGUIデザイン初心者のためのGUI定義フォーマットです。コントリビューション大歓迎です!

しばらくはAPIの破壊的変更が行われる可能性があります。

変更点

- rect要素とstyle要素を追加し、stylesheetの仕様が大きく変更されました。
- 複数のyamlからのロードをサポートします。パスは絶対パスを指定するか、GitHubなどのソースコードへのURL(raw.githubusercontent.com に続くURL)を指定してください。
- URL指定する場合は~/.cache/pyamlqt/yaml以下にyamlがダウンロードされます。
- ロード先のyamlファイルで同じファイル名・同じキー名を指定しないでください。再帰的にロードされてメモリを消費し続けます。

English

PyamlQt is a GUI definition format for GUI design beginners. Contributions are welcome!

The API may undergo destructive changes for a while.

Changes

- The specification of stylesheet has been significantly changed with the addition of the rect and style elements.
- Support for loading from multiple yaml files. Paths should be absolute paths or URLs to source code such as GitHub (URLs following raw.githubusercontent.com).
- If you specify a URL, the yaml will be downloaded under ~/.cache/pyamlqt/yaml.
- Do not specify the same file name and the same key name in the yaml file to be loaded. They will be loaded recursively and continue to consume memory.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.