Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbst
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
gui
openbst
Commits
22c5bb66
Commit
22c5bb66
authored
2 years ago
by
Claudio Scafuri
Browse files
Options
Downloads
Patches
Plain Diff
PyQt5
parent
c53185fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Qt5 python3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/bstController.py
+1
-1
1 addition, 1 deletion
src/bstController.py
src/openBST.py
+3
-3
3 additions, 3 deletions
src/openBST.py
src/openBSTGUI.py
+215
-228
215 additions, 228 deletions
src/openBSTGUI.py
with
219 additions
and
232 deletions
src/bstController.py
+
1
−
1
View file @
22c5bb66
...
...
@@ -241,7 +241,7 @@ class BSTController(object):
self
.
fstatus
=
TangoDev
(
'
f/misc/fermistatus
'
)
#terfermistatus
self
.
terafermistatus
=
TangoDev
(
'
srv-t
f-srf
:20000/tf/mover1d/x_sdiag_tf.01
'
)
self
.
terafermistatus
=
TangoDev
(
'
srv-t
ango-tf-01
:20000/tf/mover1d/x_sdiag_tf.01
'
)
##############################
...
...
This diff is collapsed.
Click to expand it.
src/openBST.py
+
3
−
3
View file @
22c5bb66
#!/usr/bin/python
import
sys
from
PyQt
4
import
Qt
Gui
,
QtCore
from
PyQt
5
import
Qt
Core
,
QtWidgets
import
openBSTGUI
import
bstController
class
MainWindow
(
Qt
Gui
.
QMainWindow
,
openBSTGUI
.
Ui_OpenBST
):
class
MainWindow
(
Qt
Widgets
.
QMainWindow
,
openBSTGUI
.
Ui_OpenBST
):
def
__init__
(
self
,
parent
=
None
):
super
(
MainWindow
,
self
).
__init__
(
parent
)
...
...
@@ -221,7 +221,7 @@ class Executor(QtCore.QThread):
# print("Running")
self
.
function
()
app
=
Qt
Gui
.
QApplication
(
sys
.
argv
)
app
=
Qt
Widgets
.
QApplication
(
sys
.
argv
)
main
=
MainWindow
()
main
.
show
()
sys
.
exit
(
app
.
exec_
())
This diff is collapsed.
Click to expand it.
src/openBSTGUI.py
+
215
−
228
View file @
22c5bb66
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment