##// END OF EJS Templates
***
ralonso -
r4:5
parent child
Show More
@@ -1,151 +1,157
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <!DOCTYPE Project SYSTEM "Project-4.6.dtd">
3 3 <!-- eric4 project file for project jro_backup_manager -->
4 <!-- Saved: 2010-04-13, 14:18:05 -->
4 <!-- Saved: 2010-04-13, 15:35:18 -->
5 5 <!-- Copyright (C) 2010 , -->
6 6 <Project version="4.6">
7 7 <Language>en</Language>
8 8 <ProgLanguage mixed="0">Python</ProgLanguage>
9 9 <ProjectType>Qt4</ProjectType>
10 10 <Description></Description>
11 11 <Version>0.1</Version>
12 12 <Author></Author>
13 13 <Email></Email>
14 14 <Sources>
15 15 <Source>__init__.py</Source>
16 <Source>ui/Ui_MainWindow.py</Source>
17 <Source>ui/MainWindow.py</Source>
18 <Source>main.py</Source>
19 <Source>ui/__init__.py</Source>
16 20 </Sources>
17 21 <Forms>
22 <Form>ui/MainWindow.ui</Form>
18 23 </Forms>
19 24 <Translations>
20 25 </Translations>
21 26 <Resources>
22 27 </Resources>
23 28 <Interfaces>
24 29 </Interfaces>
25 30 <Others>
26 31 </Others>
32 <MainScript>main.py</MainScript>
27 33 <Vcs>
28 34 <VcsType>Subversion</VcsType>
29 35 <VcsOptions>
30 36 <dict>
31 37 <key>
32 38 <string>add</string>
33 39 </key>
34 40 <value>
35 41 <list>
36 42 <string></string>
37 43 </list>
38 44 </value>
39 45 <key>
40 46 <string>checkout</string>
41 47 </key>
42 48 <value>
43 49 <list>
44 50 <string></string>
45 51 </list>
46 52 </value>
47 53 <key>
48 54 <string>commit</string>
49 55 </key>
50 56 <value>
51 57 <list>
52 58 <string></string>
53 59 </list>
54 60 </value>
55 61 <key>
56 62 <string>diff</string>
57 63 </key>
58 64 <value>
59 65 <list>
60 66 <string></string>
61 67 </list>
62 68 </value>
63 69 <key>
64 70 <string>export</string>
65 71 </key>
66 72 <value>
67 73 <list>
68 74 <string></string>
69 75 </list>
70 76 </value>
71 77 <key>
72 78 <string>global</string>
73 79 </key>
74 80 <value>
75 81 <list>
76 82 <string></string>
77 83 </list>
78 84 </value>
79 85 <key>
80 86 <string>history</string>
81 87 </key>
82 88 <value>
83 89 <list>
84 90 <string></string>
85 91 </list>
86 92 </value>
87 93 <key>
88 94 <string>log</string>
89 95 </key>
90 96 <value>
91 97 <list>
92 98 <string></string>
93 99 </list>
94 100 </value>
95 101 <key>
96 102 <string>remove</string>
97 103 </key>
98 104 <value>
99 105 <list>
100 106 <string></string>
101 107 </list>
102 108 </value>
103 109 <key>
104 110 <string>status</string>
105 111 </key>
106 112 <value>
107 113 <list>
108 114 <string></string>
109 115 </list>
110 116 </value>
111 117 <key>
112 118 <string>tag</string>
113 119 </key>
114 120 <value>
115 121 <list>
116 122 <string></string>
117 123 </list>
118 124 </value>
119 125 <key>
120 126 <string>update</string>
121 127 </key>
122 128 <value>
123 129 <list>
124 130 <string></string>
125 131 </list>
126 132 </value>
127 133 </dict>
128 134 </VcsOptions>
129 135 <VcsOtherData>
130 136 <dict>
131 137 <key>
132 138 <string>standardLayout</string>
133 139 </key>
134 140 <value>
135 141 <bool>True</bool>
136 142 </value>
137 143 </dict>
138 144 </VcsOtherData>
139 145 </Vcs>
140 146 <FiletypeAssociations>
141 147 <FiletypeAssociation pattern="*.ui" type="FORMS" />
142 148 <FiletypeAssociation pattern="*.idl" type="INTERFACES" />
143 149 <FiletypeAssociation pattern="*.qm" type="TRANSLATIONS" />
144 150 <FiletypeAssociation pattern="*.ptl" type="SOURCES" />
145 151 <FiletypeAssociation pattern="*.pyw" type="SOURCES" />
146 152 <FiletypeAssociation pattern="*.ui.h" type="FORMS" />
147 153 <FiletypeAssociation pattern="*.ts" type="TRANSLATIONS" />
148 154 <FiletypeAssociation pattern="*.py" type="SOURCES" />
149 155 <FiletypeAssociation pattern="*.qrc" type="RESOURCES" />
150 156 </FiletypeAssociations>
151 157 </Project> No newline at end of file
@@ -1,15 +1,14
1 1 #!/usr/bin/python
2 2
3 3 from PyQt4.QtGui import QApplication
4 #from ui import import MainWindow
5 4 from ui.MainWindow import MainWindow
6 5
7 6 def main():
8 7 import sys
9 8 app = QApplication(sys.argv)
10 9 wnd = MainWindow()
11 10 wnd.show()
12 11 sys.exit(app.exec_())
13 12
14 13 if __name__ == '__main__':
15 14 main()
@@ -1,51 +1,51
1 1 # -*- coding: utf-8 -*-
2 2
3 3 """
4 4 Module implementing MainWindow.
5 5 """
6 6
7 7 from PyQt4.QtGui import QMainWindow
8 8 from PyQt4.QtCore import pyqtSignature
9 9 from Ui_MainWindow import Ui_MainWindow
10 10 from PyQt4 import QtGui
11 11
12 12 class MainWindow(QMainWindow, Ui_MainWindow):
13 13 """
14 14 Class documentation goes here.
15 15 """
16 16 def __init__(self, parent = None):
17 17 """
18 18 Constructor
19 19 """
20 20 QMainWindow.__init__(self, parent)
21 21 self.setupUi(self)
22 22
23 23 @pyqtSignature("")
24 24 def on_btnDpath_clicked(self):
25 25 """
26 26 Slot documentation goes here.
27 27 """
28 28 filename = QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)
29 29 self.txtDpath.setText(filename)
30 30
31 31 # TODO: not implemented yet
32 32 # raise NotImplementedError
33 33
34 34 @pyqtSignature("")
35 35 def on_btnRpath_clicked(self):
36 36 """
37 37 Slot documentation goes here.
38 38 """
39 39 filename = QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)
40 40 self.txtRpath.setText(filename)
41 41
42 42 # TODO: not implemented yet
43 43 # raise NotImplementedError
44
45 @pyqtSignature("")
46 def on_btnStopburn_clicked(self):
44
45 @pyqtSignature("QString")
46 def on_txtDpath_textChanged(self, p0):
47 47 """
48 48 Slot documentation goes here.
49 49 """
50 50 # TODO: not implemented yet
51 raise NotImplementedError
51 # raise NotImplementedError
General Comments 0
You need to be logged in to leave comments. Login now