Loading files
c730ec352This file is pinned to the selected release. Download the original to open it in your design tool.
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>librepcb::editor::WorkspaceSettingsDialog</class>
<widget class="QDialog" name="librepcb::editor::WorkspaceSettingsDialog">
<property name="windowModality">
<enum>Qt::WindowModality::ApplicationModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>704</width>
<height>450</height>
</rect>
</property>
<property name="windowTitle">
<string>Workspace Settings</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="generalTab">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::FieldGrowthPolicy::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Language:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cbxAppLocale">
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Length Unit:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cbxDefaultLengthUnit">
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>User Name:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QVBoxLayout" name="verticalLayout_7">
<property name="spacing">
<number>3</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
</property>
<item>
<widget class="QLineEdit" name="edtUserName">
<property name="text">
<string notr="true"/>
</property>
<property name="maxLength">
<number>100</number>
</property>
<property name="placeholderText">
<string extracomment="Example for a user name.">e.g. "John Doe"</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>This name will be used as author when creating new projects or libraries.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Autosave Interval:</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Rendering Method:</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lblDesktopIntegration">
<property name="text">
<string>Desktop Integration:</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Dismissed Messages:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="btnResetDismissedMessages">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true">Reset</string>
</property>
</widget>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QSpinBox" name="spbAutosaveInterval">
<property name="maximum">
<number>10000</number>
</property>
<property name="singleStep">
<number>60</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Seconds (0 = disable autosave)</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="cbxUseOpenGl">
<property name="text">
<string>Use OpenGL Hardware Acceleration</string>
</property>
</widget>
</item>
<item row="5" column="1">
<layout class="QVBoxLayout" name="verticalLayout_8">
<property name="spacing">
<number>3</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QToolButton" name="btnInstallApp">
<property name="text">
<string>Install...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnUninstallApp">
<property name="text">
<string>Uninstall...</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblDesktopIntegrationStatus">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="indent">
<number>10</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_20">
<property name="text">
<string>Adds LibrePCB to the start menu and registers the *.lpp file extension.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="appearanceTab">
<attribute name="title">
<string>Appearance</string>
</attribute>
<layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0,0,1" columnstretch="0,0,1,0,0,0,0,0,0,0">
<property name="horizontalSpacing">
<number>0</number>
</property>
<item row="2" column="2">
<widget class="QComboBox" name="cbxBoard2dColorSchemes">
<property name="font">
<font>
<bold>false</bold>
</font>
</property>
<property name="maxVisibleItems">
<number>15</number>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QComboBox" name="cbxSchematicColorSchemes">
<property name="font">
<font>
<bold>false</bold>
</font>
</property>
<property name="maxVisibleItems">
<number>15</number>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="QToolButton" name="btnDuplicateSchematicColorScheme">
<property name="toolTip">
<string>Duplicate</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/copy.png</normaloff>:/img/actions/copy.png</iconset>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_18">
<property name="font">
<font>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Schematics:</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QToolButton" name="btnEditBoard2dColorScheme">
<property name="toolTip">
<string>Modify (only for user-defined color schemes)</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/edit.png</normaloff>:/img/actions/edit.png</iconset>
</property>
</widget>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>6</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="7">
<widget class="QLabel" name="label_17">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Grid:</string>
</property>
<property name="indent">
<number>20</number>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Theme:</string>
</property>
</widget>
</item>
<item row="3" column="4">
<widget class="QToolButton" name="btnEditBoard3dColorScheme">
<property name="toolTip">
<string>Modify (only for user-defined color schemes)</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/edit.png</normaloff>:/img/actions/edit.png</iconset>
</property>
</widget>
</item>
<item row="2" column="9">
<widget class="QComboBox" name="cbxBoardGridStyle">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QToolButton" name="btnRemoveSchematicColorScheme">
<property name="toolTip">
<string>Remove (only for user-defined color schemes)</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/minus.png</normaloff>:/img/actions/minus.png</iconset>
</property>
</widget>
</item>
<item row="3" column="6">
<widget class="QToolButton" name="btnDuplicateBoard3dColorScheme">
<property name="toolTip">
<string>Duplicate</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/copy.png</normaloff>:/img/actions/copy.png</iconset>
</property>
</widget>
</item>
<item row="2" column="7">
<widget class="QLabel" name="label_19">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Grid:</string>
</property>
<property name="indent">
<number>20</number>
</property>
</widget>
</item>
<item row="4" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="2">
<widget class="QComboBox" name="cbxBoard3dColorSchemes">
<property name="font">
<font>
<bold>false</bold>
</font>
</property>
<property name="maxVisibleItems">
<number>15</number>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertPolicy::NoInsert</enum>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="cbxUiTheme"/>
</item>
<item row="2" column="5">
<widget class="QToolButton" name="btnRemoveBoard2dColorScheme">
<property name="toolTip">
<string>Remove (only for user-defined color schemes)</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/minus.png</normaloff>:/img/actions/minus.png</iconset>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QToolButton" name="btnEditSchematicColorScheme">
<property name="toolTip">
<string>Modify (only for user-defined color schemes)</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/edit.png</normaloff>:/img/actions/edit.png</iconset>
</property>
</widget>
</item>
<item row="3" column="5">
<widget class="QToolButton" name="btnRemoveBoard3dColorScheme">
<property name="toolTip">
<string>Remove (only for user-defined color schemes)</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/minus.png</normaloff>:/img/actions/minus.png</iconset>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_23">
<property name="font">
<font>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>3D Views:</string>
</property>
</widget>
</item>
<item row="1" column="9">
<widget class="QComboBox" name="cbxSchematicGridStyle">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="6">
<widget class="QToolButton" name="btnDuplicateBoard2dColorScheme">
<property name="toolTip">
<string>Duplicate</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="icon">
<iconset>
<normaloff>:/img/actions/copy.png</normaloff>:/img/actions/copy.png</iconset>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_21">
<property name="font">
<font>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Boards:</string>
</property>
</widget>
</item>
<item row="0" column="8">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>6</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="libraryTab">
<attribute name="title">
<string>Library</string>
</attribute>
<layout class="QFormLayout" name="formLayout_3">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::FieldGrowthPolicy::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Preferred Languages:
(Highest priority at top)</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Preferred Norms:
(Highest priority at top)</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="librepcb::editor::EditableTableWidget" name="tblLibLocaleOrder">
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::AllEditTriggers</set>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item row="1" column="1">
<widget class="librepcb::editor::EditableTableWidget" name="tblLibNormOrder">
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::AllEditTriggers</set>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="externalApplicationsTab">
<attribute name="title">
<string>External Applications</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,3">
<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="QListWidget" name="lstExternalApplications">
<property name="frameShape">
<enum>QFrame::Shape::NoFrame</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::NoEditTriggers</set>
</property>
<property name="tabKeyNavigation">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6" stretch="0,0,0,1">
<property name="spacing">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item>
<widget class="QLabel" name="label_14">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Custom command(s):</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="layoutExternalApplicationCommands">
<property name="spacing">
<number>1</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
</layout>
</item>
<item>
<widget class="QLabel" name="lblExternalApplicationsPlaceholders">
<property name="text">
<string notr="true">Available placeholders:</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_13">
<property name="font">
<font>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>You can add multiple commands to make the same settings working on multiple computers. LibrePCB will iterate through the list of commands until one of them succeeds. If none succeeds, the system's default application will be used.</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignBottom|Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="keyboardShortcutsTab">
<attribute name="title">
<string>Keyboard Shortcuts</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<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="QTreeView" name="treeKeyboardShortcuts">
<property name="frameShape">
<enum>QFrame::Shape::NoFrame</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="indentation">
<number>8</number>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<property name="itemsExpandable">
<bool>false</bool>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
<attribute name="headerStretchLastSection">
<bool>false</bool>
</attribute>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edtCommandFilter">
<property name="inputMask">
<string notr="true"/>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="frame">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>Type to filter...</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="internetAccessTab">
<attribute name="title">
<string>Internet Access</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QLabel" name="lblApiEndpointsInfo">
<property name="text">
<string><html><body>
<p>API endpoints are used to access online services, for example to download libraries from the Internet.</p>
<p>You can add any server to this list which implements the LibrePCB API. The official LibrePCB server is <a href="https://api.librepcb.org"><span style=" text-decoration: underline; color:#007af4;">https://api.librepcb.org</span></a>.
To completely disable Internet access, just remove all entries.</p>
</body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="librepcb::editor::EditableTableWidget" name="edtApiEndpoints">
<property name="editTriggers">
<set>QAbstractItemView::EditTrigger::AllEditTriggers</set>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>Automatic Library Updates:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbxLibrariesAutoUpdateMode"/>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="cbxAutofetchLivePartInformation">
<property name="toolTip">
<string><p>Allow the editors to automatically display live information about parts (lifecycle status, stock availability, price, ...) by requesting it from the configured API endpoints.</p><p>This may generate many API requests, especially while adding components to schematics.</p><p>If this feature is disabled, no such API requests are made (and no live information is displayed) without explicit user interaction.</p></string>
</property>
<property name="text">
<string>Auto-Fetch Live Part Information</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Apply|QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok|QDialogButtonBox::StandardButton::RestoreDefaults</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>librepcb::editor::EditableTableWidget</class>
<extends>QTableView</extends>
<header location="global">librepcb/editor/widgets/editabletablewidget.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>