Browse Source

Add timeline for jack transport above an open session

tags/v0.3.0
Nils 2 months ago
parent
commit
5ce6c5cff3
14 changed files with 3046 additions and 128 deletions
  1. +2
    -1
      CHANGELOG
  2. +11
    -0
      engine/api.py
  3. +91
    -0
      engine/jackclient.py
  4. +280
    -0
      engine/jacklib/COPYING
  5. +76
    -0
      engine/jacklib/README.md
  6. +2
    -0
      engine/jacklib/__init__.py
  7. +1951
    -0
      engine/jacklib/api.py
  8. +123
    -0
      engine/jacklib/helpers.py
  9. +1
    -0
      engine/jacklib/version.py
  10. +26
    -1
      qtgui/designer/mainwindow.py
  11. +47
    -1
      qtgui/designer/mainwindow.ui
  12. +101
    -0
      qtgui/jacktransport.py
  13. +7
    -0
      qtgui/mainwindow.py
  14. +328
    -125
      qtgui/resources.py

+ 2
- 1
CHANGELOG View File

@@ -1,11 +1,12 @@
2021-07-08 Version 0.3
Remove "Quick" mode. As it turns out "Full" mode is quick enough. Port convenience features to full mode.
Add button in session chooser for alternative access to context menu options
Add a timeline above running session to show global jack transport position. Also add controls to set the position.
Add normal "Save" to tray icon.
Add file integrity check after copying a session
Add progress updates to copy-session.
Submenu in tray icon to toggle visibility of individual clients (if supported)
Double click on a crashed clients opens it again. This was intentional so far, because a crash is special. But it will be fine...
Double click on a crashed clients opens it again.
More programs and icons added to the internal database.
Fix a rare crash where the hostname must be case sensitive.


+ 11
- 0
engine/api.py View File

@@ -26,9 +26,12 @@ import logging; logger = logging.getLogger(__name__); logger.info("import")
import datetime


#Third Party

#Our Modules
from engine.start import PATHS
from engine.config import METADATA #includes METADATA only. No other environmental setup is executed.
from engine.jackclient import AgordejoJackClient

from .nsmservercontrol import NsmServerControl
from .watcher import Watcher
@@ -46,6 +49,8 @@ class Callbacks(object):
Or whatever parallel representations we run."""

def __init__(self):
global jackClient

self.message = []

#Session Management
@@ -60,6 +65,10 @@ class Callbacks(object):
self.dataClientNamesChanged = []
self.dataClientDescriptionChanged = []

#JackClient Callbacks. For the GUI they are mirrored here. These are mutable, shared lists.
#The callback functions are in jackClient directly and api functions can call them.
self.setPlaybackSeconds = jackClient.callback_setPlaybackSeconds

def _dataClientNamesChanged(self, data):
"""If there is a dataclient in the session it will allow us to read and write metadata.
The GUI instructs us to send a write instruction over OSC, we wait for the OSC answer
@@ -171,6 +180,7 @@ def startEngine():

#Start Event Loop Processing
eventLoop.fastConnect(nsmServerControl.process)
eventLoop.fastConnect(jackClient._setPlaybackSeconds)
eventLoop.slowConnect(nsmServerControl.processSingleInstance)

#Send initial data
@@ -388,4 +398,5 @@ def executableInSession(executable:str)->dict:
nsmServerControl = None
eventLoop = None
sessionWatcher = None
jackClient = AgordejoJackClient() #Create before callbacks
callbacks = Callbacks() #This needs to be defined before startEngine() so a GUI can register its callbacks. The UI will then startEngine and wait to reveice the initial round of callbacks

+ 91
- 0
engine/jackclient.py View File

@@ -0,0 +1,91 @@
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright 2021, Nils Hilbricht, Germany ( https://www.hilbricht.net )

This file is part of the Laborejo Software Suite ( https://www.laborejo.org ),

This is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

import logging; logger = logging.getLogger(__name__); logger.info("import")

#Standard Library
import atexit
import sys

#Third Party
import engine.jacklib as jacklib
from ctypes import pointer

#Our Modules
from engine.config import METADATA #includes METADATA only. No other environmental setup is executed.
from engine.jacklib.helpers import get_jack_status_error_string

class AgordejoJackClient(object):
"""Singleton. Created in api.startEngine.
If client cannot be started the program will exit from here.
Most error sources are already ruled out in start.py."""

def __init__(self):
status = jacklib.jack_status_t()
self._jacklibClient = jacklib.client_open(METADATA["name"], jacklib.JackNoStartServer, status)
err = get_jack_status_error_string(status)

if not status.value == 0:
#Decide if a name collision is important or not. Agordejo cannot be started two times anyway. So this would be another client called Agordejo?
if status.value & jacklib.JackNameNotUnique:
logger.warning(f"Another JACK client called {METADATA['name']} exist. We will rename ourselve, but this is most likely a real problem. Agordejo is not supposed to be started twice. Please investigate!")
else:
logger.error("JackClient error: " + status.value)
sys.exit(0) #atexit will trigger

atexit.register(lambda c=self._jacklibClient: jacklib.client_close(c))

#Callbacks. They are mirrored by the api Callbacks without the callback_ prefix so a GUI can directly access them.
#However, they are mutable lists. And we define all actual callback-sender here. the api calls them via our Object/Instance
self.callback_setPlaybackSeconds = []

def _setPlaybackSeconds(self):
"""Added to the fast event loop. Therefore called VERY often.
Yes, this is not a super accurate function because while we iterate transport already progresses"""
pos = jacklib.jack_position_t() #pos._fields_
state = jacklib.transport_query(self._jacklibClient, pointer(pos)) #this actually sets the pos and info. We need this, even if we don't use "state" here.
#if not pos.frame_rate:
# return
currenTimeInSeconds = round(pos.frame / pos.frame_rate, 8)
for func in self.callback_setPlaybackSeconds:
func(currenTimeInSeconds, not state == jacklib.JackTransportStopped) #current time in seconds and if playback is running

#Public API. Called via api.jackClient.rewind()
def _seek(self, frame:int):
jacklib.transport_locate(self._jacklibClient, frame)

def seek(self, seconds):
pos = jacklib.jack_position_t()
state = jacklib.transport_query(self._jacklibClient, pointer(pos)) #this actually sets the pos and info. We need this, even if we don't use "state" here.
self._seek(int(seconds * pos.frame_rate))

def rewind(self):
self._seek(0)

def playPause(self):
pos = jacklib.jack_position_t() #pos._fields_
state = jacklib.transport_query(self._jacklibClient, pointer(pos))
if state == jacklib.JackTransportStopped:
jacklib.transport_start(self._jacklibClient)
elif state == jacklib.JackTransportStarting:
pass
else:
jacklib.transport_stop(self._jacklibClient)

+ 280
- 0
engine/jacklib/COPYING View File

@@ -0,0 +1,280 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.

We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.

Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and
modification follow.

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.

c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

+ 76
- 0
engine/jacklib/README.md View File

@@ -0,0 +1,76 @@
# pyjacklib

Python bindings for `libjack` using [ctypes], which allow you to write JACK
client applications in Python.

The library provides a low-level, almost unaltered mapping of the `libjack`
[C API], plus a few additional convenience functions.

The source code repository contains a few [example scripts] to show its usage.

**Note:** **pyjacklib** *as a stand-alone project is in an early beta-stage and
the API may still change slightly before a 1.0 release. You have been warned!*


## Dependencies

To use the library, your system needs to have the following installed at
run-time:

* The [JACK] library
* A Python 3 implementation, which supports `ctypes`

To build and install the library you need:

* [setuptools]
* (optional) [pip]


## Building and Installing

You can download and install **pyjacklib** directly from PyPI using `pip`:

```con
pip install pyjacklib
```

Or you can download the latest source archive or clone the git repository
and run the following from inside the unpacked source directory resp. the root
of your checkout:

```con
python setup.py install
```

You can also build a wheel with:

```con
pip wheel .
```

... and install it using `pip install`.


## License

**pyjacklib** is licensed under the GNU Public License Version v2, or
any later version.

Please see the file [COPYING] for more information.


## Authors

Created by *Filipe Coelho (falkTX)* as part of [Cadence].

Turned into a stand-alone project and enhanced by *Christopher Arndt*.


[C API]: https://jackaudio.org/api/
[Cadence]: https://github.com/falkTX/Cadence.git
[COPYING]: https://github.com/jackaudio/pyjacklib/blob/master/COPYING
[ctypes]: https://docs.python.org/3/library/ctypes.html
[example scripts]: https://github.com/jackaudio/pyjacklib/tree/master/examples
[JACK]: https://jackaudio.org/
[pip]: https://pypi.org/project/pip/
[setuptools]: https://pypi.org/project/setuptools/

+ 2
- 0
engine/jacklib/__init__.py View File

@@ -0,0 +1,2 @@
from .version import __version__ # noqa
from .api import * # noqa

+ 1951
- 0
engine/jacklib/api.py
File diff suppressed because it is too large
View File


+ 123
- 0
engine/jacklib/helpers.py View File

@@ -0,0 +1,123 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Helper functions for extra jacklib functionality
# Copyright (C) 2012-2013 Filipe Coelho <falktx@falktx.com>
# 2016-2021 Christopher Arndt <chrisæchrisarndt.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For a full copy of the GNU General Public License see the COPYING file

# -------------------------------------------------------------------------------------------------
# Try Import jacklib

from __future__ import absolute_import, print_function, unicode_literals

from . import api as jacklib


# -------------------------------------------------------------------------------------------------
# Get JACK error status as string

def get_jack_status_error_string(cStatus):
status = cStatus.value

if status == 0x0:
return ""

errorString = []

if status == jacklib.JackFailure:
# Only include this generic message if no other error status is set
errorString.append("Overall operation failed")
if status & jacklib.JackInvalidOption:
errorString.append("The operation contained an invalid or unsupported option")
if status & jacklib.JackNameNotUnique:
errorString.append("The desired client name was not unique")
if status & jacklib.JackServerStarted:
errorString.append("The JACK server was started as a result of this operation")
if status & jacklib.JackServerFailed:
errorString.append("Unable to connect to the JACK server")
if status & jacklib.JackServerError:
errorString.append("Communication error with the JACK server")
if status & jacklib.JackNoSuchClient:
errorString.append("Requested client does not exist")
if status & jacklib.JackLoadFailure:
errorString.append("Unable to load internal client")
if status & jacklib.JackInitFailure:
errorString.append("Unable to initialize client")
if status & jacklib.JackShmFailure:
errorString.append("Unable to access shared memory")
if status & jacklib.JackVersionError:
errorString.append("Client's protocol version does not match")
if status & jacklib.JackBackendError:
errorString.append("Backend Error")
if status & jacklib.JackClientZombie:
errorString.append("Client is being shutdown against its will")

return ";\n".join(errorString) + "."


# -------------------------------------------------------------------------------------------------
# Convert C char** -> Python list

def c_char_p_p_to_list(c_char_p_p, encoding=jacklib.ENCODING, errors='ignore'):
i = 0
retList = []

if not c_char_p_p:
return retList

while True:
new_char_p = c_char_p_p[i]
if not new_char_p:
break

retList.append(new_char_p.decode(encoding=encoding, errors=errors))
i += 1

jacklib.free(c_char_p_p)
return retList


# -------------------------------------------------------------------------------------------------
# Convert C void* -> string

def voidptr2str(void_p):
char_p = jacklib.cast(void_p, jacklib.c_char_p)
string = str(char_p.value, encoding="utf-8")
return string


# -------------------------------------------------------------------------------------------------
# Convert C void* -> jack_default_audio_sample_t*

def translate_audio_port_buffer(void_p):
return jacklib.cast(void_p, jacklib.POINTER(jacklib.jack_default_audio_sample_t))


# -------------------------------------------------------------------------------------------------
# Convert a JACK midi buffer into a python variable-size list

def translate_midi_event_buffer(void_p, size):
if not void_p:
return ()
elif size == 1:
return (void_p[0],)
elif size == 2:
return (void_p[0], void_p[1])
elif size == 3:
return (void_p[0], void_p[1], void_p[2])
elif size == 4:
return (void_p[0], void_p[1], void_p[2], void_p[3])
else:
return ()

+ 1
- 0
engine/jacklib/version.py View File

@@ -0,0 +1 @@
__version__ = "0.1.0"

+ 26
- 1
qtgui/designer/mainwindow.py View File

@@ -28,6 +28,26 @@ class Ui_MainWindow(object):
self.tabPage.setObjectName("tabPage")
self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.tabPage)
self.verticalLayout_12.setObjectName("verticalLayout_12")
self.jackTransportControls = QtWidgets.QGroupBox(self.tabPage)
self.jackTransportControls.setObjectName("jackTransportControls")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.jackTransportControls)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.jackTransportPlayPause = QtWidgets.QPushButton(self.jackTransportControls)
self.jackTransportPlayPause.setObjectName("jackTransportPlayPause")
self.horizontalLayout_2.addWidget(self.jackTransportPlayPause)
self.jackTransportRewind = QtWidgets.QPushButton(self.jackTransportControls)
self.jackTransportRewind.setObjectName("jackTransportRewind")
self.horizontalLayout_2.addWidget(self.jackTransportRewind)
self.jackTransportTimeline = QtWidgets.QProgressBar(self.jackTransportControls)
self.jackTransportTimeline.setProperty("value", 24)
self.jackTransportTimeline.setObjectName("jackTransportTimeline")
self.horizontalLayout_2.addWidget(self.jackTransportTimeline)
self.jackTransportMaxTime = QtWidgets.QSpinBox(self.jackTransportControls)
self.jackTransportMaxTime.setMinimum(1)
self.jackTransportMaxTime.setProperty("value", 5)
self.jackTransportMaxTime.setObjectName("jackTransportMaxTime")
self.horizontalLayout_2.addWidget(self.jackTransportMaxTime)
self.verticalLayout_12.addWidget(self.jackTransportControls)
self.tabbyCat = QtWidgets.QTabWidget(self.tabPage)
self.tabbyCat.setObjectName("tabbyCat")
self.tab_detailed = QtWidgets.QWidget()
@@ -277,7 +297,7 @@ class Ui_MainWindow(object):
self.menubar.addAction(self.menuClientNameId.menuAction())

self.retranslateUi(MainWindow)
self.mainPageSwitcher.setCurrentIndex(1)
self.mainPageSwitcher.setCurrentIndex(0)
self.tabbyCat.setCurrentIndex(0)
self.detailedStackedWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
@@ -285,6 +305,11 @@ class Ui_MainWindow(object):
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "Agordejo"))
self.jackTransportControls.setTitle(_translate("MainWindow", "Global Playback Controls"))
self.jackTransportPlayPause.setText(_translate("MainWindow", "PlayPause"))
self.jackTransportRewind.setText(_translate("MainWindow", "Rewind"))
self.jackTransportTimeline.setFormat(_translate("MainWindow", " time-placeholder"))
self.jackTransportMaxTime.setSuffix(_translate("MainWindow", " min"))
self.button_new_session.setText(_translate("MainWindow", "New"))
self.button_new_quick_session.setText(_translate("MainWindow", "Quick New"))
self.button_load_selected_session.setText(_translate("MainWindow", "Load Selected"))

+ 47
- 1
qtgui/designer/mainwindow.ui View File

@@ -36,10 +36,56 @@
<number>0</number>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="tabPage">
<layout class="QVBoxLayout" name="verticalLayout_12">
<item>
<widget class="QGroupBox" name="jackTransportControls">
<property name="title">
<string>Global Playback Controls</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="jackTransportPlayPause">
<property name="text">
<string>PlayPause</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="jackTransportRewind">
<property name="text">
<string>Rewind</string>
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="jackTransportTimeline">
<property name="value">
<number>24</number>
</property>
<property name="format">
<string> time-placeholder</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="jackTransportMaxTime">
<property name="suffix">
<string> min</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QTabWidget" name="tabbyCat">
<property name="currentIndex">

+ 101
- 0
qtgui/jacktransport.py View File

@@ -0,0 +1,101 @@
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Copyright 2021, Nils Hilbricht, Germany ( https://www.hilbricht.net )

This file is part of the Laborejo Software Suite ( https://www.laborejo.org ),

This application is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

import logging; logger = logging.getLogger(__name__); logger.info("import")

#Standard Library
from datetime import timedelta
#Third Party
from PyQt5 import QtCore, QtGui, QtWidgets

#Engine
import engine.api as api

class JackTransportControls(object):
"""Singleton object for code-structure reasons"""

def __init__(self, mainWindow):
self.mainWindow = mainWindow
self.ui = self.mainWindow.ui
self.visible = None
self.currentMaximumInSeconds = self.ui.jackTransportMaxTime.value() * 60 #widget is in minutes
self.resolutionFactor = 10 #Around 10 seems to be the maximum. The progressbar will still "Jump" above that.

self.ui.jackTransportPlayPause.setCheckable(True)
self.ui.jackTransportPlayPause.setText("")
self.ui.jackTransportPlayPause.setIcon(QtGui.QIcon(':playpause.png'))
self.ui.jackTransportRewind.setText("")
self.ui.jackTransportRewind.setIcon(QtGui.QIcon(':tostart.png'))

api.callbacks.sessionOpenReady.append(self.show)
api.callbacks.sessionClosed.append(self.hide)
api.callbacks.setPlaybackSeconds.append(self._react_playbackSeconds)
self.ui.jackTransportMaxTime.valueChanged.connect(lambda v: setattr(self, "currentMaximumInSeconds", v*60))

self.ui.jackTransportPlayPause.clicked.connect(api.jackClient.playPause)
self.ui.jackTransportRewind.clicked.connect(api.jackClient.rewind)

#Maximum Resolution of 100 is not enough. It is too "steppy"
self.ui.jackTransportTimeline.setMaximum(self.ui.jackTransportTimeline.maximum() * self.resolutionFactor)
self.ui.jackTransportTimeline.reset()
self.ui.jackTransportTimeline.mousePressEvent = self._timelineMousePressEvent
self.ui.jackTransportTimeline.mouseMoveEvent = self._timelineMouseMoveEvent
self.hide()


def hide(self, *args):
self.ui.jackTransportControls.hide()
self.visible = False

def show(self, *args):
self.ui.jackTransportControls.show()
self.visible = True

def _react_playbackSeconds(self, seconds, isTransportRunning):
if self.visible: #optimisation
realPercent = seconds / self.currentMaximumInSeconds
progressPercent = realPercent * 100 * self.resolutionFactor #100 because that is 0.xy -> xy% )
rogressPercent = int(progressPercent)
prettyTime = str(timedelta(seconds=int(seconds))) #timedelta without int will print microseconds
self.ui.jackTransportTimeline.setValue(progressPercent)
if isTransportRunning:
self.ui.jackTransportPlayPause.setChecked(True)
self.ui.jackTransportTimeline.setFormat("▶ " + prettyTime) #we don't use the Qt format substitutions. We just set a fixed value.
else:
self.ui.jackTransportPlayPause.setChecked(False)
self.ui.jackTransportTimeline.setFormat("■ " + prettyTime)

def _timelineMousePressEvent(self, event):
"""The positions are in pixels. If the window is different we get different numbers.
Normalize first."""

percentage = event.x() / self.ui.jackTransportTimeline.width() #x is relative to the widget. same as localPos().x()
seconds = percentage * self.currentMaximumInSeconds
api.jackClient.seek(seconds)

def _timelineMouseMoveEvent(self, event):
"""We did not set any qt-flags on this widget so mouseMoveEvent only works when the left
mouse button is down, and not just simply by hovering. Which is exactly what we want:
dragging"""

percentage = event.x() / self.ui.jackTransportTimeline.width() #x is relative to the widget. same as localPos().x()
seconds = percentage * self.currentMaximumInSeconds
api.jackClient.seek(seconds)

+ 7
- 0
qtgui/mainwindow.py View File

@@ -48,6 +48,7 @@ from .addclientprompt import askForExecutable, updateWordlist
from .waitdialog import WaitDialog
from .resources import *
from .settings import SettingsDialog
from .jacktransport import JackTransportControls


api.eventLoop = EventLoop()
@@ -153,6 +154,9 @@ class MainWindow(QtWidgets.QMainWindow):
self.recentlyOpenedSessions = RecentlyOpenedSessions()


#Setup JackTransportControls Widget. It configures itself on init:
self.jackTransportControls = JackTransportControls(mainWindow = self) #not a widget, just an object

#self.ui.stack_loaded_session is only visible when there is a loaded session and the full view tab is active
#we link the session context menu to the session menu menu.
self.ui.stack_loaded_session.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
@@ -458,6 +462,9 @@ class MainWindow(QtWidgets.QMainWindow):
self.setVisible(True) #This is also the default state if there is no config
"""




class SessionController(object):
"""Controls the StackWidget that contains the Session Tree and Opened Session/Client.


+ 328
- 125
qtgui/resources.py View File

@@ -9,6 +9,170 @@
from PyQt5 import QtCore

qt_resource_data = b"\
\x00\x00\x01\x4f\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\
\x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\
\x30\x20\x30\x20\x31\x32\x30\x20\x31\x32\x30\x22\x3e\x3c\x70\x61\
\x74\x68\x20\x64\x3d\x22\x4d\x36\x30\x20\x31\x39\x2e\x30\x39\x43\
\x32\x32\x2e\x33\x38\x32\x20\x31\x39\x2e\x30\x39\x2e\x30\x35\x33\
\x20\x36\x30\x20\x2e\x30\x35\x33\x20\x36\x30\x53\x32\x32\x2e\x33\
\x38\x33\x20\x31\x30\x30\x2e\x39\x31\x20\x36\x30\x20\x31\x30\x30\
\x2e\x39\x31\x20\x31\x31\x39\x2e\x39\x35\x20\x36\x30\x20\x31\x31\
\x39\x2e\x39\x35\x20\x36\x30\x20\x39\x37\x2e\x36\x31\x38\x20\x31\
\x39\x2e\x30\x39\x20\x36\x30\x20\x31\x39\x2e\x30\x39\x7a\x6d\x30\
\x20\x36\x35\x2e\x33\x32\x63\x2d\x31\x33\x2e\x34\x36\x20\x30\x2d\
\x32\x34\x2e\x34\x31\x2d\x31\x30\x2e\x39\x35\x2d\x32\x34\x2e\x34\
\x31\x2d\x32\x34\x2e\x34\x31\x53\x34\x36\x2e\x35\x34\x20\x33\x35\
\x2e\x35\x39\x20\x36\x30\x20\x33\x35\x2e\x35\x39\x20\x38\x34\x2e\
\x34\x30\x37\x20\x34\x36\x2e\x35\x34\x20\x38\x34\x2e\x34\x30\x37\
\x20\x36\x30\x73\x2d\x31\x30\x2e\x39\x35\x20\x32\x34\x2e\x34\x31\
\x2d\x32\x34\x2e\x34\x31\x20\x32\x34\x2e\x34\x31\x7a\x22\x2f\x3e\
\x3c\x63\x69\x72\x63\x6c\x65\x20\x63\x79\x3d\x22\x36\x30\x2e\x35\
\x38\x33\x22\x20\x63\x78\x3d\x22\x36\x30\x22\x20\x72\x3d\x22\x31\
\x34\x2e\x34\x30\x39\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\
\x00\x00\x02\xbb\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x26\x00\x00\x00\x1e\x08\x06\x00\x00\x00\x40\x14\x6c\x6e\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x03\xb4\x00\x00\x03\xb4\
\x01\xd8\x39\x88\xbf\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\
\x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\
\x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\x00\x00\x00\x0b\x74\x45\
\x58\x74\x54\x69\x74\x6c\x65\x00\x53\x68\x61\x70\x65\x26\xef\x99\
\x91\x00\x00\x02\x21\x49\x44\x41\x54\x58\x85\xcd\xd7\x3d\x68\x13\
\x71\x18\xc7\xf1\xdf\xf3\xbf\x88\x16\xdb\x26\xb1\x20\x22\x08\xf1\
\x42\x17\x4d\xd2\x2a\x75\x10\xba\x58\x70\x71\x89\x08\x82\x83\xae\
\x5d\xec\xe0\x26\xb8\x58\x9c\xc4\xd9\x0a\x8e\x22\x14\x37\x11\x71\
\xe9\xa0\xe0\x6b\xa0\x8b\xb9\x4b\xa7\x34\x97\x48\x41\x07\xb9\xe6\
\xce\x06\x94\x36\x77\x8f\x43\xcf\xe6\x4f\x68\x2f\x2f\x77\x97\xf8\
\x5d\x92\x70\x2f\xf9\xdc\x93\x67\x09\x69\x86\xf5\x74\x7b\x33\xbe\
\x30\x33\x43\x3b\x08\x98\x6e\x58\x97\x19\x58\xf1\x39\xa5\x94\x53\
\x13\xd9\xb5\x6a\xe3\x84\xc3\xcd\x1f\x7e\xf7\x12\x00\xe6\x0f\x1f\
\xfb\xf5\xb6\xb8\xbe\x75\x3c\x28\x0c\x00\xf9\x1f\x25\xf2\x5e\xfc\
\xcf\xf3\x60\x60\xf0\x2c\x09\xe7\xcb\xd7\xb2\x79\x36\x04\x5c\x28\
\x09\xe9\xbd\x2a\x14\xa5\xa0\x55\xeb\xf9\xa1\x69\xa4\x44\xdb\xe7\
\x51\x30\xbd\x2c\x56\xea\x8b\xcc\xdc\x71\xdc\x51\xd6\x0e\x03\x76\
\x57\xe0\x7e\xc9\xb0\x97\x3f\x6f\x6c\x8c\x0c\x5c\xe4\xb5\x1f\x0c\
\x00\xc0\x84\x1b\xa3\x3b\x63\x9f\xf4\x75\xf3\xd4\x20\x41\xff\x3a\
\x10\xe6\x75\x8e\x45\xac\x50\xaa\xd8\x17\x06\xa2\x91\xea\x04\x03\
\xc0\x27\x5d\xe2\xf7\xba\x61\xdf\x8a\x9e\xd3\xaa\x0b\x18\x00\xe0\
\x08\x83\x9f\x69\x15\xeb\x21\x33\x77\x7b\x4d\xa0\x7a\xf9\x12\x02\
\xe1\xae\x5e\xb3\x5f\x97\xcb\xe6\x78\x64\x22\xaf\xde\x9f\x9e\x71\
\xe5\xb7\xa2\x7c\x2c\xd6\xac\xd3\x11\x78\xf6\xea\xf7\x67\xc9\x92\
\x8b\xd5\x52\xad\x7e\x29\x54\x8d\x54\x90\x7d\x99\x70\x5d\x5a\xd1\
\x0c\xfb\x76\x68\x1a\xa9\x58\xf0\xeb\xf9\xb1\x66\x58\xb9\xed\xcd\
\xf8\x02\x60\x87\x82\x02\x82\x4d\x2c\xd2\x82\x4e\xac\x09\xd0\x9d\
\x9c\x1a\x5f\x02\x00\xdd\xb0\x42\x20\xed\x16\x04\x66\x0a\xc1\xd7\
\x33\xa9\xc4\xbb\xd0\x34\x52\xfd\xc2\x74\x16\xc8\x67\x52\xc9\x6a\
\xa8\x1a\xa9\x3e\x76\x8c\xdf\x8c\x38\xce\xec\x54\x2a\x11\x19\x0a\
\xe8\x6d\x62\x0c\xc6\xa3\xac\x9a\xb8\x47\x44\x6e\x64\x22\xaf\x6e\
\x61\x7f\x08\x34\x9f\x4d\xc7\x9f\x47\xaa\x91\xea\x02\x46\xdf\x05\
\xe3\x6a\x26\x1d\x5f\x8d\x9e\xd3\xaa\x13\xac\x10\x13\xb1\x6b\x67\
\x52\x47\x7d\xff\x6a\x45\xd1\x81\xcb\x4f\x8c\x17\x8d\x43\x5b\x73\
\xc3\x40\x01\xfb\x4f\x8c\x99\xf9\x41\x2e\x9d\x5c\x1c\x34\x46\xae\
\x1d\xd6\x00\xf1\xcd\x29\x35\xf9\x6a\x28\x1a\xa9\x16\x8c\x50\x71\
\x9b\x4e\x7e\x7a\x72\x62\x6d\x88\x9e\xbd\xbc\x1d\xa3\x0f\xcd\xa6\
\x72\xf1\x7f\x41\x01\x80\x20\xe0\x89\xf9\x6d\x7c\xee\xfc\xe4\xd8\
\xcf\x61\x63\xe4\xfe\x02\x9c\xf5\xa3\xbb\x96\xa3\x3a\x87\x00\x00\
\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x03\x3c\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x26\x00\x00\x00\x1e\x08\x06\x00\x00\x00\x40\x14\x6c\x6e\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x03\xb5\x00\x00\x03\xb5\
\x01\x0a\x7e\x6a\x5b\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\
\x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\
\x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\x00\x00\x00\x0b\x74\x45\
\x58\x74\x54\x69\x74\x6c\x65\x00\x53\x68\x61\x70\x65\x26\xef\x99\
\x91\x00\x00\x02\xa2\x49\x44\x41\x54\x58\x85\xbd\x97\xcd\x4b\x54\
\x51\x18\x87\x9f\xf7\x5e\x23\xec\xeb\x8e\x4a\xa1\x60\xda\x28\xd6\
\xc2\x98\x89\xb2\x02\x8d\x42\x8a\x72\x61\x9b\x48\x6a\x59\x1b\x97\
\xd5\x4e\xff\x80\x36\x2e\x5a\xb4\x89\xa0\x8d\xb4\x49\x32\x22\xab\
\x85\x8b\x4a\x6a\xe1\xca\x42\x87\x8c\x4a\xfc\xca\x16\x42\x99\x73\
\x8b\x9a\x4a\xef\x7d\x5b\xe8\x84\x44\xcc\x39\x3a\x73\xfd\x2d\x67\
\x9e\xc3\x7d\xce\xef\x3d\x9c\x3b\x23\xa9\x89\xb4\x92\x23\xae\x14\
\x55\xd4\xc7\xb7\xcc\xe6\x62\x4c\x19\x1e\xff\x72\x44\x1c\xb7\x32\
\x19\xf7\x7a\x4c\xec\xc0\x80\x16\x95\x56\xa7\xaf\x39\x26\x50\x44\
\x24\x1f\xa9\xd4\x64\xba\xdd\x11\xe7\x99\x03\x3b\x4c\xec\xe8\x8c\
\x5f\x5a\x56\xed\xf7\x0b\x72\xa9\x28\x9f\x87\xe6\xca\xc0\x80\x16\
\x95\x55\xf9\x57\x51\x3a\x6c\xf8\xe1\xf1\xaf\xbb\x83\x85\xf0\x21\
\xb0\x07\x20\x12\xb1\xd1\x19\xbf\x34\x58\xf0\xef\x02\xc7\x6d\xf8\
\x91\x49\xbf\x45\x34\xec\x01\xbc\xec\x67\xc6\x51\xae\x36\x4b\x3b\
\xd7\x41\x7b\xa9\xf9\xcb\xa2\xfa\x78\xa5\x14\x14\xb8\xb1\xe5\x9d\
\xdf\x01\x62\x26\x76\x6c\x4c\x37\x66\x9c\xaf\x37\x51\xbd\xf0\xbf\
\xef\x0b\xd6\xd8\x8a\x9d\x1b\xa5\xde\x4c\x7d\xaf\xc8\xb8\xfe\x73\
\xe4\xff\x52\x50\x80\xc6\x4c\x3b\xff\x37\xa3\x93\xf3\xfb\x16\xc3\
\x85\x3e\xa0\x2a\x17\x97\x97\xd8\xab\xb1\x6f\xdb\x33\xae\x7f\x0f\
\x38\x6a\xc3\xa7\x26\xd2\x6d\x81\xd2\x0d\x6c\x32\xb1\x6b\x16\x7b\
\x3d\x31\x9f\x0c\x08\xfa\x80\x6a\xab\x05\xca\x09\xa0\x15\xb0\xba\
\x17\xd7\x74\xc6\x52\x13\xe9\xb6\x10\x19\x14\x5b\x29\x40\xd1\xd3\
\xb6\x52\xab\x16\x53\x55\x49\x4d\xa6\x3b\x80\x1e\x2c\xc6\x91\x4f\
\xac\x47\x39\x32\x3b\xbb\x39\x35\xe5\xdf\x16\xe5\x4c\x94\x42\xd9\
\x58\x89\x8d\x8c\xcd\x55\x4a\xc6\x7d\x80\x72\x20\x6a\xa1\x6c\x8c\
\xa3\x0c\x43\x1a\xc4\x75\x87\xd6\x53\x0a\x22\x78\x25\x15\x2a\x46\
\x31\xc7\x61\x48\x83\xa0\x01\xe1\xe5\x7a\x08\xfd\x7d\xae\x0d\x94\
\xac\x2b\xfb\xa8\xc5\x3f\x8f\xa9\x70\x3f\x6a\xa1\x6c\xac\x47\x99\
\x2c\x2f\xff\x9e\xd8\xe5\x9d\x45\xe8\x04\xc2\x08\x9d\x80\x55\x9e\
\x31\x11\xd1\x44\x3c\xd6\x05\x9c\x07\x7e\x44\xa3\xb4\x94\x35\x1d\
\xfe\x44\x4d\xac\xd7\x41\x1b\x15\xa6\x6d\xd7\x08\xf2\x08\xc8\xf9\
\xff\x22\x6f\x31\x80\xbd\x35\x25\x23\x41\xe0\x1e\x04\x5e\x58\x2d\
\x10\x9e\x00\xe7\xb0\x6c\x3a\xaf\xeb\x62\x7f\xdd\xd6\x4f\xc5\x81\
\x77\x12\x95\x6e\x1b\x3e\x51\x13\xeb\x75\x45\x9b\x80\x0f\x91\x8a\
\x01\xd4\xd5\xc9\xaf\x44\xad\x77\x51\x45\xaf\x00\x81\x89\xaf\x8f\
\x97\x0c\x2f\x06\x6e\x03\x86\xa6\x0b\x76\xc1\x26\xe3\x25\xd7\x55\
\xa4\x15\x48\x9b\x58\x9b\xa6\x0b\x7a\xf3\x27\xe3\x5e\x7f\xa8\xce\
\x61\xe0\xad\x89\x35\x35\x5d\xf0\x57\xd2\xbe\xda\x6d\xef\xdd\x0d\
\xd2\x04\x3c\xb5\xe1\x57\x34\xed\x47\x2a\x06\x50\xbf\xd3\xfb\x32\
\x37\xed\xb5\xa0\x74\xd9\xc9\x79\xfd\xa1\x3a\x87\x80\x77\x91\x8a\
\x01\x34\x37\xcb\x62\xa2\x36\xd6\x09\xb4\x03\xbf\x4d\xfc\x72\xd3\
\x8d\x2c\x37\x1d\xf9\xaf\x8b\x44\x4d\xec\x96\x88\x9e\xd2\x90\xcf\
\x26\x36\xdb\xb4\xc0\x8d\x3f\xdd\x96\xf1\x25\x4a\xd3\x97\xc3\x00\
\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\x70\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\
\x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\
\x30\x20\x30\x20\x31\x32\x30\x20\x31\x32\x30\x22\x3e\x3c\x70\x61\
\x74\x68\x20\x64\x3d\x22\x4d\x33\x2e\x32\x37\x32\x20\x35\x38\x2e\
\x37\x37\x32\x63\x30\x20\x33\x31\x2e\x32\x30\x34\x20\x32\x35\x2e\
\x32\x39\x36\x20\x35\x36\x2e\x35\x20\x35\x36\x2e\x35\x20\x35\x36\
\x2e\x35\x20\x33\x31\x2e\x32\x30\x33\x20\x30\x20\x35\x36\x2e\x35\
\x2d\x32\x35\x2e\x32\x39\x36\x20\x35\x36\x2e\x35\x2d\x35\x36\x2e\
\x35\x20\x30\x2d\x31\x36\x2e\x32\x36\x34\x2d\x36\x2e\x38\x38\x32\
\x2d\x33\x30\x2e\x39\x31\x2d\x31\x37\x2e\x38\x38\x2d\x34\x31\x2e\
\x32\x32\x4c\x38\x34\x2e\x30\x33\x20\x33\x32\x2e\x38\x38\x35\x63\
\x36\x2e\x39\x31\x32\x20\x36\x2e\x34\x38\x32\x20\x31\x31\x2e\x32\
\x34\x34\x20\x31\x35\x2e\x36\x38\x38\x20\x31\x31\x2e\x32\x34\x34\
\x20\x32\x35\x2e\x38\x39\x20\x30\x20\x31\x39\x2e\x35\x37\x34\x2d\
\x31\x35\x2e\x39\x32\x36\x20\x33\x35\x2e\x35\x2d\x33\x35\x2e\x35\
\x20\x33\x35\x2e\x35\x2d\x31\x39\x2e\x35\x37\x35\x20\x30\x2d\x33\
\x35\x2e\x35\x2d\x31\x35\x2e\x39\x32\x36\x2d\x33\x35\x2e\x35\x2d\
\x33\x35\x2e\x35\x22\x20\x66\x69\x6c\x6c\x3d\x22\x23\x30\x31\x30\
\x31\x30\x31\x22\x2f\x3e\x3c\x70\x61\x74\x68\x20\x64\x3d\x22\x4d\
\x39\x35\x2e\x32\x37\x32\x20\x35\x38\x2e\x37\x37\x32\x63\x30\x20\
\x31\x39\x2e\x35\x37\x35\x2d\x31\x35\x2e\x39\x32\x35\x20\x33\x35\
\x2e\x35\x2d\x33\x35\x2e\x35\x20\x33\x35\x2e\x35\x2d\x31\x39\x2e\
\x35\x37\x34\x20\x30\x2d\x33\x35\x2e\x35\x2d\x31\x35\x2e\x39\x32\
\x36\x2d\x33\x35\x2e\x35\x2d\x33\x35\x2e\x35\x20\x30\x2d\x31\x30\
\x2e\x32\x20\x34\x2e\x33\x33\x32\x2d\x31\x39\x2e\x34\x30\x36\x20\
\x31\x31\x2e\x32\x34\x35\x2d\x32\x35\x2e\x38\x39\x6c\x2d\x31\x34\
\x2e\x33\x36\x35\x2d\x31\x35\x2e\x33\x33\x43\x31\x30\x2e\x31\x35\
\x34\x20\x32\x37\x2e\x38\x36\x20\x33\x2e\x32\x37\x32\x20\x34\x32\
\x2e\x35\x30\x37\x20\x33\x2e\x32\x37\x32\x20\x35\x38\x2e\x37\x37\
\x63\x30\x20\x33\x31\x2e\x32\x30\x34\x20\x32\x35\x2e\x32\x39\x37\
\x20\x35\x36\x2e\x35\x20\x35\x36\x2e\x35\x20\x35\x36\x2e\x35\x20\
\x33\x31\x2e\x32\x30\x34\x20\x30\x20\x35\x36\x2e\x35\x2d\x32\x35\
\x2e\x32\x39\x37\x20\x35\x36\x2e\x35\x2d\x35\x36\x2e\x35\x22\x20\
\x66\x69\x6c\x6c\x3d\x22\x23\x30\x31\x30\x31\x30\x31\x22\x2f\x3e\
\x3c\x70\x61\x74\x68\x20\x64\x3d\x22\x4d\x34\x39\x2e\x37\x38\x35\
\x20\x30\x48\x36\x39\x2e\x37\x36\x76\x36\x31\x2e\x35\x37\x36\x48\
\x34\x39\x2e\x37\x38\x35\x7a\x22\x20\x66\x69\x6c\x6c\x3d\x22\x23\
\x30\x31\x30\x31\x30\x31\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\
\x00\x00\x01\x25\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
@@ -30,6 +194,96 @@ qt_resource_data = b"\
\x37\x32\x68\x33\x35\x76\x32\x37\x2e\x38\x39\x68\x2d\x33\x35\x76\
\x2d\x32\x37\x2e\x38\x39\x7a\x22\x2f\x3e\x3c\x2f\x67\x3e\x3c\x2f\
\x73\x76\x67\x3e\
\x00\x00\x04\xfc\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x26\x00\x00\x00\x1e\x08\x06\x00\x00\x00\x40\x14\x6c\x6e\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x03\xb4\x00\x00\x03\xb4\
\x01\xd8\x39\x88\xbf\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\
\x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\
\x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\x00\x00\x00\x0b\x74\x45\
\x58\x74\x54\x69\x74\x6c\x65\x00\x53\x68\x61\x70\x65\x26\xef\x99\
\x91\x00\x00\x04\x62\x49\x44\x41\x54\x58\x85\xb5\x97\x5d\x4c\x5b\
\x75\x18\xc6\x9f\xf7\x9c\xf2\x3d\xd6\x76\xa0\x63\xe8\xc2\x5a\xac\
\x71\x94\x42\x34\xc4\xcc\x69\x08\xc4\x68\x62\x62\x30\x8e\x48\x30\
\x3a\xe3\xe2\x85\xde\xb8\x68\x8c\xba\xb9\x0b\x13\xbd\xf1\x13\x33\
\x2e\x4c\x8c\x66\x1a\x3f\x92\x05\x75\xd9\x84\xed\x82\xcc\x91\x90\
\xb9\xc4\x8c\x7d\x40\x01\x49\x18\x2d\x6c\x8e\x39\x07\x96\x02\x2b\
\x50\x7a\xce\xe3\x85\x80\xdd\xe9\x29\x3d\x94\xee\xb9\xeb\xfb\x7f\
\xde\xf7\xfd\x35\xff\xaf\xf3\x17\x64\x40\xfe\xc0\xec\x66\x4d\x5b\
\x28\x86\x6a\x2b\x50\x35\x4e\xce\xe4\xce\x8c\xef\xdc\xba\x75\x6e\
\x3d\x35\x25\x9d\xa4\xae\x2e\xda\x8a\xcb\xc2\xbb\x40\x3c\x4d\x41\
\x1d\x80\x12\x13\xdb\x65\x01\x3a\x00\x1c\xfd\xc3\x65\x3f\xd5\x24\
\xa2\xdd\x36\x30\x92\x4a\x5f\x20\xfc\xb2\x08\xde\x01\x70\xf7\x1a\
\x52\xfb\x85\xb2\xcf\x57\x6e\x3f\x9e\x71\xb0\xde\xd1\x29\x17\x74\
\x7e\x27\x90\x87\xd7\x00\x64\x6c\xf7\x4b\x9e\x16\xdb\xed\xf1\x14\
\x4d\x67\x04\xcc\x3f\x32\x55\x43\x41\x3b\xcc\xa7\x6c\x6d\x22\x07\
\x45\x97\x06\x9f\xc7\x31\xb2\x9a\x4d\x49\x80\x08\x86\xea\x7a\x7a\
\x98\xb5\xfc\x7b\x60\x6c\xa6\x82\x82\x5f\x33\x02\x05\x00\x22\x15\
\x54\x71\xf2\xfc\xf0\xcc\x1d\xab\xda\x8c\x81\xbe\xe0\xd4\x21\x10\
\x3e\x2a\x68\x12\xc1\x14\x74\x9c\x05\x51\x9e\x24\xff\x6f\x02\xdf\
\xaa\x0a\x4f\x50\xcf\x1a\xcc\xd5\x16\xe6\x22\x59\x6a\x91\xa2\x49\
\x05\x85\x0d\x00\x9e\x03\x50\x90\x24\xb7\x5b\x9d\xb3\x3f\xe6\xf5\
\x4a\xd4\x6c\xd0\x96\x24\xa9\x46\x74\x5c\x00\xf1\x3b\xc4\x14\x4a\
\x17\xe0\x53\x65\x2e\xfa\x5e\x2c\x27\x2f\x1f\x88\x6d\xf1\xb9\x37\
\x5c\x5f\x1a\x9b\x06\x10\x04\x70\x7c\x20\x38\xfb\xae\xc6\xc5\x8f\
\x01\x79\xde\xa4\x46\xad\x96\x1f\x7e\x0d\xc0\x47\x66\x00\x09\x53\
\x19\x27\x3b\x04\x8f\x9b\xc4\xa3\x24\x9a\x7c\x6e\xc7\x5b\x5e\xef\
\x9d\xb3\x36\xe8\x1b\x75\xc8\x6f\xfe\x91\xd0\x2e\xa3\xd1\xeb\xda\
\xf0\x57\x95\xdb\xb9\x5b\x80\x37\x4d\x3b\x10\xfb\x07\xae\x84\x37\
\xad\x15\xcc\x5c\x82\xbd\xd5\xe5\x8e\x9f\x0d\xd1\x02\x8a\xfc\xd4\
\x37\x32\xf5\x01\xc9\x84\x9a\x3e\xb7\xe3\x13\x40\x5a\x4c\xaa\x39\
\xb4\x45\xfd\xf5\xf5\x81\x11\x31\x08\x4e\x55\xb9\x1c\x5f\x24\x45\
\x16\xbc\xed\x0f\x86\x0f\xf7\x8c\x8f\xe7\x1b\x07\xd5\xb9\x8d\xfb\
\x01\x5c\x32\x49\x6b\x5c\x1f\x98\xc0\x06\xa2\xbe\x37\x10\x3a\x18\
\xbf\x6b\x4d\xf4\x4c\xf6\x7c\xfe\x99\xc1\x40\xa8\x2c\x3e\xe8\xf5\
\x4a\x94\xe0\xfb\x26\xfe\xed\x17\x47\xa6\xef\x4d\x1f\x6c\x09\x4f\
\x20\x7b\x73\x36\x85\x4f\x5f\x08\x86\xb6\xad\xe2\xab\xd6\x20\x3d\
\x7d\x81\x50\x6d\x7c\x30\x5f\xd3\x8f\x02\x48\xd8\x85\xa2\x68\x0f\
\x59\x01\x63\x2a\x3a\x02\x0f\xda\x28\x67\xfb\x47\x43\xf5\xab\x78\
\x8a\x01\xe9\xec\x0b\x86\x5e\x5c\x8e\x2d\x9d\xf8\x7d\x09\x10\xba\
\x94\x5a\x01\x4b\x75\x1b\x04\x08\xb6\x92\x78\x76\x7e\xc2\x71\x3a\
\x85\x37\x07\x94\xaf\x7b\x03\xa1\x83\x6d\xa4\xba\x54\x7e\xdc\x68\
\xa2\x30\x01\x2c\xd9\x39\x16\xaf\x08\x80\x33\x14\x76\x28\x9a\x7e\
\xc4\x77\x4f\xd1\x95\xf8\xc1\x81\x4b\x61\x0b\x25\xe2\x24\xb4\x25\
\xcc\x89\x28\x8b\x56\xc1\x02\x00\x4e\x12\x7a\x47\xbe\xe6\xec\xf4\
\x78\x64\x61\x6d\xdd\x57\xb4\x00\xe1\x2b\xd5\x2e\xe7\x37\x2b\x11\
\xe2\x2e\xa3\x89\xe4\xb5\x94\x60\xcc\x9b\x7f\xb5\xba\xa4\xe4\x66\
\x9a\x20\x2b\x12\x60\x82\x60\x63\x95\xcb\xd9\xbd\x1c\xfb\xef\x7e\
\xd4\x2a\x13\xbc\x94\xab\x29\xc1\x32\x01\x05\xa0\x57\x05\x9f\xaa\
\x70\x3b\xc7\xe2\x83\x59\xaa\xde\x4c\x40\x35\x78\x49\x3d\xd6\x6d\
\x88\xa5\x71\xf2\xa7\xd6\x8f\xd1\xdc\xc8\x4e\x23\xd4\xd0\xd0\x8d\
\x42\x82\x07\x12\xdc\x82\xf3\xd5\x9e\xa2\x3f\x6f\x27\x18\x41\x7c\
\xe8\x73\xd9\x9b\x6b\x4a\x4b\x23\xb7\x0c\x90\x12\xcd\xce\xfa\x0a\
\xc0\xe6\x04\x2e\xe2\xb0\x59\x31\x2b\xbb\xf2\x96\x06\xfe\xc0\x74\
\x0b\x04\xff\x54\xb9\xed\xf1\xa7\xf8\x4d\x21\x5f\xf0\x95\x3b\x8f\
\x18\x73\xba\xba\x68\xeb\x1f\x0d\xb7\x02\x68\x32\xf9\x2b\x57\x17\
\xf2\x22\x9f\x9b\xf5\xb2\xfc\x69\xdd\x46\xaa\xf7\x8d\x86\xbf\x04\
\xb1\x67\x29\xf5\x98\x68\x7c\x43\x17\x75\x46\x55\x62\x5b\x2a\xdd\
\xce\x5e\x63\xce\xc5\xd1\xd0\xfd\xaa\xae\xb4\x12\x7c\xc4\xb4\x39\
\xf9\x92\xaf\xdc\x79\x28\x6d\xb0\xe1\x61\xe6\xcc\xab\xe1\x1f\x08\
\x18\x2f\xdc\x28\xc1\x4e\x11\x69\x57\x84\xc3\x42\x84\x62\xba\x14\
\x29\x8a\x78\x49\x36\x00\xa8\x47\xf2\xe5\xd2\xe6\x73\xd9\x9b\x45\
\xc4\xf4\xa6\xb1\x04\xb6\xf4\x55\xbb\xc7\x8a\xd7\x92\x04\xe7\xa2\
\x39\x91\x5a\xe3\x5a\x8c\x97\xa5\xc5\x6f\x93\xac\x03\x10\x9c\xcb\
\x10\x56\x77\x2c\xa6\x3e\xb1\x1a\x14\x60\x11\xac\x62\x5b\xc1\x35\
\x35\x12\xad\x03\xf8\x3d\x2c\x5c\xf2\x49\xa4\x01\xd2\x32\x39\x66\
\x7f\xf4\x01\x4f\xe1\x8d\x54\xe6\x35\xbf\xc4\x7b\x83\xe1\x1d\x42\
\x7e\x06\x60\x87\xd5\x1c\x81\xb4\x2b\xaa\xb2\xcf\x5b\x56\x38\x68\
\x3d\x27\x4d\xf9\x47\x67\xb6\x53\xd7\x1b\x01\x3e\x09\xa0\x12\xff\
\xbf\x86\x74\x80\xd7\x49\x19\x12\xb0\x43\x74\x39\x96\xea\x0d\x99\
\x51\xb0\x78\x91\x14\xff\xe5\xb0\x43\x34\x5b\xf6\xc4\x58\xc1\x64\
\x7d\xbd\xc4\xd6\x5b\xf3\x5f\x2e\x0a\xbd\x45\xc2\xd5\x25\x47\x00\
\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\x60\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\
\x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\
\x30\x20\x30\x20\x31\x32\x30\x20\x31\x32\x30\x22\x3e\x3c\x70\x61\
\x74\x68\x20\x64\x3d\x22\x4d\x31\x36\x20\x31\x36\x68\x38\x38\x76\
\x38\x38\x48\x31\x36\x7a\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\
\x00\x00\x06\xec\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
@@ -157,83 +411,6 @@ qt_resource_data = b"\
\x2e\x35\x33\x36\x6c\x2d\x31\x2e\x32\x32\x2d\x31\x2e\x32\x32\x4c\
\x36\x2e\x38\x34\x33\x2e\x39\x38\x38\x7a\x22\x2f\x3e\x3c\x2f\x73\
\x76\x67\x3e\
\x00\x00\x00\x60\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\
\x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\
\x30\x20\x30\x20\x31\x32\x30\x20\x31\x32\x30\x22\x3e\x3c\x70\x61\
\x74\x68\x20\x64\x3d\x22\x4d\x31\x36\x20\x31\x36\x68\x38\x38\x76\
\x38\x38\x48\x31\x36\x7a\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\
\x00\x00\x01\x4f\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\
\x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\
\x30\x20\x30\x20\x31\x32\x30\x20\x31\x32\x30\x22\x3e\x3c\x70\x61\
\x74\x68\x20\x64\x3d\x22\x4d\x36\x30\x20\x31\x39\x2e\x30\x39\x43\
\x32\x32\x2e\x33\x38\x32\x20\x31\x39\x2e\x30\x39\x2e\x30\x35\x33\
\x20\x36\x30\x20\x2e\x30\x35\x33\x20\x36\x30\x53\x32\x32\x2e\x33\
\x38\x33\x20\x31\x30\x30\x2e\x39\x31\x20\x36\x30\x20\x31\x30\x30\
\x2e\x39\x31\x20\x31\x31\x39\x2e\x39\x35\x20\x36\x30\x20\x31\x31\
\x39\x2e\x39\x35\x20\x36\x30\x20\x39\x37\x2e\x36\x31\x38\x20\x31\
\x39\x2e\x30\x39\x20\x36\x30\x20\x31\x39\x2e\x30\x39\x7a\x6d\x30\
\x20\x36\x35\x2e\x33\x32\x63\x2d\x31\x33\x2e\x34\x36\x20\x30\x2d\
\x32\x34\x2e\x34\x31\x2d\x31\x30\x2e\x39\x35\x2d\x32\x34\x2e\x34\
\x31\x2d\x32\x34\x2e\x34\x31\x53\x34\x36\x2e\x35\x34\x20\x33\x35\
\x2e\x35\x39\x20\x36\x30\x20\x33\x35\x2e\x35\x39\x20\x38\x34\x2e\
\x34\x30\x37\x20\x34\x36\x2e\x35\x34\x20\x38\x34\x2e\x34\x30\x37\
\x20\x36\x30\x73\x2d\x31\x30\x2e\x39\x35\x20\x32\x34\x2e\x34\x31\
\x2d\x32\x34\x2e\x34\x31\x20\x32\x34\x2e\x34\x31\x7a\x22\x2f\x3e\
\x3c\x63\x69\x72\x63\x6c\x65\x20\x63\x79\x3d\x22\x36\x30\x2e\x35\
\x38\x33\x22\x20\x63\x78\x3d\x22\x36\x30\x22\x20\x72\x3d\x22\x31\
\x34\x2e\x34\x30\x39\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\
\x00\x00\x02\x70\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\
\x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\
\x30\x20\x30\x20\x31\x32\x30\x20\x31\x32\x30\x22\x3e\x3c\x70\x61\
\x74\x68\x20\x64\x3d\x22\x4d\x33\x2e\x32\x37\x32\x20\x35\x38\x2e\
\x37\x37\x32\x63\x30\x20\x33\x31\x2e\x32\x30\x34\x20\x32\x35\x2e\
\x32\x39\x36\x20\x35\x36\x2e\x35\x20\x35\x36\x2e\x35\x20\x35\x36\
\x2e\x35\x20\x33\x31\x2e\x32\x30\x33\x20\x30\x20\x35\x36\x2e\x35\
\x2d\x32\x35\x2e\x32\x39\x36\x20\x35\x36\x2e\x35\x2d\x35\x36\x2e\
\x35\x20\x30\x2d\x31\x36\x2e\x32\x36\x34\x2d\x36\x2e\x38\x38\x32\
\x2d\x33\x30\x2e\x39\x31\x2d\x31\x37\x2e\x38\x38\x2d\x34\x31\x2e\
\x32\x32\x4c\x38\x34\x2e\x30\x33\x20\x33\x32\x2e\x38\x38\x35\x63\
\x36\x2e\x39\x31\x32\x20\x36\x2e\x34\x38\x32\x20\x31\x31\x2e\x32\
\x34\x34\x20\x31\x35\x2e\x36\x38\x38\x20\x31\x31\x2e\x32\x34\x34\
\x20\x32\x35\x2e\x38\x39\x20\x30\x20\x31\x39\x2e\x35\x37\x34\x2d\
\x31\x35\x2e\x39\x32\x36\x20\x33\x35\x2e\x35\x2d\x33\x35\x2e\x35\
\x20\x33\x35\x2e\x35\x2d\x31\x39\x2e\x35\x37\x35\x20\x30\x2d\x33\
\x35\x2e\x35\x2d\x31\x35\x2e\x39\x32\x36\x2d\x33\x35\x2e\x35\x2d\
\x33\x35\x2e\x35\x22\x20\x66\x69\x6c\x6c\x3d\x22\x23\x30\x31\x30\
\x31\x30\x31\x22\x2f\x3e\x3c\x70\x61\x74\x68\x20\x64\x3d\x22\x4d\
\x39\x35\x2e\x32\x37\x32\x20\x35\x38\x2e\x37\x37\x32\x63\x30\x20\
\x31\x39\x2e\x35\x37\x35\x2d\x31\x35\x2e\x39\x32\x35\x20\x33\x35\
\x2e\x35\x2d\x33\x35\x2e\x35\x20\x33\x35\x2e\x35\x2d\x31\x39\x2e\
\x35\x37\x34\x20\x30\x2d\x33\x35\x2e\x35\x2d\x31\x35\x2e\x39\x32\
\x36\x2d\x33\x35\x2e\x35\x2d\x33\x35\x2e\x35\x20\x30\x2d\x31\x30\
\x2e\x32\x20\x34\x2e\x33\x33\x32\x2d\x31\x39\x2e\x34\x30\x36\x20\
\x31\x31\x2e\x32\x34\x35\x2d\x32\x35\x2e\x38\x39\x6c\x2d\x31\x34\
\x2e\x33\x36\x35\x2d\x31\x35\x2e\x33\x33\x43\x31\x30\x2e\x31\x35\
\x34\x20\x32\x37\x2e\x38\x36\x20\x33\x2e\x32\x37\x32\x20\x34\x32\
\x2e\x35\x30\x37\x20\x33\x2e\x32\x37\x32\x20\x35\x38\x2e\x37\x37\
\x63\x30\x20\x33\x31\x2e\x32\x30\x34\x20\x32\x35\x2e\x32\x39\x37\
\x20\x35\x36\x2e\x35\x20\x35\x36\x2e\x35\x20\x35\x36\x2e\x35\x20\
\x33\x31\x2e\x32\x30\x34\x20\x30\x20\x35\x36\x2e\x35\x2d\x32\x35\
\x2e\x32\x39\x37\x20\x35\x36\x2e\x35\x2d\x35\x36\x2e\x35\x22\x20\
\x66\x69\x6c\x6c\x3d\x22\x23\x30\x31\x30\x31\x30\x31\x22\x2f\x3e\
\x3c\x70\x61\x74\x68\x20\x64\x3d\x22\x4d\x34\x39\x2e\x37\x38\x35\
\x20\x30\x48\x36\x39\x2e\x37\x36\x76\x36\x31\x2e\x35\x37\x36\x48\
\x34\x39\x2e\x37\x38\x35\x7a\x22\x20\x66\x69\x6c\x6c\x3d\x22\x23\
\x30\x31\x30\x31\x30\x31\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\
\x00\x00\x00\x21\
\x3c\
\xb8\x64\x18\xca\xef\x9c\x95\xcd\x21\x1c\xbf\x60\xa1\xbd\xdd\xa7\
\x00\x00\x00\x05\x69\x74\x5f\x49\x54\x88\x00\x00\x00\x02\x01\x01\
\
\x00\x00\x34\x8a\
\x3c\
\xb8\x64\x18\xca\xef\x9c\x95\xcd\x21\x1c\xbf\x60\xa1\xbd\xdd\xa7\
@@ -1077,14 +1254,47 @@ qt_resource_data = b"\
\x66\x6f\x72\x20\x79\x6f\x75\x72\x20\x70\x61\x74\x69\x65\x6e\x63\
\x65\x2e\x07\x00\x00\x00\x0a\x6d\x61\x69\x6e\x57\x69\x6e\x64\x6f\
\x77\x01\x88\x00\x00\x00\x02\x01\x01\
\x00\x00\x00\x21\
\x3c\
\xb8\x64\x18\xca\xef\x9c\x95\xcd\x21\x1c\xbf\x60\xa1\xbd\xdd\xa7\
\x00\x00\x00\x05\x69\x74\x5f\x49\x54\x88\x00\x00\x00\x02\x01\x01\
\
"

qt_resource_name = b"\
\x00\x0c\
\x0d\xfc\x11\x13\
\x00\x74\
\x00\x72\x00\x61\x00\x6e\x00\x73\x00\x6c\x00\x61\x00\x74\x00\x69\x00\x6f\x00\x6e\x00\x73\
\x00\x0a\
\x0a\xcc\x85\x87\
\x00\x68\
\x00\x69\x00\x64\x00\x64\x00\x65\x00\x6e\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x0d\
\x02\xc6\x5b\x87\
\x00\x70\
\x00\x6c\x00\x61\x00\x79\x00\x70\x00\x61\x00\x75\x00\x73\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0b\
\x08\x61\x82\x07\
\x00\x74\
\x00\x6f\x00\x73\x00\x74\x00\x61\x00\x72\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x09\
\x0d\xc5\xb4\x07\
\x00\x70\
\x00\x6f\x00\x77\x00\x65\x00\x72\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x0b\
\x0c\x46\xd2\x07\
\x00\x72\
\x00\x65\x00\x6d\x00\x6f\x00\x76\x00\x65\x00\x64\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x08\
\x06\x63\x59\x27\
\x00\x6c\
\x00\x6f\x00\x6f\x00\x70\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0b\
\x06\x42\x36\x27\
\x00\x73\
\x00\x74\x00\x6f\x00\x70\x00\x70\x00\x65\x00\x64\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x08\
\x0a\x61\x5a\xa7\
\x00\x69\
\x00\x63\x00\x6f\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\
@@ -1092,66 +1302,59 @@ qt_resource_name = b"\
\x00\xbd\xd0\x67\
\x00\x72\
\x00\x75\x00\x6e\x00\x6e\x00\x69\x00\x6e\x00\x67\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x0b\
\x06\x42\x36\x27\
\x00\x73\
\x00\x74\x00\x6f\x00\x70\x00\x70\x00\x65\x00\x64\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x0a\
\x0a\xcc\x85\x87\
\x00\x68\
\x00\x69\x00\x64\x00\x64\x00\x65\x00\x6e\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x09\
\x0d\xc5\xb4\x07\
\x00\x70\
\x00\x6f\x00\x77\x00\x65\x00\x72\x00\x2e\x00\x73\x00\x76\x00\x67\
\x00\x0c\
\x0d\xfc\x11\x13\
\x00\x74\
\x00\x72\x00\x61\x00\x6e\x00\x73\x00\x6c\x00\x61\x00\x74\x00\x69\x00\x6f\x00\x6e\x00\x73\
\x00\x05\
\x00\x70\x75\x7d\
\x00\x69\
\x00\x74\x00\x2e\x00\x71\x00\x6d\
\x00\x05\
\x00\x6a\x85\x7d\
\x00\x64\
\x00\x65\x00\x2e\x00\x71\x00\x6d\
\x00\x05\
\x00\x70\x75\x7d\
\x00\x69\
\x00\x74\x00\x2e\x00\x71\x00\x6d\
"

qt_resource_struct_v1 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x07\x00\x00\x00\x01\
\x00\x00\x00\x32\x00\x00\x00\x00\x00\x01\x00\x00\x08\x19\
\x00\x00\x00\x4e\x00\x00\x00\x00\x00\x01\x00\x00\x08\xd1\
\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x01\x29\
\x00\x00\x00\x6a\x00\x00\x00\x00\x00\x01\x00\x00\x09\x35\
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x00\x84\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x88\
\x00\x00\x00\x9c\x00\x02\x00\x00\x00\x02\x00\x00\x00\x08\
\x00\x00\x00\xca\x00\x00\x00\x00\x00\x01\x00\x00\x0d\x21\
\x00\x00\x00\xba\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xfc\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0a\x00\x00\x00\x01\
\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x01\x00\x00\x17\x43\
\x00\x00\x00\x38\x00\x00\x00\x00\x00\x01\x00\x00\x01\x53\
\x00\x00\x00\xbe\x00\x00\x00\x00\x00\x01\x00\x00\x0f\xef\
\x00\x00\x00\xa8\x00\x00\x00\x00\x00\x01\x00\x00\x0a\xef\
\x00\x00\x00\x58\x00\x00\x00\x00\x00\x01\x00\x00\x04\x12\
\x00\x00\x00\xda\x00\x00\x00\x00\x00\x01\x00\x00\x10\x53\
\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x00\x8c\x00\x00\x00\x00\x00\x01\x00\x00\x09\xc6\
\x00\x00\x00\x74\x00\x00\x00\x00\x00\x01\x00\x00\x07\x52\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x0b\
\x00\x00\x01\x0c\x00\x00\x00\x00\x00\x01\x00\x00\x17\xfb\
\x00\x00\x01\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x4c\x89\
"

qt_resource_struct_v2 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x07\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0a\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x32\x00\x00\x00\x00\x00\x01\x00\x00\x08\x19\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x00\x4e\x00\x00\x00\x00\x00\x01\x00\x00\x08\xd1\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x01\x29\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x00\x6a\x00\x00\x00\x00\x00\x01\x00\x00\x09\x35\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x00\x84\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x88\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x00\x9c\x00\x02\x00\x00\x00\x02\x00\x00\x00\x08\
\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x01\x00\x00\x17\x43\
\x00\x00\x01\x77\x97\x1d\x7d\x83\
\x00\x00\x00\x38\x00\x00\x00\x00\x00\x01\x00\x00\x01\x53\
\x00\x00\x01\x7a\x59\x5d\xb8\x00\
\x00\x00\x00\xbe\x00\x00\x00\x00\x00\x01\x00\x00\x0f\xef\
\x00\x00\x01\x77\x97\x1d\x7d\x83\
\x00\x00\x00\xa8\x00\x00\x00\x00\x00\x01\x00\x00\x0a\xef\
\x00\x00\x01\x7a\x59\x5d\xb8\x00\
\x00\x00\x00\x58\x00\x00\x00\x00\x00\x01\x00\x00\x04\x12\
\x00\x00\x01\x7a\x59\x5d\xb8\x00\
\x00\x00\x00\xda\x00\x00\x00\x00\x00\x01\x00\x00\x10\x53\
\x00\x00\x01\x77\x97\x1d\x7d\x83\
\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x77\x97\x1d\x7d\x83\
\x00\x00\x00\x8c\x00\x00\x00\x00\x00\x01\x00\x00\x09\xc6\
\x00\x00\x01\x77\x97\x1d\x7d\x83\
\x00\x00\x00\x74\x00\x00\x00\x00\x00\x01\x00\x00\x07\x52\
\x00\x00\x01\x77\x97\x1d\x7d\x83\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x0b\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\xca\x00\x00\x00\x00\x00\x01\x00\x00\x0d\x21\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x00\xba\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xfc\
\x00\x00\x01\x77\x02\x6d\xb8\x18\
\x00\x00\x01\x0c\x00\x00\x00\x00\x00\x01\x00\x00\x17\xfb\
\x00\x00\x01\x77\x97\x1d\x7d\x80\
\x00\x00\x01\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x4c\x89\
\x00\x00\x01\x77\x97\x1d\x7d\x83\
"

qt_version = [int(v) for v in QtCore.qVersion().split('.')]

Loading…
Cancel
Save