Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zhang, Tong
Online Model App
Commits
a263249a
Commit
a263249a
authored
Jul 22, 2021
by
Tong Zhang
Browse files
REF: Initial figures with drawing after starting up the app.
parent
e0b2e310
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/myApp/app.py
View file @
a263249a
...
...
@@ -91,6 +91,9 @@ class MyAppWindow(BaseAppForm, Ui_MainWindow):
o
.
setLineColor
(
QColor
(
'#FF0000'
))
o
.
setLineLabel
(
"$\sigma_y$"
)
# update drawing
self
.
quad1_grad_dsbox
.
valueChanged
.
emit
(
self
.
quad1_grad_dsbox
.
value
())
@
pyqtSlot
(
'QString'
)
def
on_quad1_name_changed
(
self
,
name
:
str
)
->
None
:
"""When the current selected quad name is changed, do:
...
...
Write
Preview
Supports
Markdown
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