Start of graph view
This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>graphEditorWidget</class>
|
||||
<widget class="QWidget" name="graphEditorWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1079</width>
|
||||
<height>730</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Graph Editor</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QToolBar" name="graphToolBar">
|
||||
<property name="windowTitle">
|
||||
<string>Graph tools</string>
|
||||
</property>
|
||||
<property name="movable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="floatable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<addaction name="actionSelect"/>
|
||||
<addaction name="actionAddComponent"/>
|
||||
<addaction name="actionAddConnection"/>
|
||||
<addaction name="actionDelete"/>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGraphicsView" name="graphicsView">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::NoFrame</enum>
|
||||
</property>
|
||||
<property name="dragMode">
|
||||
<enum>QGraphicsView::DragMode::RubberBandDrag</enum>
|
||||
</property>
|
||||
<property name="renderHints">
|
||||
<set>QPainter::RenderHint::Antialiasing</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
<action name="actionSelect">
|
||||
<property name="text">
|
||||
<string>Select</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Select graph items</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAddComponent">
|
||||
<property name="text">
|
||||
<string>Add Component</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Add a component</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAddConnection">
|
||||
<property name="text">
|
||||
<string>Add Connection</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Add a connection</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDelete">
|
||||
<property name="text">
|
||||
<string>Delete</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Delete selected graph items</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
Reference in New Issue
Block a user