mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-07 20:34:14 +02:00
2752e6705c
A "Format" choice in the folio dimensions box sets the columns and rows so the whole folio, title block included, has the size of an ISO A sheet at the 96 dpi the PDF export uses. A4 landscape keeps 60 px columns and 80 px rows and comes out as an A4 page in the PDF. Nothing new is stored: the choice only fills in the columns and rows. A folio whose size already matches a paper shows that paper; any other shows "Custom". Changing the title block template after picking a paper fits the folio again; a template too tall for the paper falls back to "Custom". The same box is in Folio properties and in the new-folio defaults of the project and application settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
131 lines
3.8 KiB
XML
131 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>BorderPropertiesWidget</class>
|
|
<widget class="QWidget" name="BorderPropertiesWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>480</width>
|
|
<height>300</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="border_gb">
|
|
<property name="title">
|
|
<string>Dimensions du folio</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="m_rows_height_sp">
|
|
<property name="suffix">
|
|
<string comment="pixel" extracomment="pixel">px</string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>x</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="m_colums_count_sp"/>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QSpinBox" name="m_columns_width_sp">
|
|
<property name="suffix">
|
|
<string comment="pixel" extracomment="pixel">px</string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>x</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Lignes :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QCheckBox" name="m_display_rows_cb">
|
|
<property name="text">
|
|
<string>Afficher les en-têtes</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="m_rows_count_sp"/>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Colonnes :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QCheckBox" name="m_display_columns_cb">
|
|
<property name="text">
|
|
<string>Afficher les en-têtes</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="m_paper_label">
|
|
<property name="text">
|
|
<string>Format :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="m_paper_cb">
|
|
<property name="toolTip">
|
|
<string>Règle les colonnes et les lignes pour que le folio, cartouche compris, ait la taille de ce format de papier, à 96 points par pouce comme l'export PDF.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QComboBox" name="m_orientation_cb"/>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<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>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>m_colums_count_sp</tabstop>
|
|
<tabstop>m_columns_width_sp</tabstop>
|
|
<tabstop>m_rows_count_sp</tabstop>
|
|
<tabstop>m_rows_height_sp</tabstop>
|
|
<tabstop>m_display_columns_cb</tabstop>
|
|
<tabstop>m_display_rows_cb</tabstop>
|
|
<tabstop>m_paper_cb</tabstop>
|
|
<tabstop>m_orientation_cb</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|