CommonWindowUtils#

class ansys.aedt.toolkits.common.ui.utils.windows.common_window_utils.CommonWindowUtils[source]#

Class representing a common window with various UI functionalities.

Methods

CommonWindowUtils.add_combobox(layout[, ...])

Adds a label and combobox to a layout.

CommonWindowUtils.add_icon_button(layout, icon)

Add icon button.

CommonWindowUtils.add_n_buttons([layout, ...])

Add a specified number of buttons to a layout object.

CommonWindowUtils.add_textbox(layout[, ...])

Adds a label and textbox to a layout.

CommonWindowUtils.add_toggle(layout[, ...])

Add a label and a toggle button to a specified layout.

CommonWindowUtils.add_vertical_line(layout)

Add a vertical line.

CommonWindowUtils.clear_layout(layout)

Clear all layout.

CommonWindowUtils.create_animation(obj, ...)

Creates an animation with specified parameters.

CommonWindowUtils.get_left_menu(object_name)

Retrieves the QPushButton object in the left menu of the CommonWindow UI.

CommonWindowUtils.get_title_bar(object_name)

Get title.

CommonWindowUtils.is_left_column_visible()

Check if the left column is visible.

CommonWindowUtils.is_progress_visible()

Checks if the progress bar is visible.

CommonWindowUtils.is_right_column_visible()

Checks if the right column is visible.

CommonWindowUtils.item_index(layout, item)

Item index.

CommonWindowUtils.remove_item(layout, index)

Remove item by index.

CommonWindowUtils.set_left_column_menu(menu, ...)

Configures the left column of the CommonWindow UI by setting the current widget as the provided menu,

CommonWindowUtils.set_page(page)

Set the current page in the load_pages widget.

CommonWindowUtils.set_right_column_menu(title)

Sets the title of the right column menu.

CommonWindowUtils.setup_animation(...)

Sets up an animation for the left and right columns of the UI.

CommonWindowUtils.start_box_animation(direction)

Starts a box animation in the specified direction.

CommonWindowUtils.toggle_left_column()

Toggles the left column of the CommonWindow by starting a box animation.

CommonWindowUtils.toggle_progress()

Toggles the progress row.

CommonWindowUtils.toggle_right_column()

Toggles the display of the right column in a common window.

CommonWindowUtils.update_logger(text)

Clear all layout.

CommonWindowUtils.update_progress(progress_value)

Clear all layout.

CommonWindowUtils.window_refresh()

Window refresh