개정판 8578ac84
edit Color property
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
116 | 116 |
@brief Pipe color class |
117 | 117 |
''' |
118 | 118 |
class Color: |
119 |
def __init__(self, index, red, green, blue, _property, value):
|
|
119 |
def __init__(self, index, red, green, blue): |
|
120 | 120 |
self.index = index |
121 | 121 |
self.red = red |
122 | 122 |
self.green = green |
123 | 123 |
self.blue = blue |
124 |
self._property = _property |
|
125 |
self.value = value |
|
126 | 124 |
|
127 | 125 |
''' |
128 | 126 |
@brief MessageType |
DTI_PID/DTI_PID/ConfigurationDialog.py | ||
---|---|---|
62 | 62 |
self.isAccepted = False |
63 | 63 |
self.itemModel = QStandardItemModel() |
64 | 64 |
self.delimiter = '"' |
65 |
self.defaultColor = Color(0, 0, 0, 255, '', '')
|
|
65 |
self.defaultColor = Color(0, 0, 0, 255) |
|
66 | 66 |
self.currentIndex = 0 |
67 | 67 |
|
68 | 68 |
docData = AppDocData.instance() |
내보내기 Unified diff