source: trunk/PARPG/tools/Writing Editor/run.py @ 217

Revision 217, 955 bytes checked in by bretzel_parpg, 10 years ago (diff)

This is what I have so far for the writing editor. All the features in it are fully functional except
for the dialog map.
NOTE: You will have to have PyQt4 installed for this application to run. There are some instructions in
the readme but it is incomplete

Line 
1#!/usr/bin/python
2
3#   This file is part of PARPG.
4
5#   PARPG is free software: you can redistribute it and/or modify
6#   it under the terms of the GNU General Public License as published by
7#   the Free Software Foundation, either version 3 of the License, or
8#   (at your option) any later version.
9
10#   PARPG is distributed in the hope that it will be useful,
11#   but WITHOUT ANY WARRANTY; without even the implied warranty of
12#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13#   GNU General Public License for more details.
14
15#   You should have received a copy of the GNU General Public License
16#   along with PARPG.  If not, see <http://www.gnu.org/licenses/>.
17
18import sys
19sys.path.append("scripts")
20
21from PyQt4 import QtGui
22from writingEditor import WritingEditor
23
24if __name__ == "__main__":
25    app = QtGui.QApplication(sys.argv)
26    editor = WritingEditor()
27    editor.show()
28    sys.exit(app.exec_())
Note: See TracBrowser for help on using the repository browser.