Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
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::ProjectLibraryUpdater</class>
<widget class="QDialog" name="librepcb::editor::ProjectLibraryUpdater">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>752</width>
<height>414</height>
</rect>
</property>
<property name="windowTitle">
<string>Project Library Updater</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>:/img/actions/refresh.png</normaloff>:/img/actions/refresh.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">QLabel {
background-color: rgb(255, 255, 127);
color: rgb(170, 0, 0);
};</string>
</property>
<property name="text">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Noto Sans'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This dialog allows you to update all project library elements to the latest version found in the workspace library.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">So if you modified some library elements in the workspace, this updater applies these modifications also to the project.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Please note that the functionality of this updater is currently very limited:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;"> - The project must be closed during the update process (project will be closed automatically).</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;"> - Partial updates are not possible. Either all or no library elements will be updated.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;"> - Breaking changes in library elements can cause the update to fail (i.e. no elements will be updated).</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;"> - The update cannot be undone. It's recommended to first create a backup of the project!</span></p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="margin">
<number>3</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnUpdate">
<property name="text">
<string>Update library of "%1"!</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="log"/>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>librepcb::editor::ProjectLibraryUpdater</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>716</x>
<y>392</y>
</hint>
<hint type="destinationlabel">
<x>639</x>
<y>409</y>
</hint>
</hints>
</connection>
</connections>
</ui>