oliver@100
|
1 |
#!/bin/env python
|
oliver@100
|
2 |
# -*- coding: utf-8 -*-
|
oliver@100
|
3 |
|
oliver@100
|
4 |
# ------------------------------------------------------------
|
oliver@100
|
5 |
# about_dialog.pyw
|
oliver@100
|
6 |
#
|
oliver@100
|
7 |
# something about OpenSecurity
|
oliver@100
|
8 |
#
|
oliver@100
|
9 |
# Autor: Oliver Maurhart, <oliver.maurhart@ait.ac.at>
|
oliver@100
|
10 |
#
|
oliver@240
|
11 |
# Copyright 2013-2014 X-Net and AIT Austrian Institute of Technology
|
oliver@100
|
12 |
#
|
oliver@100
|
13 |
#
|
oliver@240
|
14 |
# X-Net Services GmbH
|
oliver@240
|
15 |
# Elisabethstrasse 1
|
oliver@240
|
16 |
# 4020 Linz
|
oliver@240
|
17 |
# AUSTRIA
|
oliver@240
|
18 |
# https://www.x-net.at
|
oliver@240
|
19 |
#
|
oliver@240
|
20 |
# AIT Austrian Institute of Technology
|
oliver@240
|
21 |
# Donau City Strasse 1
|
oliver@240
|
22 |
# 1220 Wien
|
oliver@240
|
23 |
# AUSTRIA
|
oliver@240
|
24 |
# http://www.ait.ac.at
|
oliver@240
|
25 |
#
|
oliver@240
|
26 |
#
|
oliver@240
|
27 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
oliver@240
|
28 |
# you may not use this file except in compliance with the License.
|
oliver@240
|
29 |
# You may obtain a copy of the License at
|
oliver@240
|
30 |
#
|
oliver@240
|
31 |
# http://www.apache.org/licenses/LICENSE-2.0
|
oliver@240
|
32 |
#
|
oliver@240
|
33 |
# Unless required by applicable law or agreed to in writing, software
|
oliver@240
|
34 |
# distributed under the License is distributed on an "AS IS" BASIS,
|
oliver@240
|
35 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
oliver@240
|
36 |
# See the License for the specific language governing permissions and
|
oliver@240
|
37 |
# limitations under the License.
|
oliver@100
|
38 |
# ------------------------------------------------------------
|
oliver@100
|
39 |
|
oliver@100
|
40 |
|
oliver@100
|
41 |
# ------------------------------------------------------------
|
oliver@100
|
42 |
# imports
|
oliver@100
|
43 |
|
oliver@100
|
44 |
import sys
|
oliver@100
|
45 |
|
oliver@100
|
46 |
from PyQt4 import QtCore
|
oliver@100
|
47 |
from PyQt4 import QtGui
|
oliver@100
|
48 |
|
oliver@100
|
49 |
from ui_AboutDialog import Ui_AboutDialog
|
oliver@100
|
50 |
|
oliver@144
|
51 |
try:
|
oliver@144
|
52 |
# mhm, bit of a hack to get the ../__init__.py loaded
|
oliver@144
|
53 |
import os.path
|
oliver@144
|
54 |
f = os.path.normpath(os.path.join(os.path.split(__file__)[0], '..', '__init__.py'))
|
oliver@144
|
55 |
import imp
|
oliver@144
|
56 |
opensecurity = imp.load_source('opensecurity', f)
|
oliver@144
|
57 |
__version__ = opensecurity.__version__
|
oliver@144
|
58 |
|
oliver@144
|
59 |
except:
|
oliver@144
|
60 |
# failed to get the ../__init__.py loaded :(
|
oliver@144
|
61 |
__version__ = 'N/A'
|
oliver@144
|
62 |
|
oliver@100
|
63 |
|
oliver@100
|
64 |
# ------------------------------------------------------------
|
oliver@100
|
65 |
# code
|
oliver@100
|
66 |
|
oliver@100
|
67 |
|
oliver@100
|
68 |
ABOUT_TEXT = """
|
oliver@100
|
69 |
<html>
|
oliver@100
|
70 |
|
oliver@100
|
71 |
<head>
|
oliver@100
|
72 |
|
oliver@100
|
73 |
<style type="text/css">
|
oliver@194
|
74 |
.header { margin-bottom: 50px; }
|
oliver@194
|
75 |
.logo { vertical-align: middle; margin-bottom: 24px; }
|
oliver@100
|
76 |
.logo { vertical-align: middle; margin-bottom: 24px; }
|
oliver@100
|
77 |
.footer { margin-top: 100px; }
|
oliver@100
|
78 |
</style>
|
oliver@100
|
79 |
|
oliver@100
|
80 |
</head>
|
oliver@100
|
81 |
|
oliver@100
|
82 |
<body bgcolor="#FFFFFF">
|
oliver@100
|
83 |
|
oliver@100
|
84 |
<div align="center">
|
oliver@100
|
85 |
|
oliver@100
|
86 |
<h1 class="header">
|
oliver@100
|
87 |
<a href="http://www.opensecurity.at"><img src=":/opensecurity/gfx/opensecurity_logo.jpg"/></a><br/><br/>
|
oliver@144
|
88 |
OpenSecurity V%s
|
oliver@100
|
89 |
</h1>
|
oliver@100
|
90 |
|
oliver@194
|
91 |
<div class="about_text" align="left">
|
oliver@194
|
92 |
OpenSecurity is an Austrian national project funded by the FFG KIRAS program.<br/>
|
oliver@194
|
93 |
<br/>
|
oliver@194
|
94 |
The goal of the project is to help to prevent the loss and (un)intentional misuse of sensitive, <br/>
|
oliver@194
|
95 |
citizen-related data held by public bodies through the application of "security by isolation" approaches. <br/>
|
oliver@194
|
96 |
<br/>
|
oliver@194
|
97 |
The OpenSecurity consortium consists of small businesses (X-Net Services GmbH, IKARUS Security Software GmbH), <br/>
|
oliver@194
|
98 |
research institutions (AIT Austrian Institute of Technology GmbH, Linzer Institut für qualitative Analysen), <br/>
|
oliver@194
|
99 |
and public stakeholders (Bundesministerium für Landesverteidigung und Sport, IKT Linz Infrastruktur GmbH). <br/>
|
oliver@100
|
100 |
</div>
|
oliver@100
|
101 |
|
oliver@100
|
102 |
<div class="logo">
|
oliver@100
|
103 |
<a href="http://www.ait.ac.at"><img src=":/opensecurity/gfx/ait_logo_no_claim.png"/></a>
|
oliver@100
|
104 |
<a href="http://www.x-net.at"><img src=":/opensecurity/gfx/x-net_logo.jpg"/></a>
|
oliver@100
|
105 |
<a href="http://www.ikarussecurity.com"><img src=":/opensecurity/gfx/ikarus_logo.jpg"/></a>
|
oliver@100
|
106 |
</div>
|
oliver@100
|
107 |
|
oliver@100
|
108 |
<div class="logo">
|
oliver@100
|
109 |
<a href="http://www.liqua.net"><img src=":/opensecurity/gfx/liqua_logo.jpg"/></a>
|
oliver@100
|
110 |
<a href="http://www.linz.at"><img src=":/opensecurity/gfx/linz_logo.jpg"/></a>
|
oliver@100
|
111 |
<a href="http://www.bmvit.gv.at"><img src=":/opensecurity/gfx/bmvit_logo.jpg"/></a>
|
oliver@100
|
112 |
</div>
|
oliver@100
|
113 |
|
oliver@100
|
114 |
<div class="logo">
|
oliver@100
|
115 |
<a href="http://www.ffg.at"><img src=":/opensecurity/gfx/ffg_logo.jpg"/></a>
|
oliver@100
|
116 |
<a href="http://www.kiras.at"><img src=":/opensecurity/gfx/kiras_logo.jpg"/></a>
|
oliver@100
|
117 |
</div>
|
oliver@100
|
118 |
|
oliver@100
|
119 |
<div class="footer" align="left">
|
oliver@199
|
120 |
Copyright 2013, 2014 The OpenSecurity Consortium, <a href="http://www.opensecurity.at">http://www.opensecurity.at</a><br/>
|
oliver@195
|
121 |
<br/>
|
oliver@195
|
122 |
Licensed under the Apache License, Version 2.0 (the "License");<br/>
|
oliver@195
|
123 |
you may not use this file except in compliance with the License.<br/>
|
oliver@195
|
124 |
You may obtain a copy of the License at<br/>
|
oliver@195
|
125 |
<br/>
|
oliver@199
|
126 |
<a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br/>
|
oliver@195
|
127 |
<br/>
|
oliver@195
|
128 |
Unless required by applicable law or agreed to in writing, software<br/>
|
oliver@195
|
129 |
distributed under the License is distributed on an "AS IS" BASIS,<br/>
|
oliver@195
|
130 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br/>
|
oliver@195
|
131 |
See the License for the specific language governing permissions and<br/>
|
oliver@195
|
132 |
limitations under the License.<br/>
|
oliver@100
|
133 |
</div>
|
oliver@100
|
134 |
|
oliver@100
|
135 |
</div>
|
oliver@100
|
136 |
</body>
|
oliver@100
|
137 |
</html>
|
oliver@195
|
138 |
"""
|
oliver@195
|
139 |
|
oliver@195
|
140 |
|
oliver@195
|
141 |
LICENSE_TEXT = """
|
oliver@195
|
142 |
|
oliver@195
|
143 |
Apache License
|
oliver@195
|
144 |
Version 2.0, January 2004
|
oliver@195
|
145 |
http://www.apache.org/licenses/
|
oliver@195
|
146 |
|
oliver@195
|
147 |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
oliver@195
|
148 |
|
oliver@195
|
149 |
1. Definitions.
|
oliver@195
|
150 |
|
oliver@195
|
151 |
"License" shall mean the terms and conditions for use, reproduction,
|
oliver@195
|
152 |
and distribution as defined by Sections 1 through 9 of this document.
|
oliver@195
|
153 |
|
oliver@195
|
154 |
"Licensor" shall mean the copyright owner or entity authorized by
|
oliver@195
|
155 |
the copyright owner that is granting the License.
|
oliver@195
|
156 |
|
oliver@195
|
157 |
"Legal Entity" shall mean the union of the acting entity and all
|
oliver@195
|
158 |
other entities that control, are controlled by, or are under common
|
oliver@195
|
159 |
control with that entity. For the purposes of this definition,
|
oliver@195
|
160 |
"control" means (i) the power, direct or indirect, to cause the
|
oliver@195
|
161 |
direction or management of such entity, whether by contract or
|
oliver@195
|
162 |
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
oliver@195
|
163 |
outstanding shares, or (iii) beneficial ownership of such entity.
|
oliver@195
|
164 |
|
oliver@195
|
165 |
"You" (or "Your") shall mean an individual or Legal Entity
|
oliver@195
|
166 |
exercising permissions granted by this License.
|
oliver@195
|
167 |
|
oliver@195
|
168 |
"Source" form shall mean the preferred form for making modifications,
|
oliver@195
|
169 |
including but not limited to software source code, documentation
|
oliver@195
|
170 |
source, and configuration files.
|
oliver@195
|
171 |
|
oliver@195
|
172 |
"Object" form shall mean any form resulting from mechanical
|
oliver@195
|
173 |
transformation or translation of a Source form, including but
|
oliver@195
|
174 |
not limited to compiled object code, generated documentation,
|
oliver@195
|
175 |
and conversions to other media types.
|
oliver@195
|
176 |
|
oliver@195
|
177 |
"Work" shall mean the work of authorship, whether in Source or
|
oliver@195
|
178 |
Object form, made available under the License, as indicated by a
|
oliver@195
|
179 |
copyright notice that is included in or attached to the work
|
oliver@195
|
180 |
(an example is provided in the Appendix below).
|
oliver@195
|
181 |
|
oliver@195
|
182 |
"Derivative Works" shall mean any work, whether in Source or Object
|
oliver@195
|
183 |
form, that is based on (or derived from) the Work and for which the
|
oliver@195
|
184 |
editorial revisions, annotations, elaborations, or other modifications
|
oliver@195
|
185 |
represent, as a whole, an original work of authorship. For the purposes
|
oliver@195
|
186 |
of this License, Derivative Works shall not include works that remain
|
oliver@195
|
187 |
separable from, or merely link (or bind by name) to the interfaces of,
|
oliver@195
|
188 |
the Work and Derivative Works thereof.
|
oliver@195
|
189 |
|
oliver@195
|
190 |
"Contribution" shall mean any work of authorship, including
|
oliver@195
|
191 |
the original version of the Work and any modifications or additions
|
oliver@195
|
192 |
to that Work or Derivative Works thereof, that is intentionally
|
oliver@195
|
193 |
submitted to Licensor for inclusion in the Work by the copyright owner
|
oliver@195
|
194 |
or by an individual or Legal Entity authorized to submit on behalf of
|
oliver@195
|
195 |
the copyright owner. For the purposes of this definition, "submitted"
|
oliver@195
|
196 |
means any form of electronic, verbal, or written communication sent
|
oliver@195
|
197 |
to the Licensor or its representatives, including but not limited to
|
oliver@195
|
198 |
communication on electronic mailing lists, source code control systems,
|
oliver@195
|
199 |
and issue tracking systems that are managed by, or on behalf of, the
|
oliver@195
|
200 |
Licensor for the purpose of discussing and improving the Work, but
|
oliver@195
|
201 |
excluding communication that is conspicuously marked or otherwise
|
oliver@195
|
202 |
designated in writing by the copyright owner as "Not a Contribution."
|
oliver@195
|
203 |
|
oliver@195
|
204 |
"Contributor" shall mean Licensor and any individual or Legal Entity
|
oliver@195
|
205 |
on behalf of whom a Contribution has been received by Licensor and
|
oliver@195
|
206 |
subsequently incorporated within the Work.
|
oliver@195
|
207 |
|
oliver@195
|
208 |
2. Grant of Copyright License. Subject to the terms and conditions of
|
oliver@195
|
209 |
this License, each Contributor hereby grants to You a perpetual,
|
oliver@195
|
210 |
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
oliver@195
|
211 |
copyright license to reproduce, prepare Derivative Works of,
|
oliver@195
|
212 |
publicly display, publicly perform, sublicense, and distribute the
|
oliver@195
|
213 |
Work and such Derivative Works in Source or Object form.
|
oliver@195
|
214 |
|
oliver@195
|
215 |
3. Grant of Patent License. Subject to the terms and conditions of
|
oliver@195
|
216 |
this License, each Contributor hereby grants to You a perpetual,
|
oliver@195
|
217 |
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
oliver@195
|
218 |
(except as stated in this section) patent license to make, have made,
|
oliver@195
|
219 |
use, offer to sell, sell, import, and otherwise transfer the Work,
|
oliver@195
|
220 |
where such license applies only to those patent claims licensable
|
oliver@195
|
221 |
by such Contributor that are necessarily infringed by their
|
oliver@195
|
222 |
Contribution(s) alone or by combination of their Contribution(s)
|
oliver@195
|
223 |
with the Work to which such Contribution(s) was submitted. If You
|
oliver@195
|
224 |
institute patent litigation against any entity (including a
|
oliver@195
|
225 |
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
oliver@195
|
226 |
or a Contribution incorporated within the Work constitutes direct
|
oliver@195
|
227 |
or contributory patent infringement, then any patent licenses
|
oliver@195
|
228 |
granted to You under this License for that Work shall terminate
|
oliver@195
|
229 |
as of the date such litigation is filed.
|
oliver@195
|
230 |
|
oliver@195
|
231 |
4. Redistribution. You may reproduce and distribute copies of the
|
oliver@195
|
232 |
Work or Derivative Works thereof in any medium, with or without
|
oliver@195
|
233 |
modifications, and in Source or Object form, provided that You
|
oliver@195
|
234 |
meet the following conditions:
|
oliver@195
|
235 |
|
oliver@195
|
236 |
(a) You must give any other recipients of the Work or
|
oliver@195
|
237 |
Derivative Works a copy of this License; and
|
oliver@195
|
238 |
|
oliver@195
|
239 |
(b) You must cause any modified files to carry prominent notices
|
oliver@195
|
240 |
stating that You changed the files; and
|
oliver@195
|
241 |
|
oliver@195
|
242 |
(c) You must retain, in the Source form of any Derivative Works
|
oliver@195
|
243 |
that You distribute, all copyright, patent, trademark, and
|
oliver@195
|
244 |
attribution notices from the Source form of the Work,
|
oliver@195
|
245 |
excluding those notices that do not pertain to any part of
|
oliver@195
|
246 |
the Derivative Works; and
|
oliver@195
|
247 |
|
oliver@195
|
248 |
(d) If the Work includes a "NOTICE" text file as part of its
|
oliver@195
|
249 |
distribution, then any Derivative Works that You distribute must
|
oliver@195
|
250 |
include a readable copy of the attribution notices contained
|
oliver@195
|
251 |
within such NOTICE file, excluding those notices that do not
|
oliver@195
|
252 |
pertain to any part of the Derivative Works, in at least one
|
oliver@195
|
253 |
of the following places: within a NOTICE text file distributed
|
oliver@195
|
254 |
as part of the Derivative Works; within the Source form or
|
oliver@195
|
255 |
documentation, if provided along with the Derivative Works; or,
|
oliver@195
|
256 |
within a display generated by the Derivative Works, if and
|
oliver@195
|
257 |
wherever such third-party notices normally appear. The contents
|
oliver@195
|
258 |
of the NOTICE file are for informational purposes only and
|
oliver@195
|
259 |
do not modify the License. You may add Your own attribution
|
oliver@195
|
260 |
notices within Derivative Works that You distribute, alongside
|
oliver@195
|
261 |
or as an addendum to the NOTICE text from the Work, provided
|
oliver@195
|
262 |
that such additional attribution notices cannot be construed
|
oliver@195
|
263 |
as modifying the License.
|
oliver@195
|
264 |
|
oliver@195
|
265 |
You may add Your own copyright statement to Your modifications and
|
oliver@195
|
266 |
may provide additional or different license terms and conditions
|
oliver@195
|
267 |
for use, reproduction, or distribution of Your modifications, or
|
oliver@195
|
268 |
for any such Derivative Works as a whole, provided Your use,
|
oliver@195
|
269 |
reproduction, and distribution of the Work otherwise complies with
|
oliver@195
|
270 |
the conditions stated in this License.
|
oliver@195
|
271 |
|
oliver@195
|
272 |
5. Submission of Contributions. Unless You explicitly state otherwise,
|
oliver@195
|
273 |
any Contribution intentionally submitted for inclusion in the Work
|
oliver@195
|
274 |
by You to the Licensor shall be under the terms and conditions of
|
oliver@195
|
275 |
this License, without any additional terms or conditions.
|
oliver@195
|
276 |
Notwithstanding the above, nothing herein shall supersede or modify
|
oliver@195
|
277 |
the terms of any separate license agreement you may have executed
|
oliver@195
|
278 |
with Licensor regarding such Contributions.
|
oliver@195
|
279 |
|
oliver@195
|
280 |
6. Trademarks. This License does not grant permission to use the trade
|
oliver@195
|
281 |
names, trademarks, service marks, or product names of the Licensor,
|
oliver@195
|
282 |
except as required for reasonable and customary use in describing the
|
oliver@195
|
283 |
origin of the Work and reproducing the content of the NOTICE file.
|
oliver@195
|
284 |
|
oliver@195
|
285 |
7. Disclaimer of Warranty. Unless required by applicable law or
|
oliver@195
|
286 |
agreed to in writing, Licensor provides the Work (and each
|
oliver@195
|
287 |
Contributor provides its Contributions) on an "AS IS" BASIS,
|
oliver@195
|
288 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
oliver@195
|
289 |
implied, including, without limitation, any warranties or conditions
|
oliver@195
|
290 |
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
oliver@195
|
291 |
PARTICULAR PURPOSE. You are solely responsible for determining the
|
oliver@195
|
292 |
appropriateness of using or redistributing the Work and assume any
|
oliver@195
|
293 |
risks associated with Your exercise of permissions under this License.
|
oliver@195
|
294 |
|
oliver@195
|
295 |
8. Limitation of Liability. In no event and under no legal theory,
|
oliver@195
|
296 |
whether in tort (including negligence), contract, or otherwise,
|
oliver@195
|
297 |
unless required by applicable law (such as deliberate and grossly
|
oliver@195
|
298 |
negligent acts) or agreed to in writing, shall any Contributor be
|
oliver@195
|
299 |
liable to You for damages, including any direct, indirect, special,
|
oliver@195
|
300 |
incidental, or consequential damages of any character arising as a
|
oliver@195
|
301 |
result of this License or out of the use or inability to use the
|
oliver@195
|
302 |
Work (including but not limited to damages for loss of goodwill,
|
oliver@195
|
303 |
work stoppage, computer failure or malfunction, or any and all
|
oliver@195
|
304 |
other commercial damages or losses), even if such Contributor
|
oliver@195
|
305 |
has been advised of the possibility of such damages.
|
oliver@195
|
306 |
|
oliver@195
|
307 |
9. Accepting Warranty or Additional Liability. While redistributing
|
oliver@195
|
308 |
the Work or Derivative Works thereof, You may choose to offer,
|
oliver@195
|
309 |
and charge a fee for, acceptance of support, warranty, indemnity,
|
oliver@195
|
310 |
or other liability obligations and/or rights consistent with this
|
oliver@195
|
311 |
License. However, in accepting such obligations, You may act only
|
oliver@195
|
312 |
on Your own behalf and on Your sole responsibility, not on behalf
|
oliver@195
|
313 |
of any other Contributor, and only if You agree to indemnify,
|
oliver@195
|
314 |
defend, and hold each Contributor harmless for any liability
|
oliver@195
|
315 |
incurred by, or claims asserted against, such Contributor by reason
|
oliver@195
|
316 |
of your accepting any such warranty or additional liability.
|
oliver@195
|
317 |
|
oliver@195
|
318 |
END OF TERMS AND CONDITIONS
|
oliver@195
|
319 |
"""
|
oliver@100
|
320 |
|
oliver@100
|
321 |
|
oliver@100
|
322 |
# ------------------------------------------------------------
|
oliver@100
|
323 |
# code
|
oliver@100
|
324 |
|
oliver@100
|
325 |
|
oliver@100
|
326 |
class AboutDialog(QtGui.QDialog):
|
oliver@100
|
327 |
|
oliver@100
|
328 |
"""A dialog which shows some information about the OpenSecurity project"""
|
oliver@100
|
329 |
|
oliver@100
|
330 |
def __init__(self):
|
oliver@100
|
331 |
|
oliver@100
|
332 |
QtGui.QDialog.__init__(self)
|
oliver@100
|
333 |
|
oliver@100
|
334 |
# setup the user interface
|
oliver@100
|
335 |
self.ui = Ui_AboutDialog()
|
oliver@100
|
336 |
self.ui.setupUi(self)
|
oliver@100
|
337 |
|
oliver@100
|
338 |
# fix the scroll area content
|
oliver@100
|
339 |
self.ui.lblAbout = QtGui.QLabel(ABOUT_TEXT)
|
oliver@100
|
340 |
self.ui.lblAbout.setContentsMargins(16, 16, 16, 16)
|
oliver@100
|
341 |
self.ui.lblAbout.setStyleSheet(self.ui.scrAboutContent.styleSheet())
|
oliver@100
|
342 |
self.ui.scrAbout.setWidget(self.ui.lblAbout)
|
oliver@195
|
343 |
self.ui.edtLicense.setPlainText(LICENSE_TEXT)
|
oliver@100
|
344 |
|
oliver@100
|
345 |
# connectors
|
oliver@100
|
346 |
self.ui.btnOk.clicked.connect(self.accept)
|
oliver@144
|
347 |
self.ui.lblAbout.setText(ABOUT_TEXT % __version__)
|
oliver@100
|
348 |
|
oliver@100
|
349 |
|
oliver@100
|
350 |
if __name__ == "__main__":
|
oliver@113
|
351 |
a = QtGui.QApplication(sys.argv)
|
oliver@113
|
352 |
d = AboutDialog()
|
oliver@113
|
353 |
d.show()
|
oliver@113
|
354 |
sys.exit(a.exec_())
|
oliver@100
|
355 |
|