개정판 7402cc95
issue #000: fix db script typo and training box editor
Change-Id: Ia4e7177db579bca6ccbd8c39dcc5baf0be8de490
DTI_PID/DTI_PID/Scripts/SQLite_Project.tables.sql | ||
---|---|---|
15 | 15 |
FOREIGN KEY(`SymbolAttribute_UID`) REFERENCES `SymbolAttribute`(`UID`) |
16 | 16 |
); |
17 | 17 |
|
18 |
CREATE TABLE IF NOT EXISTS "CustomCodes" (
|
|
18 |
CREATE TABLE IF NOT EXISTS 'CustomCodes' (
|
|
19 | 19 |
`UID` VARCHAR ( 37 ) NOT NULL, |
20 | 20 |
`Table_UID` VARCHAR ( 37 ) NOT NULL, |
21 | 21 |
`Name` VARCHAR ( 32 ) NOT NULL, |
22 | 22 |
`Code` VARCHAR ( 32 ) NOT NULL, |
23 |
'Description` TEXT,
|
|
23 |
`Description` TEXT,
|
|
24 | 24 |
`Allowables` TEXT, |
25 | 25 |
CONSTRAINT `CustomCodes_PK` PRIMARY KEY(`UID`) |
26 | 26 |
); |
DTI_PID/DTI_PID/TrainingEditorDialog.py | ||
---|---|---|
345 | 345 |
self.ui.spinBoxWidth.setValue(self.ui.spinBoxWidth.value() + 1) |
346 | 346 |
elif event.key() == Qt.Key_Down: |
347 | 347 |
self.ui.spinBoxWidth.setValue(self.ui.spinBoxWidth.value() - 1) |
348 |
elif event.key() == Qt.Key_Return: |
|
348 |
elif event.key() == Qt.Key_Return or event.key() == 16777221: |
|
349 |
# return or right return |
|
349 | 350 |
pass |
350 | 351 |
elif selectedItem: |
351 | 352 |
text = event.text() |
내보내기 Unified diff