File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
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
+
You can’t perform that action at this time.
0 commit comments