Skip to content

Commit 8997966

Browse files
author
Jonathan Warren
committed
Merge pull request #1 from Atheros1/master
Populate project with initial files
2 parents 21f1d9e + a7b8da3 commit 8997966

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+11620
-0
lines changed

COPYING

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2012 Jonathan Warren
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

about.py

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# Form implementation generated from reading ui file 'about.ui'
4+
#
5+
# Created: Mon Nov 19 13:33:47 2012
6+
# by: PyQt4 UI code generator 4.9.4
7+
#
8+
# WARNING! All changes made in this file will be lost!
9+
10+
from PyQt4 import QtCore, QtGui
11+
12+
try:
13+
_fromUtf8 = QtCore.QString.fromUtf8
14+
except AttributeError:
15+
_fromUtf8 = lambda s: s
16+
17+
class Ui_aboutDialog(object):
18+
def setupUi(self, aboutDialog):
19+
aboutDialog.setObjectName(_fromUtf8("aboutDialog"))
20+
aboutDialog.resize(360, 402)
21+
self.buttonBox = QtGui.QDialogButtonBox(aboutDialog)
22+
self.buttonBox.setGeometry(QtCore.QRect(20, 360, 311, 32))
23+
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
24+
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
25+
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
26+
self.label = QtGui.QLabel(aboutDialog)
27+
self.label.setGeometry(QtCore.QRect(70, 126, 111, 20))
28+
font = QtGui.QFont()
29+
font.setBold(True)
30+
font.setWeight(75)
31+
self.label.setFont(font)
32+
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
33+
self.label.setObjectName(_fromUtf8("label"))
34+
self.labelVersion = QtGui.QLabel(aboutDialog)
35+
self.labelVersion.setGeometry(QtCore.QRect(190, 126, 161, 20))
36+
self.labelVersion.setObjectName(_fromUtf8("labelVersion"))
37+
self.label_2 = QtGui.QLabel(aboutDialog)
38+
self.label_2.setGeometry(QtCore.QRect(10, 150, 341, 20))
39+
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
40+
self.label_2.setObjectName(_fromUtf8("label_2"))
41+
self.label_3 = QtGui.QLabel(aboutDialog)
42+
self.label_3.setGeometry(QtCore.QRect(30, 210, 321, 51))
43+
self.label_3.setWordWrap(True)
44+
self.label_3.setObjectName(_fromUtf8("label_3"))
45+
self.label_4 = QtGui.QLabel(aboutDialog)
46+
self.label_4.setGeometry(QtCore.QRect(30, 260, 321, 101))
47+
self.label_4.setWordWrap(True)
48+
self.label_4.setObjectName(_fromUtf8("label_4"))
49+
self.label_5 = QtGui.QLabel(aboutDialog)
50+
self.label_5.setGeometry(QtCore.QRect(10, 180, 341, 20))
51+
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
52+
self.label_5.setObjectName(_fromUtf8("label_5"))
53+
54+
self.retranslateUi(aboutDialog)
55+
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), aboutDialog.accept)
56+
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), aboutDialog.reject)
57+
QtCore.QMetaObject.connectSlotsByName(aboutDialog)
58+
59+
def retranslateUi(self, aboutDialog):
60+
aboutDialog.setWindowTitle(QtGui.QApplication.translate("aboutDialog", "About", None, QtGui.QApplication.UnicodeUTF8))
61+
self.label.setText(QtGui.QApplication.translate("aboutDialog", "PyBitmessage", None, QtGui.QApplication.UnicodeUTF8))
62+
self.labelVersion.setText(QtGui.QApplication.translate("aboutDialog", "version ?", None, QtGui.QApplication.UnicodeUTF8))
63+
self.label_2.setText(QtGui.QApplication.translate("aboutDialog", "Copyright © 2012 Jonathan Warren", None, QtGui.QApplication.UnicodeUTF8))
64+
self.label_3.setText(QtGui.QApplication.translate("aboutDialog", "Distributed under the MIT/X11 software license, see the accompanying file license.txt or http://www.opensource.org/licenses/mit-license.php", None, QtGui.QApplication.UnicodeUTF8))
65+
self.label_4.setText(QtGui.QApplication.translate("aboutDialog", "This product includes Python-RSA (http://stuvel.eu/rsa) originally written by Sybren A. Stüvel <[email protected]>. It is licensed under the Apache 2.0 license: http://www.apache.org/licenses/LICENSE-2.0", None, QtGui.QApplication.UnicodeUTF8))
66+
self.label_5.setText(QtGui.QApplication.translate("aboutDialog", "This is Beta software.", None, QtGui.QApplication.UnicodeUTF8))
67+

about.ui

+167
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ui version="4.0">
3+
<class>aboutDialog</class>
4+
<widget class="QDialog" name="aboutDialog">
5+
<property name="geometry">
6+
<rect>
7+
<x>0</x>
8+
<y>0</y>
9+
<width>360</width>
10+
<height>402</height>
11+
</rect>
12+
</property>
13+
<property name="windowTitle">
14+
<string>About</string>
15+
</property>
16+
<widget class="QDialogButtonBox" name="buttonBox">
17+
<property name="geometry">
18+
<rect>
19+
<x>20</x>
20+
<y>360</y>
21+
<width>311</width>
22+
<height>32</height>
23+
</rect>
24+
</property>
25+
<property name="orientation">
26+
<enum>Qt::Horizontal</enum>
27+
</property>
28+
<property name="standardButtons">
29+
<set>QDialogButtonBox::Ok</set>
30+
</property>
31+
</widget>
32+
<widget class="QLabel" name="label">
33+
<property name="geometry">
34+
<rect>
35+
<x>70</x>
36+
<y>126</y>
37+
<width>111</width>
38+
<height>20</height>
39+
</rect>
40+
</property>
41+
<property name="font">
42+
<font>
43+
<weight>75</weight>
44+
<bold>true</bold>
45+
</font>
46+
</property>
47+
<property name="text">
48+
<string>PyBitmessage</string>
49+
</property>
50+
<property name="alignment">
51+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
52+
</property>
53+
</widget>
54+
<widget class="QLabel" name="labelVersion">
55+
<property name="geometry">
56+
<rect>
57+
<x>190</x>
58+
<y>126</y>
59+
<width>161</width>
60+
<height>20</height>
61+
</rect>
62+
</property>
63+
<property name="text">
64+
<string>version ?</string>
65+
</property>
66+
</widget>
67+
<widget class="QLabel" name="label_2">
68+
<property name="geometry">
69+
<rect>
70+
<x>10</x>
71+
<y>150</y>
72+
<width>341</width>
73+
<height>20</height>
74+
</rect>
75+
</property>
76+
<property name="text">
77+
<string>Copyright © 2012 Jonathan Warren</string>
78+
</property>
79+
<property name="alignment">
80+
<set>Qt::AlignCenter</set>
81+
</property>
82+
</widget>
83+
<widget class="QLabel" name="label_3">
84+
<property name="geometry">
85+
<rect>
86+
<x>30</x>
87+
<y>210</y>
88+
<width>321</width>
89+
<height>51</height>
90+
</rect>
91+
</property>
92+
<property name="text">
93+
<string>Distributed under the MIT/X11 software license, see the accompanying file license.txt or http://www.opensource.org/licenses/mit-license.php</string>
94+
</property>
95+
<property name="wordWrap">
96+
<bool>true</bool>
97+
</property>
98+
</widget>
99+
<widget class="QLabel" name="label_4">
100+
<property name="geometry">
101+
<rect>
102+
<x>30</x>
103+
<y>260</y>
104+
<width>321</width>
105+
<height>101</height>
106+
</rect>
107+
</property>
108+
<property name="text">
109+
<string>This product includes Python-RSA (http://stuvel.eu/rsa) originally written by Sybren A. Stüvel &lt;[email protected]&gt;. It is licensed under the Apache 2.0 license: http://www.apache.org/licenses/LICENSE-2.0</string>
110+
</property>
111+
<property name="wordWrap">
112+
<bool>true</bool>
113+
</property>
114+
</widget>
115+
<widget class="QLabel" name="label_5">
116+
<property name="geometry">
117+
<rect>
118+
<x>10</x>
119+
<y>180</y>
120+
<width>341</width>
121+
<height>20</height>
122+
</rect>
123+
</property>
124+
<property name="text">
125+
<string>This is Beta software.</string>
126+
</property>
127+
<property name="alignment">
128+
<set>Qt::AlignCenter</set>
129+
</property>
130+
</widget>
131+
</widget>
132+
<resources/>
133+
<connections>
134+
<connection>
135+
<sender>buttonBox</sender>
136+
<signal>accepted()</signal>
137+
<receiver>aboutDialog</receiver>
138+
<slot>accept()</slot>
139+
<hints>
140+
<hint type="sourcelabel">
141+
<x>248</x>
142+
<y>254</y>
143+
</hint>
144+
<hint type="destinationlabel">
145+
<x>157</x>
146+
<y>274</y>
147+
</hint>
148+
</hints>
149+
</connection>
150+
<connection>
151+
<sender>buttonBox</sender>
152+
<signal>rejected()</signal>
153+
<receiver>aboutDialog</receiver>
154+
<slot>reject()</slot>
155+
<hints>
156+
<hint type="sourcelabel">
157+
<x>316</x>
158+
<y>260</y>
159+
</hint>
160+
<hint type="destinationlabel">
161+
<x>286</x>
162+
<y>274</y>
163+
</hint>
164+
</hints>
165+
</connection>
166+
</connections>
167+
</ui>

0 commit comments

Comments
 (0)