* removed header strings from ui file so that they can be dynamically set from cpp file * use enum for column numbers * only replace load button with loaded indicator (much faster and checkboxes no longer get unselected by loading a workbench) * improved i18n (allows better positioning of argument for translators) * improved column ordering (buttons and checkboxes much closer to icon and name) * fixed variable camelCase (checkbox -> checkBox) * exit for-loop if button was found * added check for nullptr
78 lines
2.1 KiB
XML
78 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Gui::Dialog::DlgSettingsLazyLoaded</class>
|
|
<widget class="QWidget" name="Gui::Dialog::DlgSettingsLazyLoaded">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>607</width>
|
|
<height>859</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Available Workbenches</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="noteLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p>To preserve resources, FreeCAD does not load workbenches until they are used. Loading them may provide access to additional preferences related to their functionality.</p><p>The following workbenches are available in your installation:</p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QTableWidget" name="workbenchTable">
|
|
<property name="showGrid">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|