diff --git a/src/ansys/aedt/toolkits/common/ui/common_windows/main_window.py b/src/ansys/aedt/toolkits/common/ui/common_windows/main_window.py index 291a6614..e801ba94 100644 --- a/src/ansys/aedt/toolkits/common/ui/common_windows/main_window.py +++ b/src/ansys/aedt/toolkits/common/ui/common_windows/main_window.py @@ -1,6 +1,6 @@ -from PySide6.QtCore import * -from PySide6.QtSvgWidgets import * -from PySide6.QtWidgets import * +from PySide6.QtCore import Qt +from PySide6.QtSvgWidgets import QSvgWidget +from PySide6.QtWidgets import QLabel from ansys.aedt.toolkits.common.ui.models import general_settings diff --git a/src/ansys/aedt/toolkits/common/ui/main_window/main_window_layout.py b/src/ansys/aedt/toolkits/common/ui/main_window/main_window_layout.py index 27da0f87..951f762a 100644 --- a/src/ansys/aedt/toolkits/common/ui/main_window/main_window_layout.py +++ b/src/ansys/aedt/toolkits/common/ui/main_window/main_window_layout.py @@ -1,6 +1,10 @@ from PySide6 import QtCore from PySide6 import QtGui -from PySide6.QtWidgets import * +from PySide6.QtWidgets import QFrame +from PySide6.QtWidgets import QHBoxLayout +from PySide6.QtWidgets import QSizePolicy +from PySide6.QtWidgets import QVBoxLayout +from PySide6.QtWidgets import QWidget from ansys.aedt.toolkits.common.ui.models import general_settings from ansys.aedt.toolkits.common.ui.utils.images.load_images import LoadImages diff --git a/src/ansys/aedt/toolkits/common/ui/utils/widgets/py_slider/styles.py b/src/ansys/aedt/toolkits/common/ui/utils/widgets/py_slider/styles.py index 7fd6695e..ebfd862c 100644 --- a/src/ansys/aedt/toolkits/common/ui/utils/widgets/py_slider/styles.py +++ b/src/ansys/aedt/toolkits/common/ui/utils/widgets/py_slider/styles.py @@ -5,8 +5,8 @@ class Styles(object): QSlider::groove:horizontal {{ border-radius: {_bg_radius}px; height: {_bg_size}px; - margin: 0px; - background-color: {_bg_color}; + margin: 0px; + background-color: {_bg_color}; }} QSlider::groove:horizontal:hover {{ background-color: {_bg_color_hover}; }} QSlider::handle:horizontal {{ @@ -14,7 +14,7 @@ class Styles(object): height: {_handle_size}px; width: {_handle_size}px; margin: {_handle_margin}px; - border-radius: {_handle_radius}px; + border-radius: {_handle_radius}px; background-color: {_handle_color}; }} QSlider::handle:horizontal:hover {{ background-color: {_handle_color_hover}; }} @@ -25,15 +25,15 @@ class Styles(object): border-radius: {_bg_radius}px; width: {_bg_size}px; margin: 0px; - background-color: {_bg_color}; + background-color: {_bg_color}; }} QSlider::groove:vertical:hover {{ background-color: {_bg_color_hover}; }} QSlider::handle:vertical {{ - border: none; + border: none; height: {_handle_size}px; width: {_handle_size}px; margin: {_handle_margin}px; - border-radius: {_handle_radius}px; + border-radius: {_handle_radius}px; background-color: {_handle_color}; }} QSlider::handle:vertical:hover {{ background-color: {_handle_color_hover}; }} diff --git a/src/ansys/aedt/toolkits/common/ui/utils/windows/common_window_utils.py b/src/ansys/aedt/toolkits/common/ui/utils/windows/common_window_utils.py index 9c450c7d..330c70c9 100644 --- a/src/ansys/aedt/toolkits/common/ui/utils/windows/common_window_utils.py +++ b/src/ansys/aedt/toolkits/common/ui/utils/windows/common_window_utils.py @@ -1,8 +1,19 @@ -from PySide6.QtCore import * -from PySide6.QtWidgets import * +from PySide6.QtCore import QEasingCurve +from PySide6.QtCore import QParallelAnimationGroup +from PySide6.QtCore import QPropertyAnimation +from PySide6.QtCore import Qt +from PySide6.QtWidgets import QFrame +from PySide6.QtWidgets import QHBoxLayout +from PySide6.QtWidgets import QSizePolicy +from PySide6.QtWidgets import QSpacerItem from ansys.aedt.toolkits.common.ui.models import general_settings -from ansys.aedt.toolkits.common.ui.utils.widgets import * +from ansys.aedt.toolkits.common.ui.utils.widgets import PyComboBox +from ansys.aedt.toolkits.common.ui.utils.widgets import PyIconButton +from ansys.aedt.toolkits.common.ui.utils.widgets import PyLabel +from ansys.aedt.toolkits.common.ui.utils.widgets import PyLineEdit +from ansys.aedt.toolkits.common.ui.utils.widgets import PyPushButton +from ansys.aedt.toolkits.common.ui.utils.widgets import PyToggle class CommonWindowUtils(object):