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_toggle
(layout[, ...])Add a label and a toggle button to a specified 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.
Check if the left column is visible.
Checks if the progress bar is 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,
Set the current page in the load_pages widget.
Sets the title of the right column menu.
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.
Toggles the left column of the CommonWindow by starting a box animation.
Toggles the progress row.
Toggles the display of the right column in a common window.
Clear all layout.
CommonWindowUtils.update_progress
(progress_value)Clear all layout.
Window refresh