This patch includes the actual implementation of Link, which is implemented as an extension named LinkBaseExtension in App namespace, and a full view provider ViewProviderLink in Gui. The reason of not using ViewProviderExtension is because it need full control when display, not just extending existing functionalities. Please see [here](https://git.io/fjPue) for more details of the implementation. This patch also includes a set of link manipulation commands, and a task panel for overriding geometry element colors.
93 lines
2.4 KiB
XML
93 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Gui::TaskElementColors</class>
|
|
<widget class="QWidget" name="Gui::TaskElementColors">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>483</width>
|
|
<height>406</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Set element color</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="objectLabel">
|
|
<property name="text">
|
|
<string>TextLabel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="elementList">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QCheckBox" name="recompute">
|
|
<property name="text">
|
|
<string>Recompute after commit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="removeSelection">
|
|
<property name="text">
|
|
<string>Remove</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="addSelection">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QPushButton" name="removeAll">
|
|
<property name="text">
|
|
<string>Remove all</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="hideSelection">
|
|
<property name="text">
|
|
<string>Hide</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="boxSelect">
|
|
<property name="text">
|
|
<string>Box select</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QCheckBox" name="onTop">
|
|
<property name="text">
|
|
<string>On-top when selected</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|