Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
total_control_app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Drechsler
total_control_app
Commits
f4cb859d
Commit
f4cb859d
authored
May 06, 2019
by
Martin Drechsler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small changes
parent
13b3044f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
cameraGui.py
cameraGui.py
+3
-1
threads.py
examples/threads.py
+1
-1
main.py
main.py
+3
-0
No files found.
cameraGui.py
View file @
f4cb859d
...
...
@@ -43,7 +43,9 @@ class CameraGuiMainWindow(QMainWindow):
def
initUI
(
self
):
self
.
win
=
QtGui
.
QMainWindow
()
self
.
win
.
setWindowTitle
(
"Toy GUI"
)
self
.
win
.
setWindowTitle
(
"Camera GUI"
)
self
.
win
.
setWindowIcon
(
QtGui
.
QIcon
(
'Butter_robot.png'
))
self
.
win
.
resize
(
1000
,
500
)
self
.
area
=
dockarea
.
DockArea
()
...
...
examples/threads.py
View file @
f4cb859d
...
...
@@ -35,7 +35,7 @@ some_thread.start()
time
.
sleep
(
5
)
stop_loop_thread
(
some_thread
)
#%%
#%%
########################################################################################
from
PyQt5
import
QtCore
def
block_until_emit
(
signal
,
timeout
=
10000
):
"""Block loop until signal emitted, or timeout (ms) elapses."""
...
...
main.py
View file @
f4cb859d
...
...
@@ -15,6 +15,9 @@ from controlGui import ControlGui
if
__name__
==
"__main__"
:
import
sys
app
=
QtGui
.
QApplication
([])
app_icon
=
QtGui
.
QIcon
()
app_icon
.
addFile
(
'Butter_robot.png'
)
app
.
setWindowIcon
(
app_icon
)
camera
=
AndorZyla
(
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment