<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>GitSettingsWidget</class>
 <widget class="QWidget" name="GitSettingsWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>600</width>
    <height>500</height>
   </rect>
  </property>
  <layout class="QGridLayout" name="gridLayout_48">
   <item row="5" column="1">
    <spacer name="verticalSpacer_13">
     <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">
    <widget class="QGroupBox" name="groupBox_22">
     <property name="title">
      <string>Commit interval</string>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout_9">
      <item>
       <widget class="QSpinBox" name="gitCommitIntervalTime">
        <property name="suffix">
         <string extracomment="seconds">sec</string>
        </property>
        <property name="minimum">
         <number>1</number>
        </property>
        <property name="maximum">
         <number>9999999</number>
        </property>
        <property name="value">
         <number>30</number>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QLabel" name="gitCommitIntervalTimeLabel">
        <property name="toolTip">
         <string>You might run into sync troubles with older versions of Nextcloud / ownCloud sync when going far below 10 sec.
Just test yourself if you get sync conflicts and set a higher value if so.</string>
        </property>
        <property name="text">
         <string>git commit interval time [sec]</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="4" column="1">
    <widget class="QGroupBox" name="groupBox_23">
     <property name="title">
      <string>External git log command to show the git versions of a note</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_50">
      <item row="0" column="0">
       <widget class="QLineEdit" name="gitLogCommandLineEdit">
        <property name="placeholderText">
         <string extracomment="Please don't translate &quot;%notePath%&quot;">Enter a command to be used to show a git log (like for example &quot;gitk&quot;)</string>
        </property>
        <property name="clearButtonEnabled">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QLabel" name="label_25">
        <property name="text">
         <string extracomment="Please don't translate &quot;%notePath%&quot;">You optionally can use &quot;%notePath%&quot; for the path of the note.</string>
        </property>
        <property name="textInteractionFlags">
         <set>Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse</set>
        </property>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="QLabel" name="label_27">
        <property name="text">
         <string extracomment="Please don't translate &quot;%notePath%&quot;">If you use this setting you will get a new menu entry to show the git versions if you right-click a note.</string>
        </property>
        <property name="textInteractionFlags">
         <set>Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse</set>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="0" column="1" rowspan="2">
    <widget class="QGroupBox" name="gitClientGroupBox">
     <property name="title">
      <string>Git client</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_51">
      <item row="0" column="1">
       <widget class="QLineEdit" name="gitPathLineEdit">
        <property name="placeholderText">
         <string>Path to git client, leave empty for default</string>
        </property>
        <property name="clearButtonEnabled">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="0">
       <widget class="QLabel" name="label_23">
        <property name="text">
         <string>Path to git executable:</string>
        </property>
        <property name="textFormat">
         <enum>Qt::TextFormat::AutoText</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="2">
       <widget class="QToolButton" name="setGitPathToolButton">
        <property name="toolTip">
         <string>Select the path of the git binary</string>
        </property>
        <property name="text">
         <string/>
        </property>
        <property name="icon">
         <iconset theme="document-open" resource="../breeze-qownnotes.qrc">
          <normaloff>:/icons/breeze-qownnotes/16x16/document-open.svg</normaloff>:/icons/breeze-qownnotes/16x16/document-open.svg</iconset>
        </property>
       </widget>
      </item>
      <item row="3" column="0" colspan="2">
       <widget class="Label" name="label_24">
        <property name="text">
         <string notr="true">git config --global user.email &quot;your-email@domain.com&quot;
git config --global user.name &quot;Your name&quot;</string>
        </property>
        <property name="wordWrap">
         <bool>true</bool>
        </property>
        <property name="textInteractionFlags">
         <set>Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse</set>
        </property>
       </widget>
      </item>
      <item row="2" column="0" colspan="3">
       <widget class="Label" name="label_6">
        <property name="text">
         <string>Don't forget to enable git support for your note folders and to configure your name and email address for your git client, for example with these terminal commands:</string>
        </property>
        <property name="wordWrap">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="Label" name="gitDownloadLabel">
        <property name="text">
         <string notr="true">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Download text entered in source code…&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
        </property>
        <property name="textFormat">
         <enum>Qt::TextFormat::RichText</enum>
        </property>
        <property name="openExternalLinks">
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="2" column="1">
    <widget class="QGroupBox" name="gitLibraryGroupBox">
     <property name="title">
      <string>Git library</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_90">
      <item row="0" column="0">
       <widget class="QLabel" name="label_39">
        <property name="text">
         <string>Support for the git library libgit2 is activated.</string>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QLabel" name="label_40">
        <property name="text">
         <string>Don't forget to enable git support for your note folders.</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>Label</class>
   <extends>QLabel</extends>
   <header location="global">widgets/label.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="../breeze-qownnotes.qrc"/>
 </resources>
</ui>
