view Ui_MainWindow.ui @ 94:a16c4e2b2c55

rename some parameters to be in line with the pyqt docs
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 27 Dec 2010 08:30:09 +0100
parents 7c6e500c1579
children 9bceb1bd3f33
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>992</width>
    <height>750</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Feedworm</string>
  </property>
  <property name="windowIcon">
   <iconset resource="Feedworm.qrc">
    <normaloff>:/newPrefix/worm.png</normaloff>:/newPrefix/worm.png</iconset>
  </property>
  <widget class="QWidget" name="centralwidget">
   <layout class="QGridLayout" name="gridLayout">
    <item row="0" column="0">
     <widget class="QSplitter" name="splitter_2">
      <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
      <widget class="QListView" name="feedList">
       <property name="alternatingRowColors">
        <bool>true</bool>
       </property>
       <property name="resizeMode">
        <enum>QListView::Fixed</enum>
       </property>
      </widget>
      <widget class="QSplitter" name="splitter">
       <property name="orientation">
        <enum>Qt::Vertical</enum>
       </property>
       <widget class="QTableView" name="feedEntryList">
        <property name="alternatingRowColors">
         <bool>true</bool>
        </property>
       </widget>
       <widget class="QWebView" name="webView">
        <property name="url">
         <url>
          <string>about:blank</string>
         </url>
        </property>
       </widget>
      </widget>
     </widget>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>992</width>
     <height>27</height>
    </rect>
   </property>
   <widget class="QMenu" name="menuFeed">
    <property name="title">
     <string>Feed</string>
    </property>
    <addaction name="actionAddFeed"/>
    <addaction name="actionMarkFeedRead"/>
    <addaction name="actionUpdate"/>
    <addaction name="actionFeedSettings"/>
   </widget>
   <widget class="QMenu" name="menuArticle">
    <property name="enabled">
     <bool>false</bool>
    </property>
    <property name="title">
     <string>Article</string>
    </property>
    <addaction name="actionMarkSelectedRead"/>
    <addaction name="actionOpenLink"/>
    <addaction name="actionOpenInBrowser"/>
   </widget>
   <widget class="QMenu" name="menuFeedworm">
    <property name="title">
     <string>Feedworm</string>
    </property>
    <addaction name="actionUpdateAllFeeds"/>
    <addaction name="actionPreferences"/>
    <addaction name="separator"/>
    <addaction name="actionQuit"/>
   </widget>
   <addaction name="menuFeedworm"/>
   <addaction name="menuFeed"/>
   <addaction name="menuArticle"/>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
  <action name="actionQuit">
   <property name="text">
    <string>Quit</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Q</string>
   </property>
  </action>
  <action name="actionAddFeed">
   <property name="text">
    <string>Add ...</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+A</string>
   </property>
  </action>
  <action name="actionXxx">
   <property name="text">
    <string>xxx</string>
   </property>
  </action>
  <action name="actionMarkSelectedRead">
   <property name="text">
    <string>Mark selected read</string>
   </property>
   <property name="shortcut">
    <string>M</string>
   </property>
  </action>
  <action name="actionOpenInBrowser">
   <property name="text">
    <string>Open in browser</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+O</string>
   </property>
  </action>
  <action name="actionOpenLink">
   <property name="text">
    <string>Open link</string>
   </property>
   <property name="shortcut">
    <string>L</string>
   </property>
  </action>
  <action name="actionPreferences">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Preferences</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+.</string>
   </property>
  </action>
  <action name="actionFeedSettings">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="text">
    <string>Settings ...</string>
   </property>
  </action>
  <action name="actionMarkFeedRead">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="text">
    <string>Mark all read</string>
   </property>
   <property name="toolTip">
    <string>Mark all articles in current feed as read</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+M</string>
   </property>
  </action>
  <action name="actionUpdate">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="text">
    <string>Update</string>
   </property>
   <property name="toolTip">
    <string>Update selected feed</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+U</string>
   </property>
  </action>
  <action name="actionUpdateAllFeeds">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="text">
    <string>Update feeds</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Shift+U</string>
   </property>
  </action>
 </widget>
 <customwidgets>
  <customwidget>
   <class>QWebView</class>
   <extends>QWidget</extends>
   <header>QtWebKit/QWebView</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="Feedworm.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>actionQuit</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>399</x>
     <y>299</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionAddFeed</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>addFeed()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>feedList</sender>
   <signal>clicked(QModelIndex)</signal>
   <receiver>MainWindow</receiver>
   <slot>feedSelected(QModelIndex)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>126</x>
     <y>377</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>feedEntryList</sender>
   <signal>clicked(QModelIndex)</signal>
   <receiver>MainWindow</receiver>
   <slot>feedEntrySelected(QModelIndex)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>616</x>
     <y>117</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionMarkSelectedRead</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>toggleReadOnSelectedEntry()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionOpenLink</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>openLinkFromSelectedEntry()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionOpenInBrowser</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>openSelectedEntryInBrowser()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionPreferences</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>showPreferences()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionFeedSettings</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>showFeedSettings()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionMarkFeedRead</sender>
   <signal>activated()</signal>
   <receiver>MainWindow</receiver>
   <slot>markSelectedFeedRead()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>495</x>
     <y>374</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>addFeed()</slot>
  <slot>feedSelected(QModelIndex)</slot>
  <slot>feedEntrySelected(QModelIndex)</slot>
  <slot>toggleReadOnSelectedEntry()</slot>
  <slot>openSelectedEntryInBrowser()</slot>
  <slot>openLinkFromSelectedEntry()</slot>
  <slot>showPreferences()</slot>
  <slot>showFeedSettings()</slot>
  <slot>markSelectedFeedRead()</slot>
 </slots>
</ui>