removed overlay from naming

This commit is contained in:
iLLiCiTiT 2021-08-20 17:38:10 +02:00
parent 9638d1db48
commit c3987a5450
4 changed files with 18 additions and 18 deletions

View file

@ -675,40 +675,40 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: transparent;
}
#PublishOverlayFrame {
#PublishFrame {
background: rgba(0, 0, 0, 127);
}
#PublishOverlayFrame[state="1"] {
#PublishFrame[state="1"] {
background: rgb(22, 25, 29);
}
#PublishOverlay {
#PublishInfoFrame {
background: {color:bg};
border: 2px solid black;
border-radius: 0.3em;
}
#PublishOverlay[state="-1"] {
#PublishInfoFrame[state="-1"] {
background: rgb(194, 226, 236);
}
#PublishOverlay[state="0"] {
#PublishInfoFrame[state="0"] {
background: #AA5050;
}
#PublishOverlay[state="1"] {
#PublishInfoFrame[state="1"] {
background: #458056;
}
#PublishOverlay[state="2"] {
#PublishInfoFrame[state="2"] {
background: #ff9900;
}
#PublishOverlay QLabel {
#PublishInfoFrame QLabel {
color: black;
}
#PublishOverlayMainLabel {
#PublishInfoMainLabel {
font-size: 12pt;
}

View file

@ -6,8 +6,8 @@ from .icons import (
from .widgets import (
SubsetAttributesWidget
)
from .overlay_widget import (
PublishOverlayFrame
from .publish_widget import (
PublishFrame
)
from .create_dialog import (
CreateDialog

View file

@ -8,16 +8,16 @@ from .icons import get_icon
from .validations_widget import ValidationsWidget
class PublishOverlayFrame(QtWidgets.QFrame):
class PublishFrame(QtWidgets.QFrame):
hide_requested = QtCore.Signal()
def __init__(self, controller, parent):
super(PublishOverlayFrame, self).__init__(parent)
super(PublishFrame, self).__init__(parent)
self.setObjectName("PublishOverlayFrame")
self.setObjectName("PublishFrame")
info_frame = QtWidgets.QFrame(self)
info_frame.setObjectName("PublishOverlay")
info_frame.setObjectName("PublishInfoFrame")
validation_errors_widget = ValidationsWidget(controller, self)
@ -36,7 +36,7 @@ class PublishOverlayFrame(QtWidgets.QFrame):
top_layout.addWidget(hide_btn)
main_label = QtWidgets.QLabel(content_widget)
main_label.setObjectName("PublishOverlayMainLabel")
main_label.setObjectName("PublishInfoMainLabel")
main_label.setAlignment(QtCore.Qt.AlignCenter)
message_label = QtWidgets.QLabel(content_widget)

View file

@ -30,7 +30,7 @@ from Qt import QtWidgets
from openpype import style
from control import PublisherController
from widgets import (
PublishOverlayFrame,
PublishFrame,
SubsetAttributesWidget,
InstanceCardView,
InstanceListView,
@ -64,7 +64,7 @@ class PublisherWindow(QtWidgets.QWidget):
line_widget.setMinimumHeight(2)
# Overlay MUST be created after Main to be painted on top of it
publish_frame = PublishOverlayFrame(controller, self)
publish_frame = PublishFrame(controller, self)
# Content
# Subset widget