Files
qelectrotech-source-mirror/sources/SearchAndReplace/ui/replacefoliowidget.ui
T
ispyisail f5962ecd06 Make English the source language of the interface text
Every tr() source string in the code and the forms is now the English
text, and French is a translation (qet_fr.ts) like the other languages.
Generated, not hand-edited: master ef795a21e5 converted by
qet-en-source (harness 4c4ddc9).

3144 messages get an English source, 665 already had one, 0 left French; 8 shared-wording pairs disambiguated.
C++: 2904 literals in 233 files. Forms: 809 strings in 65 files. All 34 .ts files re-keyed; qet_fr.ts filled.
lupdate check: PASS. What each of 38 languages shows, old vs new: same 118266, English instead of French 38433, comment fallback 51, differences 0.
2026-10-08 12:50:13 +13:00

388 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ReplaceFolioWidget</class>
<widget class="QWidget" name="ReplaceFolioWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>744</width>
<height>705</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tabPosition">
<enum>QTabWidget::South</enum>
</property>
<property name="tabShape">
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<property name="elideMode">
<enum>Qt::ElideNone</enum>
</property>
<property name="usesScrollButtons">
<bool>true</bool>
</property>
<property name="tabsClosable">
<bool>false</bool>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Main</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="9" column="1">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Rev index</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Location</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="label_5">
<property name="text">
<string>File:</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="m_title_le">
<property name="toolTip">
<string>Available as variable %title for title blocks template</string>
</property>
<property name="placeholderText">
<string>Do not change</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLineEdit" name="m_author_le">
<property name="toolTip">
<string>Available as variable %author for title blocks template</string>
</property>
<property name="placeholderText">
<string>Do not change</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Author:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Date:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Plant:</string>
</property>
</widget>
</item>
<item row="9" column="3">
<widget class="QLineEdit" name="m_indice">
<property name="toolTip">
<string>Available as variable %indexrev for title blocks template</string>
</property>
<property name="placeholderText">
<string>Do not change</string>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="QLineEdit" name="m_file_le">
<property name="toolTip">
<string>Available as variable %filename for title blocks template</string>
</property>
<property name="placeholderText">
<string>Do not change</string>
</property>
</widget>
</item>
<item row="10" column="3">
<layout class="QGridLayout" name="gridLayout"/>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Sheet:</string>
</property>
</widget>
</item>
<item row="3" column="3">
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0">
<item row="1" column="0">
<widget class="QRadioButton" name="m_no_date_rb">
<property name="text">
<string>No date</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDateEdit" name="m_date_edit">
<property name="toolTip">
<string>Available as variable %date for title blocks template</string>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="m_fixed_date_rb">
<property name="text">
<string>Fixed date:</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="m_date_now_pb">
<property name="toolTip">
<string>Set to current date</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="start"/>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QRadioButton" name="m_unchanged_date">
<property name="text">
<string>Do not change</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="3">
<widget class="QLineEdit" name="m_folio_le">
<property name="toolTip">
<string>Available as % folio for titleblock models
The following variables can be used:
-%id: current number of sheets in the project
-%total: total number of sheets in the project
-%autonum: sheet auto numbering</string>
</property>
<property name="placeholderText">
<string>Do not change</string>
</property>
</widget>
</item>
<item row="8" column="3">
<widget class="QLineEdit" name="m_loc">
<property name="toolTip">
<string>Available as variable %locmach for title blocks template</string>
</property>
<property name="placeholderText">
<string>Do not change</string>
</property>
</widget>
</item>
<item row="6" column="3">
<widget class="QLineEdit" name="m_plant">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Available as% plant for title block templates&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="placeholderText">
<string>Do not change</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Title:</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QCheckBox" name="m_title_cb">
<property name="toolTip">
<string>Delete this text</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QCheckBox" name="m_author_cb">
<property name="toolTip">
<string>Delete this text</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="4">
<widget class="QCheckBox" name="m_file_cb">
<property name="toolTip">
<string>Delete this text</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="5" column="4">
<widget class="QCheckBox" name="m_folio_cb">
<property name="toolTip">
<string>Delete this text</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="6" column="4">
<widget class="QCheckBox" name="m_plant_cb">
<property name="toolTip">
<string>Delete this text</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="8" column="4">
<widget class="QCheckBox" name="m_loc_cb">
<property name="toolTip">
<string>Delete this text</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="9" column="4">
<widget class="QCheckBox" name="m_indice_cb">
<property name="toolTip">
<string>Delete this text</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Custom</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QVBoxLayout" name="m_tab2_vlayout">
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>You may define here your own name/value associations so the title block takes them into account.
E.g. associating the name "volta" with the value "1745" will replace %{volta} by 1745 within the title block.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../../../qelectrotech.qrc"/>
</resources>
<connections>
<connection>
<sender>m_fixed_date_rb</sender>
<signal>toggled(bool)</signal>
<receiver>m_date_edit</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>144</x>
<y>145</y>
</hint>
<hint type="destinationlabel">
<x>250</x>
<y>145</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_fixed_date_rb</sender>
<signal>toggled(bool)</signal>
<receiver>m_date_now_pb</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>144</x>
<y>145</y>
</hint>
<hint type="destinationlabel">
<x>356</x>
<y>145</y>
</hint>
</hints>
</connection>
</connections>
</ui>