<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>WebCompanionSettingsWidget</class>
 <widget class="QWidget" name="WebCompanionSettingsWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>600</width>
    <height>700</height>
   </rect>
  </property>
  <layout class="QGridLayout" name="gridLayout_70">
   <item row="5" column="0">
    <spacer name="verticalSpacer_17">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Policy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="2" column="0">
    <widget class="QFrame" name="browserExtensionFrame">
     <property name="frameShape">
      <enum>QFrame::Shape::NoFrame</enum>
     </property>
     <layout class="QGridLayout" name="gridLayout_71">
      <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 row="3" column="0">
       <widget class="QGroupBox" name="groupBox_38">
        <property name="title">
         <string>Command snippets</string>
        </property>
        <layout class="QGridLayout" name="gridLayout_78">
         <item row="1" column="1">
          <widget class="QLineEdit" name="commandSnippetsTagLineEdit">
           <property name="toolTip">
            <string>Notes with this tag will be used for fetching bookmarks</string>
           </property>
           <property name="placeholderText">
            <string>Tag name for commands notes</string>
           </property>
          </widget>
         </item>
         <item row="1" column="0">
          <widget class="QLabel" name="label_34">
           <property name="text">
            <string>Commands tag:</string>
           </property>
          </widget>
         </item>
         <item row="0" column="0" colspan="2">
          <widget class="Label" name="commandSnippetTagLabel">
           <property name="text">
            <string>You can use notes with a special tag to store command snippets, which you can execute from the command-line snippet manager. For more information about the command snippet syntax click &lt;a href=&quot;%1&quot;&gt;here&lt;/a&gt;.</string>
           </property>
           <property name="wordWrap">
            <bool>true</bool>
           </property>
           <property name="openExternalLinks">
            <bool>true</bool>
           </property>
          </widget>
         </item>
         <item row="2" column="0">
          <widget class="QLabel" name="commandSnippetsNoteNameLabel">
           <property name="text">
            <string>Commands note name:</string>
           </property>
          </widget>
         </item>
         <item row="2" column="1">
          <widget class="QLineEdit" name="commandSnippetsNoteNameLineEdit">
           <property name="toolTip">
            <string>This note will be used for adding new bookmarks from the browser extension</string>
           </property>
           <property name="placeholderText">
            <string>Note name for adding new commands</string>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QGroupBox" name="webSocketGroupBox">
        <property name="title">
         <string>Web socket server</string>
        </property>
        <layout class="QHBoxLayout" name="horizontalLayout_12">
         <item>
          <widget class="QLabel" name="label_28">
           <property name="text">
            <string>Socket server port:</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QSpinBox" name="webSocketServerServicePortSpinBox">
           <property name="minimum">
            <number>1</number>
           </property>
           <property name="maximum">
            <number>65535</number>
           </property>
           <property name="value">
            <number>22222</number>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QToolButton" name="webSocketServerServicePortResetButton">
           <property name="toolTip">
            <string>Reset the socket server port</string>
           </property>
           <property name="text">
            <string notr="true">…</string>
           </property>
           <property name="icon">
            <iconset theme="edit-clear" resource="../../breeze-qownnotes.qrc">
             <normaloff>:/icons/breeze-qownnotes/16x16/edit-clear.svg</normaloff>:/icons/breeze-qownnotes/16x16/edit-clear.svg</iconset>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QToolButton" name="webSocketTokenButton">
           <property name="toolTip">
            <string>Show security token</string>
           </property>
           <property name="text">
            <string notr="true">…</string>
           </property>
           <property name="icon">
            <iconset theme="view-refresh" resource="../../breeze-qownnotes.qrc">
             <normaloff>:/icons/breeze-qownnotes/16x16/view-refresh.svg</normaloff>:/icons/breeze-qownnotes/16x16/view-refresh.svg</iconset>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="QGroupBox" name="groupBox_32">
        <property name="title">
         <string>Bookmarks</string>
        </property>
        <layout class="QGridLayout" name="gridLayout_72">
         <item row="1" column="0">
          <widget class="QLabel" name="label_29">
           <property name="text">
            <string>Bookmarks tag:</string>
           </property>
          </widget>
         </item>
         <item row="1" column="1">
          <widget class="QLineEdit" name="bookmarksTagLineEdit">
           <property name="toolTip">
            <string>Notes with this tag will be used for fetching bookmarks</string>
           </property>
           <property name="placeholderText">
            <string>Tag name for bookmarks notes</string>
           </property>
          </widget>
         </item>
         <item row="2" column="0">
          <widget class="QLabel" name="label_30">
           <property name="text">
            <string>Bookmarks note name:</string>
           </property>
          </widget>
         </item>
         <item row="2" column="1">
          <widget class="QLineEdit" name="bookmarksNoteNameLineEdit">
           <property name="toolTip">
            <string>This note will be used for adding new bookmarks from the browser extension</string>
           </property>
           <property name="placeholderText">
            <string>Note name for adding new bookmarks</string>
           </property>
          </widget>
         </item>
         <item row="0" column="0" colspan="2">
          <widget class="Label" name="bookmarkTagLabel">
           <property name="text">
            <string>By default the browser extension will show all links of the current note. You can also make it show special bookmark links of notes with a certain tag. For more information about the bookmark link syntax click &lt;a href=&quot;%1&quot;&gt;here&lt;/a&gt;.</string>
           </property>
           <property name="wordWrap">
            <bool>true</bool>
           </property>
           <property name="openExternalLinks">
            <bool>true</bool>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
      <item row="4" column="0">
       <widget class="QGroupBox" name="bookmarkSuggestionApiGroupBox">
        <property name="title">
         <string>Bookmark suggestion API</string>
        </property>
         <layout class="QGridLayout" name="gridLayout_96">
          <item row="0" column="0" colspan="6">
           <widget class="QCheckBox" name="bookmarkSuggestionApiEnabledCheckBox">
            <property name="text">
             <string>Enable Homepage-compatible bookmark suggestions API</string>
            </property>
           </widget>
         </item>
         <item row="1" column="0">
          <widget class="QLabel" name="bookmarkSuggestionApiPortLabel">
           <property name="text">
            <string>Suggestion API port:</string>
           </property>
          </widget>
         </item>
         <item row="1" column="1">
          <widget class="QSpinBox" name="bookmarkSuggestionApiPortSpinBox">
           <property name="minimum">
            <number>1</number>
           </property>
           <property name="maximum">
            <number>65535</number>
           </property>
           <property name="value">
            <number>22224</number>
           </property>
          </widget>
         </item>
          <item row="1" column="2">
           <widget class="QToolButton" name="bookmarkSuggestionApiPortResetButton">
            <property name="toolTip">
             <string>Reset the suggestion API port</string>
           </property>
           <property name="text">
            <string notr="true">…</string>
           </property>
           <property name="icon">
            <iconset theme="edit-clear" resource="../../breeze-qownnotes.qrc">
             <normaloff>:/icons/breeze-qownnotes/16x16/edit-clear.svg</normaloff>:/icons/breeze-qownnotes/16x16/edit-clear.svg</iconset>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QLabel" name="bookmarkSuggestionApiTokenLabel">
            <property name="text">
             <string>Security token:</string>
            </property>
           </widget>
          </item>
          <item row="2" column="1" colspan="2">
           <widget class="QLineEdit" name="bookmarkSuggestionApiTokenLineEdit">
            <property name="toolTip">
             <string>If this is empty when saved, a new security token will be generated automatically.</string>
            </property>
            <property name="maxLength">
             <number>32</number>
            </property>
            <property name="readOnly">
             <bool>false</bool>
            </property>
            <property name="echoMode">
             <enum>QLineEdit::EchoMode::Password</enum>
            </property>
           </widget>
          </item>
          <item row="2" column="3">
           <widget class="QToolButton" name="bookmarkSuggestionApiShowTokenButton">
            <property name="toolTip">
             <string>Show security token</string>
            </property>
            <property name="text">
             <string notr="true">…</string>
            </property>
            <property name="icon">
             <iconset theme="document-decrypt" resource="../../breeze-qownnotes.qrc">
              <normaloff>:/icons/breeze-qownnotes/16x16/document-decrypt.svg</normaloff>:/icons/breeze-qownnotes/16x16/document-decrypt.svg</iconset>
            </property>
           </widget>
          </item>
          <item row="2" column="4">
           <widget class="QToolButton" name="bookmarkSuggestionApiCopyTokenButton">
            <property name="toolTip">
             <string>Copy security token to clipboard</string>
            </property>
            <property name="text">
             <string notr="true">…</string>
            </property>
            <property name="icon">
             <iconset theme="edit-copy" resource="../../breeze-qownnotes.qrc">
              <normaloff>:/icons/breeze-qownnotes/16x16/edit-copy.svg</normaloff>:/icons/breeze-qownnotes/16x16/edit-copy.svg</iconset>
            </property>
           </widget>
          </item>
          <item row="2" column="5">
           <widget class="QToolButton" name="bookmarkSuggestionApiGenerateTokenButton">
            <property name="toolTip">
             <string>Generate new security token</string>
            </property>
            <property name="text">
             <string notr="true">…</string>
            </property>
            <property name="icon">
             <iconset theme="view-refresh" resource="../../breeze-qownnotes.qrc">
              <normaloff>:/icons/breeze-qownnotes/16x16/view-refresh.svg</normaloff>:/icons/breeze-qownnotes/16x16/view-refresh.svg</iconset>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
     </layout>
    </widget>
   </item>
   <item row="0" column="0">
    <widget class="QGroupBox" name="groupBox_33">
     <property name="title">
      <string>Web socket server support</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_26">
      <item>
       <widget class="QCheckBox" name="enableSocketServerCheckBox">
        <property name="text">
         <string>Enable socket server</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="Label" name="webCompannionLabel">
        <property name="text">
         <string>Install the &lt;a href=&quot;%1&quot;&gt;Web Companion browser extension&lt;/a&gt; from the &lt;a href=&quot;%2&quot;&gt;Chrome Web Store&lt;/a&gt; or &lt;a href=&quot;%3&quot;&gt;Firefox Add-ons page&lt;/a&gt; to use QOwnNotes as web clipper or for bookmark management.</string>
        </property>
        <property name="wordWrap">
         <bool>true</bool>
        </property>
        <property name="openExternalLinks">
         <bool>true</bool>
        </property>
        <property name="textInteractionFlags">
         <set>Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse</set>
        </property>
       </widget>
      </item>
      <item>
       <widget class="Label" name="commandLineSnippetManagerLabel">
        <property name="text">
         <string>Download the &lt;a href=&quot;%1&quot;&gt;Command-line snippet manager&lt;/a&gt; to execute command snippets stored in notes in QOwnNotes from the command line.</string>
        </property>
        <property name="wordWrap">
         <bool>true</bool>
        </property>
        <property name="openExternalLinks">
         <bool>true</bool>
        </property>
        <property name="textInteractionFlags">
         <set>Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse</set>
        </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>
