개정판 c47820f2
issue #624: trial version check dialog added
Change-Id: Idefb50e7100a5c1574a6b1f413ebd0602862f237
DTI_PID/DTI_PID/License.py | ||
---|---|---|
81 | 81 |
ex_date = datetime(int(decoded2[0]), int(decoded2[1]), int(decoded2[2]), int(decoded2[3]), int(decoded2[4]), int(decoded2[5])) |
82 | 82 |
if ex_date > datetime.now(): |
83 | 83 |
return True |
84 |
else: |
|
85 |
QMessageBox.information(None, 'Information', 'Trial version has expired.') |
|
86 |
return False |
|
84 | 87 |
else: |
85 | 88 |
return True |
86 | 89 |
|
DTI_PID/DTI_PID/SymbolAttrEditorDialog.py | ||
---|---|---|
167 | 167 |
result = attrTypeComboBox.findText(attr.AttributeType) # Type |
168 | 168 |
attrTypeComboBox.setCurrentIndex(result) |
169 | 169 |
else: |
170 |
self.ui.tableWidgetAttr.setItem(row, 3, QTableWidgetItem(attr.AttributeType)) |
|
170 |
if attr.IsProp >= 3: |
|
171 |
item = QTableWidgetItem(attr.AttributeType) |
|
172 |
item.setFlags(Qt.ItemIsEnabled) |
|
173 |
self.ui.tableWidgetAttr.setItem(row, 3, item) |
|
171 | 174 |
|
172 | 175 |
item = QTableWidgetItem(str(attr.AttrAt)) # Attribute At |
173 | 176 |
if attr.IsProp >= 2: |
내보내기 Unified diff