개정판 094bf65c
optimize db connection
Change-Id: I97887b41278bb15fe289ce08ef5aa99da8a65004
DTI_PID/DTI_PID/ConfigurationDialog.py | ||
---|---|---|
257 | 257 |
self.ui.radioButtonAllowLineNoSpaceYes.setChecked(False) |
258 | 258 |
self.ui.radioButtonAllowLineNoSpaceNo.setChecked(True) |
259 | 259 | |
260 |
properties = docData.getLineProperties() |
|
261 |
if properties: |
|
262 |
for prop in properties: |
|
263 |
self.lineNoAttributeUID.append(prop.UID) |
|
264 |
if prop.AttributeType == "Code Table": |
|
265 |
self.tempLineColorUID.append(prop.Attribute) |
|
266 |
self.ui.comboBoxColorOption.addItem(prop.DisplayAttribute) |
|
267 | ||
268 |
properties = docData.getLineProperties() |
|
269 |
if properties: |
|
270 |
for prop in properties: |
|
271 |
self.lineNoAttributeUID.append(prop.UID) |
|
272 |
if prop.AttributeType == "Code Table": |
|
273 |
self.tempLineColorUID.append(prop.Attribute) |
|
274 |
self.ui.comboBoxColorOption.addItem(prop.DisplayAttribute) |
|
275 | ||
276 |
self.load_line_properties() |
|
260 |
self.load_line_properties() |
|
277 | 261 | |
278 | 262 |
# line no setting (line no, size unit, delimiter) |
279 | 263 |
configs = docData.getConfigs('Line No', 'Size Unit') |
내보내기 Unified diff