creation_gui module

class core.characterCreation.creation_gui.CharacterGUI

Bases: QWidget

A GUI window for creating a character in a DnD project.

Inherits from QWidget and provides input fields for name, class, and species.

create_character()

Handle the creation of a character when the button is clicked.

Checks that all fields are filled. If so, displays a success message. Otherwise, shows an error dialog.

init_ui()

Set up the user interface for character creation.

Creates input fields for name, class, and species, and a button to create the character.