676 Private method to show a dialog to configure some options for the |
676 Private method to show a dialog to configure some options for the |
677 IDL compiler. |
677 IDL compiler. |
678 """ |
678 """ |
679 params = self.project.pdata["IDLPARAMS"] |
679 params = self.project.pdata["IDLPARAMS"] |
680 |
680 |
681 # TODO: remove this test code once done |
|
682 params = { |
|
683 "IncludeDirs": ["sub3", "sub2"], |
|
684 "DefinedNames": ["n2", "n1=1", "n3 = h e l p"], |
|
685 "UndefinedNames": ["v5", "v2", "aa"], |
|
686 } |
|
687 |
|
688 # TODO: implement IDL compiler options dialog |
|
689 from .IdlCompilerOptionsDialog import IdlCompilerOptionsDialog |
681 from .IdlCompilerOptionsDialog import IdlCompilerOptionsDialog |
690 dlg = IdlCompilerOptionsDialog( |
682 dlg = IdlCompilerOptionsDialog( |
691 params["IncludeDirs"][:], params["DefinedNames"][:], |
683 params["IncludeDirs"][:], params["DefinedNames"][:], |
692 params["UndefinedNames"][:], self.project, self) |
684 params["UndefinedNames"][:], self.project, self) |
693 if dlg.exec_() == QDialog.Accepted: |
685 if dlg.exec_() == QDialog.Accepted: |