mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-gui.git
synced 2025-06-24 05:04:12 +08:00
fixed
This commit is contained in:
parent
0a4c65de10
commit
835f08d3be
@ -201,7 +201,18 @@ TaskResultToolsFrame QPushButton {
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
TaskResultToolsFrame QPushButton:disabled {
|
TaskResultToolsFrame QPushButton#stopTaskButton {
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 16px;
|
||||||
|
background-color: #c61236;
|
||||||
|
border: 1px solid #9a0e2a;
|
||||||
|
border-radius: 7px;
|
||||||
|
padding: 6px 20px;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
TaskResultToolsFrame QPushButton:disabled,
|
||||||
|
TaskResultToolsFrame QPushButton#stopTaskButton:disabled {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import json
|
|||||||
|
|
||||||
from exceptiongroup import catch
|
from exceptiongroup import catch
|
||||||
|
|
||||||
class TaskResultEmbedFrame(QWidget):
|
class TaskResultEmbedFrame(QFrame):
|
||||||
def __init__(self, task, parent=None):
|
def __init__(self, task, parent=None):
|
||||||
super(TaskResultEmbedFrame, self).__init__(parent)
|
super(TaskResultEmbedFrame, self).__init__(parent)
|
||||||
self.task = task
|
self.task = task
|
||||||
|
Loading…
Reference in New Issue
Block a user