<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>CFGServerPasswords</class>
 <widget class="QWidget" name="CFGServerPasswords">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>458</width>
    <height>423</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <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>
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QCheckBox" name="cbHide">
       <property name="text">
        <string>Hide</string>
       </property>
       <property name="checked">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLineEdit" name="lePassword">
       <property name="echoMode">
        <enum>QLineEdit::Password</enum>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="btnAdd">
       <property name="text">
        <string>Add password</string>
       </property>
       <property name="icon">
        <iconset resource="../../../../media/resources.qrc">
         <normaloff>:/icons/plus.png</normaloff>:/icons/plus.png</iconset>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QTableWidget" name="tablePasswords">
     <property name="editTriggers">
      <set>QAbstractItemView::NoEditTriggers</set>
     </property>
     <property name="selectionBehavior">
      <enum>QAbstractItemView::SelectRows</enum>
     </property>
     <property name="verticalScrollMode">
      <enum>QAbstractItemView::ScrollPerPixel</enum>
     </property>
     <property name="horizontalScrollMode">
      <enum>QAbstractItemView::ScrollPerPixel</enum>
     </property>
     <property name="sortingEnabled">
      <bool>true</bool>
     </property>
     <property name="wordWrap">
      <bool>false</bool>
     </property>
     <attribute name="horizontalHeaderVisible">
      <bool>true</bool>
     </attribute>
     <attribute name="horizontalHeaderHighlightSections">
      <bool>false</bool>
     </attribute>
     <attribute name="verticalHeaderVisible">
      <bool>false</bool>
     </attribute>
     <attribute name="verticalHeaderHighlightSections">
      <bool>false</bool>
     </attribute>
     <column>
      <property name="text">
       <string>Password</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Last Game</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Last Server</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Last Time</string>
      </property>
     </column>
    </widget>
   </item>
   <item>
    <widget class="QPushButton" name="btnRemovePasswords">
     <property name="text">
      <string>Remove selected passwords</string>
     </property>
     <property name="icon">
      <iconset resource="../../../../media/resources.qrc">
       <normaloff>:/icons/x.png</normaloff>:/icons/x.png</iconset>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QWidget" name="selectedPasswordPanel" native="true">
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <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="QLabel" name="lblServersTableTitle">
        <property name="text">
         <string>Servers the selected password was used on:</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QTableWidget" name="tableServers">
        <property name="editTriggers">
         <set>QAbstractItemView::NoEditTriggers</set>
        </property>
        <property name="selectionBehavior">
         <enum>QAbstractItemView::SelectRows</enum>
        </property>
        <property name="verticalScrollMode">
         <enum>QAbstractItemView::ScrollPerPixel</enum>
        </property>
        <property name="horizontalScrollMode">
         <enum>QAbstractItemView::ScrollPerPixel</enum>
        </property>
        <property name="sortingEnabled">
         <bool>true</bool>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
        <attribute name="horizontalHeaderHighlightSections">
         <bool>false</bool>
        </attribute>
        <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
         <bool>true</bool>
        </attribute>
        <attribute name="verticalHeaderVisible">
         <bool>false</bool>
        </attribute>
        <attribute name="verticalHeaderHighlightSections">
         <bool>false</bool>
        </attribute>
        <column>
         <property name="text">
          <string>Game</string>
         </property>
        </column>
        <column>
         <property name="text">
          <string>Name</string>
         </property>
        </column>
        <column>
         <property name="text">
          <string>Address</string>
         </property>
        </column>
        <column>
         <property name="text">
          <string>Last Time</string>
         </property>
        </column>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="btnRemoveServers">
        <property name="text">
         <string>Remove selected servers</string>
        </property>
        <property name="icon">
         <iconset resource="../../../../media/resources.qrc">
          <normaloff>:/icons/x.png</normaloff>:/icons/x.png</iconset>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QFormLayout" name="formLayout">
     <property name="fieldGrowthPolicy">
      <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
     </property>
     <item row="0" column="0">
      <widget class="QLabel" name="label">
       <property name="text">
        <string>Max number of servers to remember per password:</string>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="QSpinBox" name="spinMaxPasswords">
       <property name="maximum">
        <number>999999999</number>
       </property>
       <property name="value">
        <number>5</number>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QLabel" name="lblServerLossWarning">
     <property name="text">
      <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Warning:&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt; Some servers may be lost.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <resources>
  <include location="../../../../media/resources.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>btnRemovePasswords</sender>
   <signal>clicked()</signal>
   <receiver>CFGServerPasswords</receiver>
   <slot>removeSelectedPasswords()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>111</x>
     <y>166</y>
    </hint>
    <hint type="destinationlabel">
     <x>417</x>
     <y>256</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>btnAdd</sender>
   <signal>clicked()</signal>
   <receiver>CFGServerPasswords</receiver>
   <slot>addPasswordFromLineEdit()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>406</x>
     <y>346</y>
    </hint>
    <hint type="destinationlabel">
     <x>416</x>
     <y>289</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>lePassword</sender>
   <signal>returnPressed()</signal>
   <receiver>CFGServerPasswords</receiver>
   <slot>addPasswordFromLineEdit()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>317</x>
     <y>344</y>
    </hint>
    <hint type="destinationlabel">
     <x>208</x>
     <y>149</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>tablePasswords</sender>
   <signal>currentCellChanged(int,int,int,int)</signal>
   <receiver>CFGServerPasswords</receiver>
   <slot>onPasswordTableCellChange(int,int,int,int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>377</x>
     <y>109</y>
    </hint>
    <hint type="destinationlabel">
     <x>427</x>
     <y>120</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>btnRemoveServers</sender>
   <signal>clicked()</signal>
   <receiver>CFGServerPasswords</receiver>
   <slot>removeSelectedServers()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>376</x>
     <y>316</y>
    </hint>
    <hint type="destinationlabel">
     <x>418</x>
     <y>354</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>spinMaxPasswords</sender>
   <signal>valueChanged(int)</signal>
   <receiver>CFGServerPasswords</receiver>
   <slot>showServerLossWarningIfNecessary()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>375</x>
     <y>381</y>
    </hint>
    <hint type="destinationlabel">
     <x>418</x>
     <y>398</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>cbHide</sender>
   <signal>clicked(bool)</signal>
   <receiver>CFGServerPasswords</receiver>
   <slot>setPasswordsHidden(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>22</x>
     <y>353</y>
    </hint>
    <hint type="destinationlabel">
     <x>208</x>
     <y>211</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>addPasswordFromLineEdit()</slot>
  <slot>removeSelectedPasswords()</slot>
  <slot>setPasswordsHidden(bool)</slot>
  <slot>onPasswordTableCellChange(int,int,int,int)</slot>
  <slot>removeSelectedServers()</slot>
  <slot>showServerLossWarningIfNecessary()</slot>
 </slots>
</ui>
