mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-05 18:54:14 +02:00
8334a9a27f
A script reaches the whole project and, through the export calls, the
filesystem. That is a capability most people installing an electrical CAD
program never asked for, and leaving it on by default hands it to them
anyway. So QET_HAS_SCRIPTING builds now ship with it switched off.
QetSettings::scriptingEnabled() is the single answer, read by all three
places that need it, with QET_ENABLE_SCRIPTING=1 overriding the stored
value. The override is not decoration: a CI job or a batch run has no
dialog to tick, and a machine whose HOME is created fresh for each run has
nowhere to keep the setting either. It beats a stored "false" on purpose,
so a box unticked once cannot lock a build server out of --run for good.
Only the exact value "1" counts.
--run refuses with exit 3 and a message naming both ways in.
Projet > Exécuter un script... asks once, and turns the setting on if
the answer is yes. Asking beats grey: a disabled menu
entry says something exists and nothing about how to have
it, and this is the pattern people already know from
macro security in office software.
Configurer QElectroTech > Général > Projets has the checkbox, for
turning it back off. While the environment forces
scripting on, the box is disabled and says why, and
applyConf() then leaves the stored value alone rather
than quietly overwriting it.
runOnProject() checks as well, after both callers have. It is the one
function that actually evaluates JavaScript, so it is the one place a
future caller cannot forget to ask; the callers check first only to give a
better answer than it can.
Verified on the built binary, all four states, with an isolated HOME:
stored env result
absent - refused, exit 3
true - script runs, exit 0
false - refused, exit 3
false 1 script runs, exit 0
tst_scriptingsetting covers the same matrix hermetically, in its own
QSettings scope, and was mutation-checked: flipping the default to true
turns defaultsToOff() red.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1193 lines
38 KiB
XML
1193 lines
38 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>GeneralConfigurationPage</class>
|
|
<widget class="QWidget" name="GeneralConfigurationPage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>955</width>
|
|
<height>570</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab_3">
|
|
<attribute name="title">
|
|
<string>Apparence</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="m_system_color_layout">
|
|
<item>
|
|
<widget class="QCheckBox" name="m_use_system_color_cb">
|
|
<property name="text">
|
|
<string>Utiliser les couleurs du système</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="KColorButton" name="m_custom_app_color_kpb">
|
|
<property name="toolTip">
|
|
<string>Couleur de l'application</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="m_use_gesture_trackpad">
|
|
<property name="text">
|
|
<string>Utiliser les gestes du pavé tactile</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="m_zoom_out_beyond_folio">
|
|
<property name="text">
|
|
<string>Autoriser le dézoom au delà du folio</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="grid_startup_cb">
|
|
<property name="text">
|
|
<string>Afficher la grille par défaut (appliqué au prochain lancement)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="guides_startup_cb">
|
|
<property name="text">
|
|
<string>Afficher les guides par défaut (appliqué au prochain lancement)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="m_use_windows_mode_rb">
|
|
<property name="text">
|
|
<string>Utiliser des fen&êtres (appliqué au prochain lancement de QElectroTech)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="m_use_tab_mode_rb">
|
|
<property name="text">
|
|
<string>Utiliser des onglets (appliqué au prochain lance&ment de QElectroTech)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="m_hdpi_round_policy_widget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,1">
|
|
<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="QCheckBox" name="m_hdpi_round_cb">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="m_hdpi_round_label">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Méthode de mise à l'echelle des écrans à haute densité de pixels (hdpi) (appliqué au prochain lancement de QElectroTech) :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="m_hdpi_round_policy_cb">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</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_4">
|
|
<attribute name="title">
|
|
<string>Projets</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="m_use_folio_label">
|
|
<property name="text">
|
|
<string>Utiliser les numéros de folio à la place de leur position dans le projet</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Sauvegarde automatique des projets (appliqué au prochain lancement de QElectroTech)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QSpinBox" name="m_autosave_sb">
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>Désactivé</string>
|
|
</property>
|
|
<property name="accelerated">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="suffix">
|
|
<string comment="minute"> min</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>200</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="m_save_label_paste">
|
|
<property name="text">
|
|
<string>Ne pas conserver les labels des éléments lors des copier coller</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QCheckBox" name="m_enable_scripting">
|
|
<property name="text">
|
|
<string>Autoriser l'exécution de scripts JavaScript (Projet > Exécuter un script, et --run)</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Un script s'exécute avec vos droits : il peut lire et modifier le projet ouvert et écrire des fichiers. Désactivé par défaut ; n'exécutez que des scripts dont vous connaissez l'origine.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="m_border_0">
|
|
<property name="text">
|
|
<string extracomment="Choix de l'increment de depart 1 ou 0">Numéroter les colonnes de cartouche à partir de 0 (1 sinon)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_5">
|
|
<attribute name="title">
|
|
<string>Collections</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
<property name="title">
|
|
<string>Accès aux collections</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_16">
|
|
<property name="text">
|
|
<string>Répertoire de la collection company</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QComboBox" name="m_custom_tbt_path_cb">
|
|
<item>
|
|
<property name="text">
|
|
<string>Par defaut</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Parcourir...</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QComboBox" name="m_custom_elmt_path_cb">
|
|
<item>
|
|
<property name="text">
|
|
<string>Par defaut</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Parcourir...</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Répertoire de la collection commune</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_17">
|
|
<property name="text">
|
|
<string>Répertoire des cartouches company</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="m_company_tbt_path_cb">
|
|
<item>
|
|
<property name="text">
|
|
<string>Par defaut</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Parcourir...</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="text">
|
|
<string>Répertoire de la collection utilisateur</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_23">
|
|
<property name="text">
|
|
<string>Répertoire des Macros utilisateur</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QComboBox" name="m_user_macros_path_cb">
|
|
<item>
|
|
<property name="text">
|
|
<string>Par defaut</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Parcourir...</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="m_common_elmt_path_cb">
|
|
<item>
|
|
<property name="text">
|
|
<string>Par defaut</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Parcourir...</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="text">
|
|
<string>Répertoire des cartouches utilisateur</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="m_company_elmt_path_cb">
|
|
<item>
|
|
<property name="text">
|
|
<string>Par defaut</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Parcourir...</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="text">
|
|
<string>(Recharger les collections d'éléments pour appliquer les changements)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>Gestion des éléments</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QCheckBox" name="m_highlight_integrated_elements">
|
|
<property name="text">
|
|
<string>Mettre en valeur dans le panel les éléments fraîchement intégrés</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Chaque élément embarque des informations sur ses auteurs, sa licence, ou tout autre renseignement que vous jugerez utile dans un champ libre.
|
|
Vous pouvez spécifier ici la valeur par défaut de ce champ pour les éléments que vous créerez :</string>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextEdit" name="m_default_elements_info">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_6">
|
|
<attribute name="title">
|
|
<string>Langues</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QComboBox" name="m_lang_cb"/>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>Appliqué au prochain lancement de QElectroTech</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>421</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Textes</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_15">
|
|
<property name="text">
|
|
<string>Vous pouvez définir ici l'apparence par defaut des differents textes de QElectroTech</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
<property name="title">
|
|
<string>Textes d'éléments</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="2" column="2">
|
|
<widget class="QSpinBox" name="m_dyn_text_width_sb">
|
|
<property name="minimum">
|
|
<number>-1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_12">
|
|
<property name="text">
|
|
<string>Police :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="m_dyn_text_rotation_sb">
|
|
<property name="wrapping">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>°</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>360</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Longueur :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="m_dyn_text_font_pb"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="text">
|
|
<string>Rotation :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_7">
|
|
<property name="title">
|
|
<string>Textes indépendants</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_14">
|
|
<property name="text">
|
|
<string>Rotation :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_13">
|
|
<property name="text">
|
|
<string>Police :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="m_indi_text_rotation_sb">
|
|
<property name="suffix">
|
|
<string>°</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>360</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="m_indi_text_font_pb">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer name="horizontalSpacer_7">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_9">
|
|
<property name="title">
|
|
<string>Autres textes</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Police :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_9">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="m_font_pb">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_4">
|
|
<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="GrilleClavier">
|
|
<attribute name="title">
|
|
<string>Grille + Clavier</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Grille : 1 - 30</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
<item row="0" column="2">
|
|
<widget class="QSpinBox" name="DiagramEditor_xGrid_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="Label_Diagram_yGrid">
|
|
<property name="text">
|
|
<string>DiagramEditor yGrid</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="Label_Grid_Tip">
|
|
<property name="text">
|
|
<string>La Grille doite etre active pour pouvoir voir les modifications.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="DiagramEditor_yGrid_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="Label_Diagram_xGrid">
|
|
<property name="text">
|
|
<string>DiagramEditor xGrid</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer name="horizontalSpacer_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Déplacement au clavier : 1 - 30</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_10">
|
|
<item row="0" column="2">
|
|
<widget class="QSpinBox" name="DiagramEditor_xKeyGrid_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="DiagramEditor_yKeyGrid_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="Label_Diagram_Key_xGrid">
|
|
<property name="text">
|
|
<string>DiagramEditor (touche : gauche / droite) xGrid</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="Label_Diagram_Key_yGrid">
|
|
<property name="text">
|
|
<string>DiagramEditor (touche : haut / bas) yGrid</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer name="horizontalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="title">
|
|
<string>Déplacement au clavier avec la touche ALT : 1 - 9</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_11">
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="Label_Diagram_Key_xGrid_ALT">
|
|
<property name="text">
|
|
<string>DiagramEditor (touche : gauche / droite ) xGrid</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QSpinBox" name="DiagramEditor_yKeyGridFine_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="Label_Diagram_Key_yGrid_ALT">
|
|
<property name="text">
|
|
<string>DiagramEditor (touche : haut / bas) yGrid</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QSpinBox" name="DiagramEditor_xKeyGridFine_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_8">
|
|
<property name="title">
|
|
<string>Affichage Grille</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="label_19">
|
|
<property name="text">
|
|
<string>min:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<widget class="QSpinBox" name="DiagramEditor_Grid_PointSize_max_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer name="horizontalSpacer_10">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>555</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QSpinBox" name="ElementEditor_Grid_PointSize_min_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="Label_Diagram_Grid_PointSize">
|
|
<property name="text">
|
|
<string>Taille des points de la grille de Diagram-Editor : 1 - 5</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QSpinBox" name="DiagramEditor_Grid_PointSize_min_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="5">
|
|
<widget class="QSpinBox" name="ElementEditor_Grid_PointSize_max_sb">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<widget class="QLabel" name="label_21">
|
|
<property name="text">
|
|
<string>max:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<widget class="QLabel" name="label_18">
|
|
<property name="text">
|
|
<string>max:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="label_22">
|
|
<property name="text">
|
|
<string>min:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_20">
|
|
<property name="text">
|
|
<string>Taille des points de la grille de l'éditeur d'éléments : 1 - 5</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_5">
|
|
<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="Editor">
|
|
<attribute name="title">
|
|
<string>Editor</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_1">
|
|
<item>
|
|
<widget class="QLabel" name="label_1">
|
|
<property name="text">
|
|
<string>Max. parts in Element Editor List</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_8">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="MaxPartsElementEditorList_sb">
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>10000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>200</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_6">
|
|
<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>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>m_use_system_color_cb</tabstop>
|
|
<tabstop>m_use_gesture_trackpad</tabstop>
|
|
<tabstop>m_zoom_out_beyond_folio</tabstop>
|
|
<tabstop>m_use_windows_mode_rb</tabstop>
|
|
<tabstop>m_use_tab_mode_rb</tabstop>
|
|
<tabstop>m_save_label_paste</tabstop>
|
|
<tabstop>m_use_folio_label</tabstop>
|
|
<tabstop>m_border_0</tabstop>
|
|
<tabstop>m_autosave_sb</tabstop>
|
|
<tabstop>m_common_elmt_path_cb</tabstop>
|
|
<tabstop>m_custom_elmt_path_cb</tabstop>
|
|
<tabstop>m_custom_tbt_path_cb</tabstop>
|
|
<tabstop>m_highlight_integrated_elements</tabstop>
|
|
<tabstop>m_default_elements_info</tabstop>
|
|
<tabstop>m_lang_cb</tabstop>
|
|
<tabstop>m_dyn_text_font_pb</tabstop>
|
|
<tabstop>m_dyn_text_rotation_sb</tabstop>
|
|
<tabstop>m_dyn_text_width_sb</tabstop>
|
|
<tabstop>m_indi_text_font_pb</tabstop>
|
|
<tabstop>m_indi_text_rotation_sb</tabstop>
|
|
<tabstop>m_font_pb</tabstop>
|
|
<tabstop>DiagramEditor_xGrid_sb</tabstop>
|
|
<tabstop>DiagramEditor_yGrid_sb</tabstop>
|
|
<tabstop>DiagramEditor_xKeyGrid_sb</tabstop>
|
|
<tabstop>DiagramEditor_yKeyGrid_sb</tabstop>
|
|
<tabstop>DiagramEditor_xKeyGridFine_sb</tabstop>
|
|
<tabstop>DiagramEditor_yKeyGridFine_sb</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KColorButton</class>
|
|
<extends>QPushButton</extends>
|
|
<header>nokde/kcolorbutton.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
</ui>
|