Skip to content

Commit 09dc369

Browse files
author
Edward Li
committed
Create xcorder
1 parent f225e5a commit 09dc369

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

xcorder

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/python
2+
# =============================================================================
3+
# Module: xcorder
4+
# Contacts: Edward Li ([email protected])
5+
# =============================================================================
6+
"""__DESC__
7+
8+
"""
9+
10+
# =============================================================================
11+
# IMPORTS
12+
# =============================================================================
13+
import sys
14+
from PyQt4 import QtGui
15+
from gui import Gui
16+
17+
# =============================================================================
18+
# PUBLIC FUNCTIONS
19+
# =============================================================================
20+
def main():
21+
22+
app = QtGui.QApplication(sys.argv)
23+
app.setApplicationName('xcorder')
24+
25+
with open('stylesheet.qss', 'r') as file_:
26+
app.setStyleSheet(file_.read())
27+
28+
gui = Gui()
29+
gui.show()
30+
31+
sys.exit(app.exec_())
32+
33+
# =============================================================================
34+
35+
if __name__ == '__main__':
36+
main()
37+
38+
# =============================================================================
39+

0 commit comments

Comments
 (0)