Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Spencer Du
control software
Commits
22393bfa
Commit
22393bfa
authored
Sep 30, 2019
by
Spencer Du
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed gui rendering issue when importing
parent
0b82e33e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
1 deletion
+14
-1
GUI.py
GUI.py
+7
-1
__pycache__/cameras2.cpython-37.pyc
__pycache__/cameras2.cpython-37.pyc
+0
-0
__pycache__/camerasEmbedded.cpython-37.pyc
__pycache__/camerasEmbedded.cpython-37.pyc
+0
-0
cameras.ui
cameras.ui
+6
-0
list_of_devices_currently_active.txt
list_of_devices_currently_active.txt
+1
-0
No files found.
GUI.py
View file @
22393bfa
import
paho.mqtt.client
as
mqtt
import
os
import
sys
import
PyQt5
from
PyQt5.QtWidgets
import
*
from
PyQt5.QtCore
import
*
from
PyQt5
import
QtWidgets
,
uic
from
PyQt5
import
QtWidgets
,
uic
,
QtCore
from
mqtt
import
*
import
json
import
time
if
hasattr
(
QtCore
.
Qt
,
'AA_EnableHighDpiScaling'
):
PyQt5
.
QtWidgets
.
QApplication
.
setAttribute
(
QtCore
.
Qt
.
AA_EnableHighDpiScaling
,
True
)
if
hasattr
(
QtCore
.
Qt
,
'AA_UseHighDpiPixmaps'
):
PyQt5
.
QtWidgets
.
QApplication
.
setAttribute
(
QtCore
.
Qt
.
AA_UseHighDpiPixmaps
,
True
)
class
MainWindow
(
QtWidgets
.
QMainWindow
):
def
__init__
(
self
,
parent
=
None
):
QMainWindow
.
__init__
(
self
)
...
...
__pycache__/cameras2.cpython-37.pyc
View file @
22393bfa
No preview for this file type
__pycache__/camerasEmbedded.cpython-37.pyc
View file @
22393bfa
No preview for this file type
cameras.ui
View file @
22393bfa
...
...
@@ -59,6 +59,12 @@
<height>
16
</height>
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Exposure Time
</string>
</property>
...
...
list_of_devices_currently_active.txt
View file @
22393bfa
laser
cameras
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