Skip to content

an imgui style gui library for python using Qt5 as its backend.

Notifications You must be signed in to change notification settings

JoachimCoenen/cat-gui

Repository files navigation

Cat GUI

GitHub GitHub repo size Lines of code Hits

An imgui style Graphical User Interface library for python using PyQt5 as its backend.

Mainly used by Datapack Editor.

Examples

Hello World

A simple Hello World implementation. Full source code is here

class MainWindow(PythonGUIMainWindow):
    def OnGUI(self, gui: PythonGUI):
        with gui.hLayout(), gui.hCentered(), gui.vLayout():
            name = gui.textField(None, label="name:")
            if gui.button(f"Greet '{name}'"):
                gui.showInformationDialog(f"Hello {name}!", "How are you?")

HelloWorldExample_IMG

Calculator

A simple Calculator app with memory and a history view which can be enabled or disabled. Full source code is here

CalculatorExample_IMG

Datapack Editor

An advanced creator & editor for Minecraft Datapacks. Full source code is here: Datapack-Editor

DatapackEditorDialog_IMG

About

an imgui style gui library for python using Qt5 as its backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published