개정판 7415cc4f
fix size
Change-Id: Id000bff4fb20eb2b81f655485ba338c07c94654d
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
1399 | 1399 |
else: |
1400 | 1400 |
return [con for con in self._configs if con.section == section] |
1401 | 1401 |
|
1402 |
return res |
|
1403 |
|
|
1404 | 1402 |
def getAppConfigs(self, section, key=None): |
1405 | 1403 |
"""get application configurations""" |
1406 | 1404 |
|
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
343 | 343 |
|
344 | 344 |
matches = [assoc for assoc in self.associations() if type(assoc) is QEngineeringSizeTextItem] |
345 | 345 |
if matches: |
346 |
return matches[0].mainSize |
|
347 |
else: |
|
348 |
return None |
|
346 |
attrs = [attr for attr in self.getAttributes().keys() if attr.AttributeType == 'Size Text Item'] |
|
347 |
if attrs: |
|
348 |
return matches[0].mainSize |
|
349 |
|
|
350 |
return None |
|
349 | 351 |
|
350 | 352 |
@property |
351 | 353 |
def EvaluatedSize(self): |
내보내기 Unified diff