just starting
This commit is contained in:
5
help/.gitignore
vendored
Normal file
5
help/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
*.*~
|
||||
*.*-*
|
||||
*.*+*
|
||||
__pycache__
|
||||
__pycache__/*.*
|
||||
6
help/README.md
Normal file
6
help/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# to compile hush.qrc:
|
||||
make
|
||||
# to install compiled hush_respources.py
|
||||
make install
|
||||
|
||||
The latter installs hush_respources.py to the ../pyqrcc5 directory
|
||||
54
help/index.html
Executable file
54
help/index.html
Executable file
@@ -0,0 +1,54 @@
|
||||
<html><head><title>Time of Flight Measuement for Injector and Ring Cyclotron Turn Number Ascertainment, TINA</title></head>
|
||||
<body>
|
||||
|
||||
<h5 style="color:gray;">June 2024, Jan Chrin, Pierre-André Duperrex, Waldamar Koprek</h5>
|
||||
<h4> <span style="color: red;">T</span>ime of Flight Measurement for <span style="color: red;">I</span>njector and Ring Cyclotron Turn <span style="color: red;">N</span>umber <span style="color: red;">A</span>scertainment, <span style="color: red;">TINA</span></h4>
|
||||
<h2 style="color:blue;">About</h2>
|
||||
|
||||
|
||||
<p>The TINA application determines the number of turns in a cyclotron
|
||||
from a Time of Flight (TOF) measurement technique and a cross-correlation
|
||||
of fast sampled data from capacitive sensors located at the entrance and exit
|
||||
of the cycolotron. This is based on a python implementation of a LabVIEW application developed by
|
||||
Pierre-André Duperrex: <br>
|
||||
P.-A. Duperrex and A. Facchetti,
|
||||
Number of Turn Measurements on the HIPA Cyclotrons at PSI.<br>
|
||||
doi:10.18429/JACoW-IPAC2018-WEPAL067
|
||||
|
||||
|
||||
</p>
|
||||
<!--a href="page1.html">here</a></p-->
|
||||
|
||||
<h2 style="color:blue;">The Repository</h2>
|
||||
|
||||
<p>The application comprises two components:
|
||||
<ul>
|
||||
<li>
|
||||
The low-level ADC data acquisition system.<br>
|
||||
<span style="color: green;">https://git.psi.ch/epics_iocboot_hipa/.. to be completed</span><br>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
A High Level Application (HLA) that is able to interact with the IOC, start a low-level data acquistion run,
|
||||
acquire the raw data, and perform the number of terms analysis.<br>
|
||||
<span style="color: green;"> https://gitlab.psi.ch/hipa_apps4ops/tina</span><br>
|
||||
<span style="color: gray;"> /hipa/bd/applications/tina/latest/tina.sh</span>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 style="color:blue;">GUI, Control Tab</h2>
|
||||
Main panel for use by operators.
|
||||
<h3 style="color:#7b68ee;">Operator Panel</h3>
|
||||
|
||||
<h3 style="color:#7b68ee;">Expert Panel</h3>
|
||||
Selecting the Dry Run option disables setting values to epics process variables.
|
||||
|
||||
<h3 style="color:#7b68ee;">TINA Image</h3>
|
||||
<table>
|
||||
<tr><td>
|
||||
<img src=":Tina.jpg" width=90 height=90/> </td><td>
|
||||
Tina Turner</td>
|
||||
</table>
|
||||
<p>
|
||||
</p>
|
||||
|
||||
</body></html>
|
||||
2
help/make_and_install.sh
Executable file
2
help/make_and_install.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
make compile
|
||||
make install
|
||||
9
help/makefile
Normal file
9
help/makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
compile:
|
||||
pyrcc5 tina.qrc > tina_resources.py
|
||||
|
||||
install:
|
||||
if [ ! -f tina_resources.py ]; then echo "pyrcc5 compilation of resources.qrc failed"; fi
|
||||
if [ -f tina_resources.py -a -f ../pyrcc5/tina_resources.py-- ]; then cp ../pyrcc5/tina_resources.py-- ../pyrcc5/tina_resources.py---; fi
|
||||
if [ -f tina_resources.py -a -f ../pyrcc5/tina_resources.py- ]; then cp ../pyrcc5/tina_resources.py- ../pyrcc5/tina_resources.py--; fi
|
||||
if [ -f tina_resources.py -a -f ../pyrcc5/tina_resources.py ]; then cp ../pyrcc5/tina_resources.py ../pyrcc5/tina_resources.py-; fi
|
||||
if [ -f tina_resources.py ]; then cp tina_resources.py ../pyrcc5/tina_resources.py; fi
|
||||
9
help/makefile~
Normal file
9
help/makefile~
Normal file
@@ -0,0 +1,9 @@
|
||||
compile:
|
||||
pyrcc5 hush.qrc > hush_resources.py
|
||||
|
||||
install:
|
||||
if [ ! -f hush_resources.py ]; then echo "pyrcc5 compilation of resources.qrc failed"; fi
|
||||
if [ -f hush_resources.py -a -f ../pyrcc5/hush_resources.py-- ]; then cp ../pyrcc5/hush_resources.py-- ../pyrcc5/hush_resources.py---; fi
|
||||
if [ -f hush_resources.py -a -f ../pyrcc5/hush_resources.py- ]; then cp ../pyrcc5/hush_resources.py- ../pyrcc5/hush_resources.py--; fi
|
||||
if [ -f hush_resources.py -a -f ../pyrcc5/hush_resources.py ]; then cp ../pyrcc5/hush_resources.py ../pyrcc5/hush_resources.py-; fi
|
||||
if [ -f hush_resources.py ]; then cp hush_resources.py ../pyrcc5/hush_resources.py; fi
|
||||
7
help/page1.html
Executable file
7
help/page1.html
Executable file
@@ -0,0 +1,7 @@
|
||||
<html><head><title>Web Help</title></head>
|
||||
<body>
|
||||
|
||||
<p><b>Page 1 of web help</b></p>
|
||||
<p> <a href="page2.html"> Next</a></p>
|
||||
<p><b>etc...</b> etc...</p>
|
||||
</body></html>
|
||||
7
help/page2.html
Executable file
7
help/page2.html
Executable file
@@ -0,0 +1,7 @@
|
||||
<html><head><title>Web Help</title></head>
|
||||
<body>
|
||||
|
||||
<p><b>Page 2 of web help</b></p>
|
||||
<p> <a href="page3.html"> Next</a></p>
|
||||
<p><b>etc...</b> etc...</p>
|
||||
</body></html>
|
||||
7
help/page3.html
Executable file
7
help/page3.html
Executable file
@@ -0,0 +1,7 @@
|
||||
<html><head><title>Web Help</title></head>
|
||||
<body>
|
||||
|
||||
<p><b>Page 3 of web help</b></p>
|
||||
<p> <a href="page4.html"> Next</a></p>
|
||||
<p><b>etc...</b> etc...</p>
|
||||
</body></html>
|
||||
7
help/page4.html
Executable file
7
help/page4.html
Executable file
@@ -0,0 +1,7 @@
|
||||
<html><head><title>Web Help</title></head>
|
||||
<body>
|
||||
|
||||
<p><b>Page 4 of web help</b></p>
|
||||
<p> <a href="page5.html"> Next</a></p>
|
||||
<p><b>etc...</b> etc...</p>
|
||||
</body></html>
|
||||
7
help/page5.html
Executable file
7
help/page5.html
Executable file
@@ -0,0 +1,7 @@
|
||||
<html><head><title>Web Help</title></head>
|
||||
<body>
|
||||
|
||||
<p><b>Page 5 of web help</b></p>
|
||||
|
||||
<p><b>etc...</b> etc...</p>
|
||||
</body></html>
|
||||
10
help/tina.qrc
Normal file
10
help/tina.qrc
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>page5.html</file>
|
||||
<file>page4.html</file>
|
||||
<file>page3.html</file>
|
||||
<file>page2.html</file>
|
||||
<file>page1.html</file>
|
||||
<file>index.html</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
282
help/tina_resources.py
Normal file
282
help/tina_resources.py
Normal file
@@ -0,0 +1,282 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Resource object code
|
||||
#
|
||||
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.3)
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
from PyQt5 import QtCore
|
||||
|
||||
qt_resource_data = b"\
|
||||
\x00\x00\x00\xa7\
|
||||
\x3c\
|
||||
\x68\x74\x6d\x6c\x3e\x3c\x68\x65\x61\x64\x3e\x3c\x74\x69\x74\x6c\
|
||||
\x65\x3e\x57\x65\x62\x20\x48\x65\x6c\x70\x3c\x2f\x74\x69\x74\x6c\
|
||||
\x65\x3e\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\x3e\
|
||||
\x0a\x0a\x3c\x70\x3e\x3c\x62\x3e\x50\x61\x67\x65\x20\x33\x20\x6f\
|
||||
\x66\x20\x77\x65\x62\x20\x68\x65\x6c\x70\x3c\x2f\x62\x3e\x3c\x2f\
|
||||
\x70\x3e\x0a\x3c\x70\x3e\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\
|
||||
\x22\x70\x61\x67\x65\x34\x2e\x68\x74\x6d\x6c\x22\x3e\x20\x4e\x65\
|
||||
\x78\x74\x3c\x2f\x61\x3e\x3c\x2f\x70\x3e\x0a\x3c\x70\x3e\x3c\x62\
|
||||
\x3e\x65\x74\x63\x2e\x2e\x2e\x3c\x2f\x62\x3e\x20\x65\x74\x63\x2e\
|
||||
\x2e\x2e\x3c\x2f\x70\x3e\x0a\x3c\x2f\x62\x6f\x64\x79\x3e\x3c\x2f\
|
||||
\x68\x74\x6d\x6c\x3e\x0a\
|
||||
\x00\x00\x00\xa7\
|
||||
\x3c\
|
||||
\x68\x74\x6d\x6c\x3e\x3c\x68\x65\x61\x64\x3e\x3c\x74\x69\x74\x6c\
|
||||
\x65\x3e\x57\x65\x62\x20\x48\x65\x6c\x70\x3c\x2f\x74\x69\x74\x6c\
|
||||
\x65\x3e\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\x3e\
|
||||
\x0a\x0a\x3c\x70\x3e\x3c\x62\x3e\x50\x61\x67\x65\x20\x31\x20\x6f\
|
||||
\x66\x20\x77\x65\x62\x20\x68\x65\x6c\x70\x3c\x2f\x62\x3e\x3c\x2f\
|
||||
\x70\x3e\x0a\x3c\x70\x3e\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\
|
||||
\x22\x70\x61\x67\x65\x32\x2e\x68\x74\x6d\x6c\x22\x3e\x20\x4e\x65\
|
||||
\x78\x74\x3c\x2f\x61\x3e\x3c\x2f\x70\x3e\x0a\x3c\x70\x3e\x3c\x62\
|
||||
\x3e\x65\x74\x63\x2e\x2e\x2e\x3c\x2f\x62\x3e\x20\x65\x74\x63\x2e\
|
||||
\x2e\x2e\x3c\x2f\x70\x3e\x0a\x3c\x2f\x62\x6f\x64\x79\x3e\x3c\x2f\
|
||||
\x68\x74\x6d\x6c\x3e\x0a\
|
||||
\x00\x00\x08\x77\
|
||||
\x3c\
|
||||
\x68\x74\x6d\x6c\x3e\x3c\x68\x65\x61\x64\x3e\x3c\x74\x69\x74\x6c\
|
||||
\x65\x3e\x54\x69\x6d\x65\x20\x6f\x66\x20\x46\x6c\x69\x67\x68\x74\
|
||||
\x20\x4d\x65\x61\x73\x75\x65\x6d\x65\x6e\x74\x20\x66\x6f\x72\x20\
|
||||
\x49\x6e\x6a\x65\x63\x74\x6f\x72\x20\x61\x6e\x64\x20\x52\x69\x6e\
|
||||
\x67\x20\x43\x79\x63\x6c\x6f\x74\x72\x6f\x6e\x20\x54\x75\x72\x6e\
|
||||
\x20\x4e\x75\x6d\x62\x65\x72\x20\x41\x73\x63\x65\x72\x74\x61\x69\
|
||||
\x6e\x6d\x65\x6e\x74\x2c\x20\x54\x49\x4e\x41\x3c\x2f\x74\x69\x74\
|
||||
\x6c\x65\x3e\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\
|
||||
\x3e\x0a\x0a\x3c\x68\x35\x20\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\
|
||||
\x6f\x6c\x6f\x72\x3a\x67\x72\x61\x79\x3b\x22\x3e\x4a\x75\x6e\x65\
|
||||
\x20\x32\x30\x32\x34\x2c\x20\x4a\x61\x6e\x20\x43\x68\x72\x69\x6e\
|
||||
\x2c\x20\x50\x69\x65\x72\x72\x65\x2d\x41\x6e\x64\x72\x26\x65\x61\
|
||||
\x63\x75\x74\x65\x3b\x20\x44\x75\x70\x65\x72\x72\x65\x78\x2c\x20\
|
||||
\x57\x61\x6c\x64\x61\x6d\x61\x72\x20\x4b\x6f\x70\x72\x65\x6b\x3c\
|
||||
\x2f\x68\x35\x3e\x0a\x3c\x68\x34\x3e\x20\x3c\x73\x70\x61\x6e\x20\
|
||||
\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\x20\x72\x65\
|
||||
\x64\x3b\x22\x3e\x54\x3c\x2f\x73\x70\x61\x6e\x3e\x69\x6d\x65\x20\
|
||||
\x6f\x66\x20\x46\x6c\x69\x67\x68\x74\x20\x4d\x65\x61\x73\x75\x72\
|
||||
\x65\x6d\x65\x6e\x74\x20\x66\x6f\x72\x20\x3c\x73\x70\x61\x6e\x20\
|
||||
\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\x20\x72\x65\
|
||||
\x64\x3b\x22\x3e\x49\x3c\x2f\x73\x70\x61\x6e\x3e\x6e\x6a\x65\x63\
|
||||
\x74\x6f\x72\x20\x61\x6e\x64\x20\x52\x69\x6e\x67\x20\x43\x79\x63\
|
||||
\x6c\x6f\x74\x72\x6f\x6e\x20\x54\x75\x72\x6e\x20\x3c\x73\x70\x61\
|
||||
\x6e\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\x20\
|
||||
\x72\x65\x64\x3b\x22\x3e\x4e\x3c\x2f\x73\x70\x61\x6e\x3e\x75\x6d\
|
||||
\x62\x65\x72\x20\x3c\x73\x70\x61\x6e\x20\x73\x74\x79\x6c\x65\x3d\
|
||||
\x22\x63\x6f\x6c\x6f\x72\x3a\x20\x72\x65\x64\x3b\x22\x3e\x41\x3c\
|
||||
\x2f\x73\x70\x61\x6e\x3e\x73\x63\x65\x72\x74\x61\x69\x6e\x6d\x65\
|
||||
\x6e\x74\x2c\x20\x3c\x73\x70\x61\x6e\x20\x73\x74\x79\x6c\x65\x3d\
|
||||
\x22\x63\x6f\x6c\x6f\x72\x3a\x20\x72\x65\x64\x3b\x22\x3e\x54\x49\
|
||||
\x4e\x41\x3c\x2f\x73\x70\x61\x6e\x3e\x3c\x2f\x68\x34\x3e\x0a\x3c\
|
||||
\x68\x32\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\
|
||||
\x62\x6c\x75\x65\x3b\x22\x3e\x41\x62\x6f\x75\x74\x3c\x2f\x68\x32\
|
||||
\x3e\x0a\x0a\x0a\x3c\x70\x3e\x54\x68\x65\x20\x54\x49\x4e\x41\x20\
|
||||
\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x20\x64\x65\x74\x65\
|
||||
\x72\x6d\x69\x6e\x65\x73\x20\x74\x68\x65\x20\x6e\x75\x6d\x62\x65\
|
||||
\x72\x20\x6f\x66\x20\x74\x75\x72\x6e\x73\x20\x69\x6e\x20\x61\x20\
|
||||
\x63\x79\x63\x6c\x6f\x74\x72\x6f\x6e\x0a\x66\x72\x6f\x6d\x20\x61\
|
||||
\x20\x54\x69\x6d\x65\x20\x6f\x66\x20\x46\x6c\x69\x67\x68\x74\x20\
|
||||
\x28\x54\x4f\x46\x29\x20\x6d\x65\x61\x73\x75\x72\x65\x6d\x65\x6e\
|
||||
\x74\x20\x74\x65\x63\x68\x6e\x69\x71\x75\x65\x20\x61\x6e\x64\x20\
|
||||
\x61\x20\x63\x72\x6f\x73\x73\x2d\x63\x6f\x72\x72\x65\x6c\x61\x74\
|
||||
\x69\x6f\x6e\x0a\x6f\x66\x20\x66\x61\x73\x74\x20\x73\x61\x6d\x70\
|
||||
\x6c\x65\x64\x20\x64\x61\x74\x61\x20\x66\x72\x6f\x6d\x20\x63\x61\
|
||||
\x70\x61\x63\x69\x74\x69\x76\x65\x20\x73\x65\x6e\x73\x6f\x72\x73\
|
||||
\x20\x6c\x6f\x63\x61\x74\x65\x64\x20\x61\x74\x20\x74\x68\x65\x20\
|
||||
\x65\x6e\x74\x72\x61\x6e\x63\x65\x20\x61\x6e\x64\x20\x65\x78\x69\
|
||||
\x74\x0a\x6f\x66\x20\x74\x68\x65\x20\x63\x79\x63\x6f\x6c\x6f\x74\
|
||||
\x72\x6f\x6e\x2e\x20\x54\x68\x69\x73\x20\x69\x73\x20\x62\x61\x73\
|
||||
\x65\x64\x20\x6f\x6e\x20\x61\x20\x70\x79\x74\x68\x6f\x6e\x20\x69\
|
||||
\x6d\x70\x6c\x65\x6d\x65\x6e\x74\x61\x74\x69\x6f\x6e\x20\x6f\x66\
|
||||
\x20\x61\x20\x4c\x61\x62\x56\x49\x45\x57\x20\x61\x70\x70\x6c\x69\
|
||||
\x63\x61\x74\x69\x6f\x6e\x20\x64\x65\x76\x65\x6c\x6f\x70\x65\x64\
|
||||
\x20\x62\x79\x0a\x50\x69\x65\x72\x72\x65\x2d\x41\x6e\x64\x72\x26\
|
||||
\x65\x61\x63\x75\x74\x65\x3b\x20\x44\x75\x70\x65\x72\x72\x65\x78\
|
||||
\x3a\x20\x20\x3c\x62\x72\x3e\x0a\x50\x2e\x2d\x41\x2e\x20\x44\x75\
|
||||
\x70\x65\x72\x72\x65\x78\x20\x61\x6e\x64\x20\x41\x2e\x20\x46\x61\
|
||||
\x63\x63\x68\x65\x74\x74\x69\x2c\x20\x0a\x4e\x75\x6d\x62\x65\x72\
|
||||
\x20\x6f\x66\x20\x54\x75\x72\x6e\x20\x4d\x65\x61\x73\x75\x72\x65\
|
||||
\x6d\x65\x6e\x74\x73\x20\x6f\x6e\x20\x74\x68\x65\x20\x48\x49\x50\
|
||||
\x41\x20\x43\x79\x63\x6c\x6f\x74\x72\x6f\x6e\x73\x20\x61\x74\x20\
|
||||
\x50\x53\x49\x2e\x3c\x62\x72\x3e\x0a\x64\x6f\x69\x3a\x31\x30\x2e\
|
||||
\x31\x38\x34\x32\x39\x2f\x4a\x41\x43\x6f\x57\x2d\x49\x50\x41\x43\
|
||||
\x32\x30\x31\x38\x2d\x57\x45\x50\x41\x4c\x30\x36\x37\x20\x0a\x0a\
|
||||
\x20\x20\x0a\x20\x20\x3c\x2f\x70\x3e\x0a\x3c\x21\x2d\x2d\x61\x20\
|
||||
\x68\x72\x65\x66\x3d\x22\x70\x61\x67\x65\x31\x2e\x68\x74\x6d\x6c\
|
||||
\x22\x3e\x68\x65\x72\x65\x3c\x2f\x61\x3e\x3c\x2f\x70\x2d\x2d\x3e\
|
||||
\x0a\x0a\x3c\x68\x32\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\
|
||||
\x6f\x72\x3a\x62\x6c\x75\x65\x3b\x22\x3e\x54\x68\x65\x20\x52\x65\
|
||||
\x70\x6f\x73\x69\x74\x6f\x72\x79\x3c\x2f\x68\x32\x3e\x0a\x0a\x3c\
|
||||
\x70\x3e\x54\x68\x65\x20\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\
|
||||
\x6e\x20\x63\x6f\x6d\x70\x72\x69\x73\x65\x73\x20\x74\x77\x6f\x20\
|
||||
\x63\x6f\x6d\x70\x6f\x6e\x65\x6e\x74\x73\x3a\x0a\x20\x20\x3c\x75\
|
||||
\x6c\x3e\x0a\x3c\x6c\x69\x3e\x0a\x20\x20\x54\x68\x65\x20\x6c\x6f\
|
||||
\x77\x2d\x6c\x65\x76\x65\x6c\x20\x41\x44\x43\x20\x64\x61\x74\x61\
|
||||
\x20\x61\x63\x71\x75\x69\x73\x69\x74\x69\x6f\x6e\x20\x73\x79\x73\
|
||||
\x74\x65\x6d\x2e\x3c\x62\x72\x3e\x0a\x20\x20\x3c\x73\x70\x61\x6e\
|
||||
\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\x20\x67\
|
||||
\x72\x65\x65\x6e\x3b\x22\x3e\x68\x74\x74\x70\x73\x3a\x2f\x2f\x67\
|
||||
\x69\x74\x2e\x70\x73\x69\x2e\x63\x68\x2f\x65\x70\x69\x63\x73\x5f\
|
||||
\x69\x6f\x63\x62\x6f\x6f\x74\x5f\x68\x69\x70\x61\x2f\x2e\x2e\x20\
|
||||
\x74\x6f\x20\x62\x65\x20\x63\x6f\x6d\x70\x6c\x65\x74\x65\x64\x3c\
|
||||
\x2f\x73\x70\x61\x6e\x3e\x3c\x62\x72\x3e\x0a\x20\x0a\x20\x3c\x2f\
|
||||
\x6c\x69\x3e\x0a\x20\x20\x3c\x6c\x69\x3e\x0a\x20\x20\x20\x20\x41\
|
||||
\x20\x48\x69\x67\x68\x20\x4c\x65\x76\x65\x6c\x20\x41\x70\x70\x6c\
|
||||
\x69\x63\x61\x74\x69\x6f\x6e\x20\x28\x48\x4c\x41\x29\x20\x74\x68\
|
||||
\x61\x74\x20\x69\x73\x20\x61\x62\x6c\x65\x20\x74\x6f\x20\x69\x6e\
|
||||
\x74\x65\x72\x61\x63\x74\x20\x77\x69\x74\x68\x20\x74\x68\x65\x20\
|
||||
\x49\x4f\x43\x2c\x20\x73\x74\x61\x72\x74\x20\x61\x20\x6c\x6f\x77\
|
||||
\x2d\x6c\x65\x76\x65\x6c\x20\x64\x61\x74\x61\x20\x61\x63\x71\x75\
|
||||
\x69\x73\x74\x69\x6f\x6e\x20\x72\x75\x6e\x2c\x0a\x20\x20\x20\x20\
|
||||
\x61\x63\x71\x75\x69\x72\x65\x20\x74\x68\x65\x20\x72\x61\x77\x20\
|
||||
\x64\x61\x74\x61\x2c\x20\x61\x6e\x64\x20\x70\x65\x72\x66\x6f\x72\
|
||||
\x6d\x20\x74\x68\x65\x20\x6e\x75\x6d\x62\x65\x72\x20\x6f\x66\x20\
|
||||
\x74\x65\x72\x6d\x73\x20\x61\x6e\x61\x6c\x79\x73\x69\x73\x2e\x3c\
|
||||
\x62\x72\x3e\x0a\x20\x20\x20\x20\x3c\x73\x70\x61\x6e\x20\x73\x74\
|
||||
\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\x20\x67\x72\x65\x65\
|
||||
\x6e\x3b\x22\x3e\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x67\x69\x74\
|
||||
\x6c\x61\x62\x2e\x70\x73\x69\x2e\x63\x68\x2f\x68\x69\x70\x61\x5f\
|
||||
\x61\x70\x70\x73\x34\x6f\x70\x73\x2f\x74\x69\x6e\x61\x3c\x2f\x73\
|
||||
\x70\x61\x6e\x3e\x3c\x62\x72\x3e\x0a\x20\x20\x20\x20\x3c\x73\x70\
|
||||
\x61\x6e\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\
|
||||
\x20\x67\x72\x61\x79\x3b\x22\x3e\x20\x2f\x68\x69\x70\x61\x2f\x62\
|
||||
\x64\x2f\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x73\x2f\x74\
|
||||
\x69\x6e\x61\x2f\x6c\x61\x74\x65\x73\x74\x2f\x74\x69\x6e\x61\x2e\
|
||||
\x73\x68\x3c\x2f\x73\x70\x61\x6e\x3e\x0a\x20\x20\x20\x20\x3c\x2f\
|
||||
\x6c\x69\x3e\x0a\x3c\x2f\x75\x6c\x3e\x0a\x20\x20\x3c\x68\x32\x20\
|
||||
\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\x62\x6c\x75\
|
||||
\x65\x3b\x22\x3e\x47\x55\x49\x2c\x20\x43\x6f\x6e\x74\x72\x6f\x6c\
|
||||
\x20\x54\x61\x62\x3c\x2f\x68\x32\x3e\x0a\x20\x20\x4d\x61\x69\x6e\
|
||||
\x20\x70\x61\x6e\x65\x6c\x20\x66\x6f\x72\x20\x75\x73\x65\x20\x62\
|
||||
\x79\x20\x6f\x70\x65\x72\x61\x74\x6f\x72\x73\x2e\x20\x0a\x20\x20\
|
||||
\x3c\x68\x33\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\
|
||||
\x3a\x23\x37\x62\x36\x38\x65\x65\x3b\x22\x3e\x4f\x70\x65\x72\x61\
|
||||
\x74\x6f\x72\x20\x50\x61\x6e\x65\x6c\x3c\x2f\x68\x33\x3e\x0a\x20\
|
||||
\x0a\x20\x20\x3c\x68\x33\x20\x73\x74\x79\x6c\x65\x3d\x22\x63\x6f\
|
||||
\x6c\x6f\x72\x3a\x23\x37\x62\x36\x38\x65\x65\x3b\x22\x3e\x45\x78\
|
||||
\x70\x65\x72\x74\x20\x50\x61\x6e\x65\x6c\x3c\x2f\x68\x33\x3e\x0a\
|
||||
\x20\x20\x53\x65\x6c\x65\x63\x74\x69\x6e\x67\x20\x74\x68\x65\x20\
|
||||
\x44\x72\x79\x20\x52\x75\x6e\x20\x6f\x70\x74\x69\x6f\x6e\x20\x64\
|
||||
\x69\x73\x61\x62\x6c\x65\x73\x20\x73\x65\x74\x74\x69\x6e\x67\x20\
|
||||
\x76\x61\x6c\x75\x65\x73\x20\x74\x6f\x20\x65\x70\x69\x63\x73\x20\
|
||||
\x70\x72\x6f\x63\x65\x73\x73\x20\x76\x61\x72\x69\x61\x62\x6c\x65\
|
||||
\x73\x2e\x0a\x20\x20\x0a\x20\x20\x20\x3c\x68\x33\x20\x73\x74\x79\
|
||||
\x6c\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\x23\x37\x62\x36\x38\x65\
|
||||
\x65\x3b\x22\x3e\x54\x49\x4e\x41\x20\x49\x6d\x61\x67\x65\x3c\x2f\
|
||||
\x68\x33\x3e\x0a\x20\x20\x20\x3c\x74\x61\x62\x6c\x65\x3e\x0a\x20\
|
||||
\x20\x20\x20\x20\x3c\x74\x72\x3e\x3c\x74\x64\x3e\x0a\x20\x20\x20\
|
||||
\x3c\x69\x6d\x67\x20\x73\x72\x63\x3d\x22\x3a\x54\x69\x6e\x61\x2e\
|
||||
\x6a\x70\x67\x22\x20\x77\x69\x64\x74\x68\x3d\x39\x30\x20\x68\x65\
|
||||
\x69\x67\x68\x74\x3d\x39\x30\x2f\x3e\x20\x26\x6e\x62\x73\x70\x3b\
|
||||
\x20\x3c\x2f\x74\x64\x3e\x3c\x74\x64\x3e\x0a\x20\x20\x20\x54\x69\
|
||||
\x6e\x61\x20\x54\x75\x72\x6e\x65\x72\x3c\x2f\x74\x64\x3e\x0a\x20\
|
||||
\x20\x20\x3c\x2f\x74\x61\x62\x6c\x65\x3e\x0a\x3c\x70\x3e\x0a\x3c\
|
||||
\x2f\x70\x3e\x0a\x20\x20\x0a\x3c\x2f\x62\x6f\x64\x79\x3e\x3c\x2f\
|
||||
\x68\x74\x6d\x6c\x3e\x0a\
|
||||
\x00\x00\x00\xa7\
|
||||
\x3c\
|
||||
\x68\x74\x6d\x6c\x3e\x3c\x68\x65\x61\x64\x3e\x3c\x74\x69\x74\x6c\
|
||||
\x65\x3e\x57\x65\x62\x20\x48\x65\x6c\x70\x3c\x2f\x74\x69\x74\x6c\
|
||||
\x65\x3e\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\x3e\
|
||||
\x0a\x0a\x3c\x70\x3e\x3c\x62\x3e\x50\x61\x67\x65\x20\x34\x20\x6f\
|
||||
\x66\x20\x77\x65\x62\x20\x68\x65\x6c\x70\x3c\x2f\x62\x3e\x3c\x2f\
|
||||
\x70\x3e\x0a\x3c\x70\x3e\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\
|
||||
\x22\x70\x61\x67\x65\x35\x2e\x68\x74\x6d\x6c\x22\x3e\x20\x4e\x65\
|
||||
\x78\x74\x3c\x2f\x61\x3e\x3c\x2f\x70\x3e\x0a\x3c\x70\x3e\x3c\x62\
|
||||
\x3e\x65\x74\x63\x2e\x2e\x2e\x3c\x2f\x62\x3e\x20\x65\x74\x63\x2e\
|
||||
\x2e\x2e\x3c\x2f\x70\x3e\x0a\x3c\x2f\x62\x6f\x64\x79\x3e\x3c\x2f\
|
||||
\x68\x74\x6d\x6c\x3e\x0a\
|
||||
\x00\x00\x00\xa7\
|
||||
\x3c\
|
||||
\x68\x74\x6d\x6c\x3e\x3c\x68\x65\x61\x64\x3e\x3c\x74\x69\x74\x6c\
|
||||
\x65\x3e\x57\x65\x62\x20\x48\x65\x6c\x70\x3c\x2f\x74\x69\x74\x6c\
|
||||
\x65\x3e\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\x3e\
|
||||
\x0a\x0a\x3c\x70\x3e\x3c\x62\x3e\x50\x61\x67\x65\x20\x32\x20\x6f\
|
||||
\x66\x20\x77\x65\x62\x20\x68\x65\x6c\x70\x3c\x2f\x62\x3e\x3c\x2f\
|
||||
\x70\x3e\x0a\x3c\x70\x3e\x20\x20\x3c\x61\x20\x68\x72\x65\x66\x3d\
|
||||
\x22\x70\x61\x67\x65\x33\x2e\x68\x74\x6d\x6c\x22\x3e\x20\x4e\x65\
|
||||
\x78\x74\x3c\x2f\x61\x3e\x3c\x2f\x70\x3e\x0a\x3c\x70\x3e\x3c\x62\
|
||||
\x3e\x65\x74\x63\x2e\x2e\x2e\x3c\x2f\x62\x3e\x20\x65\x74\x63\x2e\
|
||||
\x2e\x2e\x3c\x2f\x70\x3e\x0a\x3c\x2f\x62\x6f\x64\x79\x3e\x3c\x2f\
|
||||
\x68\x74\x6d\x6c\x3e\x0a\
|
||||
\x00\x00\x00\x80\
|
||||
\x3c\
|
||||
\x68\x74\x6d\x6c\x3e\x3c\x68\x65\x61\x64\x3e\x3c\x74\x69\x74\x6c\
|
||||
\x65\x3e\x57\x65\x62\x20\x48\x65\x6c\x70\x3c\x2f\x74\x69\x74\x6c\
|
||||
\x65\x3e\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\x3e\
|
||||
\x0a\x0a\x3c\x70\x3e\x3c\x62\x3e\x50\x61\x67\x65\x20\x35\x20\x6f\
|
||||
\x66\x20\x77\x65\x62\x20\x68\x65\x6c\x70\x3c\x2f\x62\x3e\x3c\x2f\
|
||||
\x70\x3e\x0a\x0a\x3c\x70\x3e\x3c\x62\x3e\x65\x74\x63\x2e\x2e\x2e\
|
||||
\x3c\x2f\x62\x3e\x20\x65\x74\x63\x2e\x2e\x2e\x3c\x2f\x70\x3e\x0a\
|
||||
\x3c\x2f\x62\x6f\x64\x79\x3e\x3c\x2f\x68\x74\x6d\x6c\x3e\x0a\
|
||||
"
|
||||
|
||||
qt_resource_name = b"\
|
||||
\x00\x0a\
|
||||
\x08\x6a\x34\x9c\
|
||||
\x00\x70\
|
||||
\x00\x61\x00\x67\x00\x65\x00\x33\x00\x2e\x00\x68\x00\x74\x00\x6d\x00\x6c\
|
||||
\x00\x0a\
|
||||
\x08\x4a\x34\x9c\
|
||||
\x00\x70\
|
||||
\x00\x61\x00\x67\x00\x65\x00\x31\x00\x2e\x00\x68\x00\x74\x00\x6d\x00\x6c\
|
||||
\x00\x0a\
|
||||
\x0c\xba\xf2\x7c\
|
||||
\x00\x69\
|
||||
\x00\x6e\x00\x64\x00\x65\x00\x78\x00\x2e\x00\x68\x00\x74\x00\x6d\x00\x6c\
|
||||
\x00\x0a\
|
||||
\x08\x7a\x34\x9c\
|
||||
\x00\x70\
|
||||
\x00\x61\x00\x67\x00\x65\x00\x34\x00\x2e\x00\x68\x00\x74\x00\x6d\x00\x6c\
|
||||
\x00\x0a\
|
||||
\x08\x5a\x34\x9c\
|
||||
\x00\x70\
|
||||
\x00\x61\x00\x67\x00\x65\x00\x32\x00\x2e\x00\x68\x00\x74\x00\x6d\x00\x6c\
|
||||
\x00\x0a\
|
||||
\x08\x8a\x34\x9c\
|
||||
\x00\x70\
|
||||
\x00\x61\x00\x67\x00\x65\x00\x35\x00\x2e\x00\x68\x00\x74\x00\x6d\x00\x6c\
|
||||
"
|
||||
|
||||
qt_resource_struct_v1 = b"\
|
||||
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x06\x00\x00\x00\x01\
|
||||
\x00\x00\x00\x1a\x00\x00\x00\x00\x00\x01\x00\x00\x00\xab\
|
||||
\x00\x00\x00\x68\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x7c\
|
||||
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
|
||||
\x00\x00\x00\x4e\x00\x00\x00\x00\x00\x01\x00\x00\x09\xd1\
|
||||
\x00\x00\x00\x82\x00\x00\x00\x00\x00\x01\x00\x00\x0b\x27\
|
||||
\x00\x00\x00\x34\x00\x00\x00\x00\x00\x01\x00\x00\x01\x56\
|
||||
"
|
||||
|
||||
qt_resource_struct_v2 = b"\
|
||||
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x06\x00\x00\x00\x01\
|
||||
\x00\x00\x00\x00\x00\x00\x00\x00\
|
||||
\x00\x00\x00\x1a\x00\x00\x00\x00\x00\x01\x00\x00\x00\xab\
|
||||
\x00\x00\x01\x90\x02\x81\x83\xdc\
|
||||
\x00\x00\x00\x68\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x7c\
|
||||
\x00\x00\x01\x90\x02\x81\x83\xe0\
|
||||
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
|
||||
\x00\x00\x01\x90\x02\x81\x83\xed\
|
||||
\x00\x00\x00\x4e\x00\x00\x00\x00\x00\x01\x00\x00\x09\xd1\
|
||||
\x00\x00\x01\x90\x02\x81\x83\xff\
|
||||
\x00\x00\x00\x82\x00\x00\x00\x00\x00\x01\x00\x00\x0b\x27\
|
||||
\x00\x00\x01\x90\x02\x81\x84\x13\
|
||||
\x00\x00\x00\x34\x00\x00\x00\x00\x00\x01\x00\x00\x01\x56\
|
||||
\x00\x00\x01\x90\x07\x0e\x46\x39\
|
||||
"
|
||||
|
||||
qt_version = [int(v) for v in QtCore.qVersion().split('.')]
|
||||
if qt_version < [5, 8, 0]:
|
||||
rcc_version = 1
|
||||
qt_resource_struct = qt_resource_struct_v1
|
||||
else:
|
||||
rcc_version = 2
|
||||
qt_resource_struct = qt_resource_struct_v2
|
||||
|
||||
def qInitResources():
|
||||
QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
|
||||
|
||||
def qCleanupResources():
|
||||
QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
|
||||
|
||||
qInitResources()
|
||||
Reference in New Issue
Block a user