view Ui_Preferences.ui @ 205:adf7f617bda9

make the name of the design document configurable via command line switch. When cloning the feedworm db, the design document is no longer the same as the database name
author dirk
date Sat, 02 Jun 2012 04:24:49 +0200
parents 2c91b5653878
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>Preferences</class>
 <widget class="QDialog" name="Preferences">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>373</width>
    <height>288</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Preferences</string>
  </property>
  <property name="windowIcon">
   <iconset resource="Feedworm.qrc">
    <normaloff>:/newPrefix/worm.png</normaloff>:/newPrefix/worm.png</iconset>
  </property>
  <widget class="QDialogButtonBox" name="buttonBox">
   <property name="geometry">
    <rect>
     <x>10</x>
     <y>250</y>
     <width>160</width>
     <height>27</height>
    </rect>
   </property>
   <property name="orientation">
    <enum>Qt::Horizontal</enum>
   </property>
   <property name="standardButtons">
    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
   </property>
  </widget>
  <widget class="QCheckBox" name="startMaximized">
   <property name="geometry">
    <rect>
     <x>10</x>
     <y>10</y>
     <width>141</width>
     <height>22</height>
    </rect>
   </property>
   <property name="text">
    <string>Start maximized</string>
   </property>
  </widget>
  <widget class="QCheckBox" name="hideReadFeedEntries">
   <property name="geometry">
    <rect>
     <x>10</x>
     <y>70</y>
     <width>171</width>
     <height>22</height>
    </rect>
   </property>
   <property name="text">
    <string>Hide read feed entries</string>
   </property>
  </widget>
  <widget class="QCheckBox" name="showOnlyUnreadFeeds">
   <property name="geometry">
    <rect>
     <x>10</x>
     <y>40</y>
     <width>301</width>
     <height>22</height>
    </rect>
   </property>
   <property name="text">
    <string>Show only feeds that have unread entries</string>
   </property>
  </widget>
  <widget class="QGroupBox" name="groupBox">
   <property name="geometry">
    <rect>
     <x>10</x>
     <y>100</y>
     <width>353</width>
     <height>106</height>
    </rect>
   </property>
   <property name="title">
    <string>Web Proxy</string>
   </property>
   <widget class="QWidget" name="layoutWidget">
    <property name="geometry">
     <rect>
      <x>6</x>
      <y>20</y>
      <width>336</width>
      <height>78</height>
     </rect>
    </property>
    <layout class="QGridLayout" name="gridLayout">
     <item row="2" column="0">
      <widget class="QLabel" name="label_2">
       <property name="text">
        <string>Port</string>
       </property>
      </widget>
     </item>
     <item row="1" column="1">
      <widget class="QLineEdit" name="proxyHost"/>
     </item>
     <item row="2" column="1">
      <widget class="QLineEdit" name="proxyPort"/>
     </item>
     <item row="1" column="0">
      <widget class="QLabel" name="label">
       <property name="text">
        <string>Host</string>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="QCheckBox" name="useProxy">
       <property name="text">
        <string>Use proxy</string>
       </property>
      </widget>
     </item>
    </layout>
   </widget>
  </widget>
  <widget class="QLabel" name="label_3">
   <property name="geometry">
    <rect>
     <x>11</x>
     <y>215</y>
     <width>136</width>
     <height>17</height>
    </rect>
   </property>
   <property name="text">
    <string>Keep feed entries for </string>
   </property>
  </widget>
  <widget class="QLineEdit" name="daysToKeepFeedEntries">
   <property name="geometry">
    <rect>
     <x>150</x>
     <y>210</y>
     <width>31</width>
     <height>23</height>
    </rect>
   </property>
   <property name="text">
    <string/>
   </property>
  </widget>
  <widget class="QLabel" name="label_4">
   <property name="geometry">
    <rect>
     <x>190</x>
     <y>215</y>
     <width>31</width>
     <height>17</height>
    </rect>
   </property>
   <property name="text">
    <string>days</string>
   </property>
  </widget>
 </widget>
 <resources>
  <include location="Feedworm.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>Preferences</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>Preferences</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>startMaximized</sender>
   <signal>stateChanged(int)</signal>
   <receiver>Preferences</receiver>
   <slot>startMaximizedChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>80</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>199</x>
     <y>149</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>hideReadFeedEntries</sender>
   <signal>stateChanged(int)</signal>
   <receiver>Preferences</receiver>
   <slot>hideReadFeedEntriesChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>95</x>
     <y>50</y>
    </hint>
    <hint type="destinationlabel">
     <x>199</x>
     <y>149</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>showOnlyUnreadFeeds</sender>
   <signal>stateChanged(int)</signal>
   <receiver>Preferences</receiver>
   <slot>showOnlyFeedsWithUnreadEntries()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>160</x>
     <y>50</y>
    </hint>
    <hint type="destinationlabel">
     <x>199</x>
     <y>75</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>daysToKeepFeedEntries</sender>
   <signal>editingFinished()</signal>
   <receiver>Preferences</receiver>
   <slot>daysToKeepFeedEntriesFinishedEditing()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>165</x>
     <y>211</y>
    </hint>
    <hint type="destinationlabel">
     <x>194</x>
     <y>138</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>startMaximizedChanged()</slot>
  <slot>hideReadFeedEntriesChanged()</slot>
  <slot>showOnlyFeedsWithUnreadEntries()</slot>
  <slot>daysToKeepFeedEntriesFinishedEditing()</slot>
 </slots>
</ui>