Added signal graphing
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<layout class="QVBoxLayout" name="resultsLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="resultsPlaceholder">
|
||||
<property name="text">
|
||||
<string>Simulation graphs and result controls can be added here.</string>
|
||||
<widget class="QTabWidget" name="graphTabs">
|
||||
<property name="tabsClosable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
<property name="movable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -76,10 +76,34 @@
|
||||
<addaction name="actionAbout"/>
|
||||
<addaction name="actionAboutQt"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuGraph">
|
||||
<property name="title">
|
||||
<string>&Graph</string>
|
||||
</property>
|
||||
<addaction name="actionAddGraph"/>
|
||||
<addaction name="actionRemoveGraph"/>
|
||||
</widget>
|
||||
<addaction name="menuFile"/>
|
||||
<addaction name="menuView"/>
|
||||
<addaction name="menuGraph"/>
|
||||
<addaction name="menuHelp"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="workspaceToolbar">
|
||||
<property name="windowTitle">
|
||||
<string>Workspace</string>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonStyle::ToolButtonIconOnly</enum>
|
||||
</property>
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<addaction name="actionAddGraph"/>
|
||||
<addaction name="actionRemoveGraph"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="fileToolbar">
|
||||
<property name="windowTitle">
|
||||
<string>File</string>
|
||||
@@ -93,10 +117,10 @@
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<addaction name="actionClear"/>
|
||||
<addaction name="actionOpen"/>
|
||||
<addaction name="actionSave"/>
|
||||
<addaction name="actionSaveAs"/>
|
||||
<addaction name="actionClear"/>
|
||||
</widget>
|
||||
<widget class="QDockWidget" name="statusDock">
|
||||
<property name="windowTitle">
|
||||
@@ -162,6 +186,36 @@
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QDockWidget" name="signalsDock">
|
||||
<property name="windowTitle">
|
||||
<string>Signals</string>
|
||||
</property>
|
||||
<attribute name="dockWidgetArea">
|
||||
<number>2</number>
|
||||
</attribute>
|
||||
<widget class="QWidget" name="signalsDockContents">
|
||||
<layout class="QVBoxLayout" name="signalsLayout">
|
||||
<item>
|
||||
<widget class="QTreeWidget" name="signalsTree">
|
||||
<property name="contextMenuPolicy">
|
||||
<enum>Qt::ContextMenuPolicy::CustomContextMenu</enum>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SelectionMode::ExtendedSelection</enum>
|
||||
</property>
|
||||
<property name="headerHidden">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Signal</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<action name="actionOpen">
|
||||
<property name="icon">
|
||||
<iconset resource="../resources/resources.qrc">
|
||||
@@ -236,6 +290,30 @@
|
||||
<string>Results</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAddGraph">
|
||||
<property name="icon">
|
||||
<iconset resource="../resources/resources.qrc">
|
||||
<normaloff>:/icons/icons/list-add.png</normaloff>:/icons/icons/list-add.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Add Graph</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Add a graph workspace tab</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRemoveGraph">
|
||||
<property name="icon">
|
||||
<iconset resource="../resources/resources.qrc">
|
||||
<normaloff>:/icons/icons/list-remove.png</normaloff>:/icons/icons/list-remove.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Remove Current Graph</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Remove the current graph workspace tab</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../resources/resources.qrc"/>
|
||||
|
||||
Reference in New Issue
Block a user