GUIBRUSHR.General_Constants.Classes.HelpButton module

HelpButton - A reusable help button widget that displays information in a popup.

This module provides a help button with a blue electric background and a yellow-gold question mark that opens a popup with detailed descriptions when clicked.

class GUIBRUSHR.General_Constants.Classes.HelpButton.HelpButton(parent, row, column, title, help_text, columnspan=1, rowspan=1, **kwargs)[source]

Bases: object

A help button widget that displays information in a popup window.

This button has a blue electric background with a yellow-gold question mark. When clicked, it opens a popup window displaying help text.

__init__(parent, row, column, title, help_text, columnspan=1, rowspan=1, **kwargs)[source]

Initialize the HelpButton.

Parameters:
  • parent – Parent widget

  • row – Grid row position

  • column – Grid column position

  • title – Title of the popup window

  • help_text – Dictionary with parameter names as keys and descriptions as values

  • columnspan – Number of columns to span (default: 1)

  • rowspan – Number of rows to span (default: 1)

  • **kwargs – Additional keyword arguments for grid configuration

show_help_popup()[source]

Show the help popup window with the help text.

grid_remove()[source]

Remove the button from the grid.

grid(**kwargs)[source]

Grid the button with new parameters.