Changeset 218


Ignore:
Timestamp:
08/04/09 01:49:10 (10 years ago)
Author:
bretzel_parpg
Message:

Fixed some import issues

Location:
trunk/PARPG/tools/Writing Editor
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/tools/Writing Editor/run.py

    r217 r218  
    1717 
    1818import sys 
    19 sys.path.append("scripts") 
    2019 
    21 from PyQt4 import QtGui 
    22 from writingEditor import WritingEditor 
     20from PyQt4 import QtCore, QtGui 
     21from scripts.writingEditor import WritingEditor 
    2322 
    24 if __name__ == "__main__": 
     23def createApplication(): 
    2524    app = QtGui.QApplication(sys.argv) 
    2625    editor = WritingEditor() 
    2726    editor.show() 
    2827    sys.exit(app.exec_()) 
     28 
     29if __name__ == "__main__": 
     30    createApplication() 
  • trunk/PARPG/tools/Writing Editor/scripts/writingEditor.py

    r217 r218  
    1717 
    1818import sys, os, codecs 
    19 sys.path.append("ui") 
    2019 
    2120from PyQt4 import QtGui, QtCore 
    22 from editor_ui import Ui_writingEditor 
    23 from popupWindows import * 
    24 from settings import Settings 
     21from ui.editor_ui import Ui_writingEditor 
     22from ui.popupWindows import * 
     23from scripts.settings import Settings 
    2524 
    2625class WritingEditor(QtGui.QMainWindow): 
Note: See TracChangeset for help on using the changeset viewer.