Last change
on this file since 1441 was
1306,
checked in by KelvinHsu, 11 years ago
|
Initial commit of early python tests
|
File size:
593 bytes
|
Line | |
---|
1 | #------------------------------------------------------------------------------- |
---|
2 | # Name: ParamGuiEdit1 |
---|
3 | # Purpose: |
---|
4 | # |
---|
5 | # Author: Kelvin |
---|
6 | # |
---|
7 | # Created: 27/11/2013 |
---|
8 | # Copyright: (c) Kelvin 2013 |
---|
9 | # Licence: <your licence> |
---|
10 | #------------------------------------------------------------------------------- |
---|
11 | |
---|
12 | import sys |
---|
13 | from PyQt4 import QtGui |
---|
14 | |
---|
15 | |
---|
16 | def main(): |
---|
17 | |
---|
18 | app = QtGui.QApplication(sys.argv) |
---|
19 | |
---|
20 | w = QtGui.QWidget() |
---|
21 | w.resize(250, 150) |
---|
22 | w.move(300, 300) |
---|
23 | w.setWindowTitle('Simple') |
---|
24 | w.show() |
---|
25 | |
---|
26 | sys.exit(app.exec_()) |
---|
27 | |
---|
28 | |
---|
29 | if __name__ == '__main__': |
---|
30 | main() |
---|
Note: See
TracBrowser
for help on using the repository browser.