Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!203
Simulation window
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Simulation window
simulation_window
into
master
Overview
0
Commits
5
Pipelines
1
Changes
2
Merged
Petter Källström
requested to merge
simulation_window
into
master
2 years ago
Overview
0
Commits
5
Pipelines
1
Changes
2
Expand
New plot windows =D. Closes
#135 (closed)
.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3d273210
5 commits,
2 years ago
2 files
+
246
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
b_asic/GUI/main_window.py
+
6
−
2
Options
@@ -33,10 +33,13 @@ from b_asic.GUI._preferences import GAP, GRID, MINBUTTONSIZE, PORTHEIGHT
from
b_asic.GUI.arrow
import
Arrow
from
b_asic.GUI.drag_button
import
DragButton
from
b_asic.GUI.gui_interface
import
Ui_main_window
from
b_asic.GUI.plot_window
import
PlotWindow
from
b_asic.GUI.port_button
import
PortButton
from
b_asic.GUI.select_sfg_window
import
SelectSFGWindow
from
b_asic.GUI.show_pc_window
import
ShowPCWindow
from
b_asic.GUI.simulate_sfg_window
import
Plot
,
SimulateSFGWindow
# from b_asic.GUI.simulate_sfg_window import Plot, SimulateSFGWindow
from
b_asic.GUI.simulate_sfg_window
import
SimulateSFGWindow
from
b_asic.GUI.util_dialogs
import
FaqWindow
,
KeybindsWindow
from
b_asic.GUI.utils
import
decorate_class
,
handle_error
from
b_asic.gui_utils.about_window
import
AboutWindow
@@ -716,7 +719,8 @@ class MainWindow(QMainWindow):
self
.
logger
.
info
(
"
To save the plot press
'
Ctrl+S
'
when the plot is focused.
"
)
self
.
plot
=
Plot
(
simulation
,
sfg
,
self
)
# self.plot = Plot(simulation, sfg, self)
self
.
plot
=
PlotWindow
(
simulation
.
results
)
self
.
plot
.
show
()
def
simulate_sfg
(
self
,
event
=
None
):
Loading