<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>TsGeneratorDialogBase</class>
 <widget class="QDialog" name="TsGeneratorDialogBase">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>480</width>
    <height>560</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Générateur de fichiers .TS</string>
  </property>

  <layout class="QVBoxLayout" name="mainLayout">

   <!-- Dossier du plugin -->
   <item>
    <layout class="QHBoxLayout" name="folderLayout">
     <item>
      <widget class="QLineEdit" name="editFolder">
       <property name="placeholderText">
        <string>Choisir un dossier…</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="btnBrowseFolder">
       <property name="text">
        <string>📂 Parcourir</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>

   <!-- Préfixe -->
   <item>
    <widget class="QLabel" name="labelPrefix">
     <property name="text">
      <string>Préfixe TS :</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QLineEdit" name="editPrefix"/>
   </item>

   <!-- Langue source -->
   <item>
    <widget class="QLabel" name="labelSourceLanguage">
     <property name="text">
      <string>Langue source :</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QComboBox" name="comboSourceLanguage"/>
   </item>

   <!-- Langues cibles (zones + langues) -->
   <item>
    <widget class="QLabel" name="labelLanguages">
     <property name="text">
      <string>Langues cibles :</string>
     </property>
    </widget>
   </item>

   <item>
    <widget class="QTreeWidget" name="lang_tree">
     <property name="headerHidden">
      <bool>true</bool>
     </property>
     <property name="selectionMode">
      <enum>QAbstractItemView::NoSelection</enum>
     </property>
     <property name="alternatingRowColors">
      <bool>true</bool>
     </property>
    </widget>
   </item>

   <!-- Génération -->
   <item>
    <widget class="QPushButton" name="btnGenerateTS">
     <property name="text">
      <string>⚙ Générer les fichiers .ts</string>
     </property>
    </widget>
   </item>

   <!-- Progression -->
   <item>
    <widget class="QProgressBar" name="progressBar">
     <property name="value">
      <number>0</number>
     </property>
    </widget>
   </item>

   <item>
    <widget class="QLabel" name="labelStatus">
     <property name="text">
      <string>Prêt.</string>
     </property>
    </widget>
   </item>

  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>

