mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
changed publish overlay states
This commit is contained in:
parent
82bcc9cb05
commit
64cb28451d
2 changed files with 11 additions and 7 deletions
|
|
@ -671,16 +671,20 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
#PublishOverlay[success="-1"] {
|
||||
#PublishOverlay[state="-1"] {
|
||||
background: rgb(194, 226, 236);
|
||||
}
|
||||
|
||||
#PublishOverlay[success="1"] {
|
||||
background: #458056
|
||||
#PublishOverlay[state="0"] {
|
||||
background: #AA5050;
|
||||
}
|
||||
|
||||
#PublishOverlay[success="0"] {
|
||||
background: #AA5050
|
||||
#PublishOverlay[state="1"] {
|
||||
background: #458056;
|
||||
}
|
||||
|
||||
#PublishOverlay[state="2"] {
|
||||
background: #ff9900;
|
||||
}
|
||||
|
||||
#PublishOverlay QLabel {
|
||||
|
|
|
|||
|
|
@ -234,8 +234,8 @@ class PublishOverlayFrame(QtWidgets.QFrame):
|
|||
self.main_label.setText("Finished")
|
||||
self._set_success_property(1)
|
||||
|
||||
def _set_success_property(self, success):
|
||||
self.info_frame.setProperty("success", str(success))
|
||||
def _set_success_property(self, state):
|
||||
self.info_frame.setProperty("state", str(state))
|
||||
self.info_frame.style().polish(self.info_frame)
|
||||
|
||||
def _on_copy_log(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue