Skip to content
Snippets Groups Projects
Unverified Commit 84478686 authored by Kristoffer Richardsson's avatar Kristoffer Richardsson Committed by GitHub
Browse files

Merge pull request #355 from qualisys/dev-qualisys

Added QualisysTab
parents 9efa2846 1c3be7c0
No related branches found
No related tags found
No related merge requests found
...@@ -23,3 +23,6 @@ msvcp90.dll ...@@ -23,3 +23,6 @@ msvcp90.dll
# PyCharm # PyCharm
.idea/* .idea/*
.DS_Store .DS_Store
# vscode
.vscode/
\ No newline at end of file
...@@ -17,7 +17,10 @@ if sys.argv[1] == 'build': ...@@ -17,7 +17,10 @@ if sys.argv[1] == 'build':
'build_exe': {'includes': ['numpy.core._methods', 'build_exe': {'includes': ['numpy.core._methods',
'numpy.lib.format', 'numpy.lib.format',
'pyqtgraph.debug', 'pyqtgraph.debug',
'pyqtgraph.ThreadsafeTimer']} 'pyqtgraph.ThreadsafeTimer',
],
'packages': ['asyncio'],
'excludes': ['tkinter']}
}, },
'executables': [Executable("bin/cfclient", icon='bitcraze.ico')], 'executables': [Executable("bin/cfclient", icon='bitcraze.ico')],
} }
...@@ -128,7 +131,9 @@ setup( ...@@ -128,7 +131,9 @@ setup(
'appdirs>=1.4.0', 'appdirs>=1.4.0',
'pyzmq', 'pyzmq',
'pyqtgraph>=0.10', 'pyqtgraph>=0.10',
'PyYAML'], 'PyYAML',
'quamash==0.6.1',
'qtm>=2.0.2'],
# List of dev and qt dependencies # List of dev and qt dependencies
# You can install them by running # You can install them by running
......
...@@ -28,11 +28,13 @@ ...@@ -28,11 +28,13 @@
import sys import sys
import os import os
import asyncio
import argparse import argparse
import datetime import datetime
import logging import logging
from quamash import QSelectorEventLoop
import cfclient import cfclient
__author__ = 'Bitcraze AB' __author__ = 'Bitcraze AB'
...@@ -138,6 +140,10 @@ def main(): ...@@ -138,6 +140,10 @@ def main():
app = QApplication(sys.argv) app = QApplication(sys.argv)
# Create and set an event loop that combines qt and asyncio
loop = QSelectorEventLoop(app)
asyncio.set_event_loop(loop)
app.setWindowIcon(QIcon(cfclient.module_path + "/icon-256.png")) app.setWindowIcon(QIcon(cfclient.module_path + "/icon-256.png"))
# Make sure the right icon is set in Windows 7+ taskbar # Make sure the right icon is set in Windows 7+ taskbar
if os.name == 'nt': if os.name == 'nt':
......
This diff is collapsed.
...@@ -39,6 +39,7 @@ from .LogTab import LogTab ...@@ -39,6 +39,7 @@ from .LogTab import LogTab
from .ParamTab import ParamTab from .ParamTab import ParamTab
from .PlotTab import PlotTab from .PlotTab import PlotTab
from .locopositioning_tab import LocoPositioningTab from .locopositioning_tab import LocoPositioningTab
from .QualisysTab import QualisysTab
__author__ = 'Bitcraze AB' __author__ = 'Bitcraze AB'
__all__ = [] __all__ = []
...@@ -54,4 +55,5 @@ available = [ ...@@ -54,4 +55,5 @@ available = [
ParamTab, ParamTab,
PlotTab, PlotTab,
LocoPositioningTab, LocoPositioningTab,
QualisysTab,
] ]
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment