PyLeftColumn#

class ansys.aedt.toolkits.common.ui.utils.widgets.py_left_column.py_left_column.PyLeftColumn(text_title='Title', text_title_size=10, text_title_color='#343b48', dark_one='#1b1e23', bg_color='#343b48', btn_color='#c3ccdf', btn_color_hover='#3c4454', btn_color_pressed='#2c313c', icon_path='no_icon.svg', icon_color='#343b48', icon_color_hover='#dce1ec', icon_color_pressed='#edf0f5', context_color='#dce1ec', icon_close_path='no_icon.svg', radius=8)[source]#

Custom widget representing a left column with a title, an icon, and a close button.

Parameters:
text_titlestr

The title text for the left column.

text_title_sizeint

The font size of the title text.

text_title_colorstr

The color of the title text.

dark_onestr

Color representing a dark shade.

bg_colorstr

Background color of the left column.

btn_colorstr

Color of the close button.

btn_color_hoverstr

Color of the close button when hovered.

btn_color_pressedstr

Color of the close button when pressed.

icon_pathstr

Path to the icon image file.

icon_colorstr

Color of the icon.

icon_color_hoverstr

Color of the icon when hovered.

icon_color_pressedstr

Color of the icon when pressed.

context_colorstr

Color representing a context or active state.

icon_close_pathstr

Path to the close icon image file.

radiusint

Border radius of the left column.

btn_clicked()[source]#

Emit signal when the close button is clicked.

btn_released()[source]#

Emit signal when the close button is released.

setup_ui()[source]#

Set up the user interface for the left column.