bauiv1lib.profile package¶
Submodules¶
bauiv1lib.profile.browser module¶
UI functionality related to browsing player profiles.
- class bauiv1lib.profile.browser.ProfileBrowserWindow(transition: str | None = 'in_right', selected_profile: str | None = None, origin_widget: Widget | None = None, minimal_toolbar: bool = False)[source]¶
Bases:
MainWindow
Window for browsing player profiles.
- get_main_window_state() MainWindowState [source]¶
Return a WindowState to recreate this window, if supported.
bauiv1lib.profile.edit module¶
Provides UI to edit a player profile.
- class bauiv1lib.profile.edit.EditProfileWindow(existing_profile: str | None, transition: str | None = 'in_right', origin_widget: Widget | None = None)[source]¶
Bases:
MainWindow
,CharacterPickerDelegate
,IconPickerDelegate
Window for editing a player profile.
- color_picker_closing(picker: ColorPicker) None [source]¶
Called when a color picker is closing.
- color_picker_selected_color(picker: ColorPicker, color: tuple[float, float, float]) None [source]¶
Called when a color is selected in a color picker.
- get_main_window_state() MainWindowState [source]¶
Return a WindowState to recreate this window, if supported.
- on_character_picker_get_more_press() None [source]¶
Called when the ‘get more characters’ button is pressed.
bauiv1lib.profile.upgrade module¶
UI for player profile upgrades.
- class bauiv1lib.profile.upgrade.ProfileUpgradeWindow(edit_profile_window: EditProfileWindow, transition: str = 'in_right')[source]¶
Bases:
Window
Window for player profile upgrades to global.