view MainWindow.ui @ 259:304917762618 default tip

implementation of feed updates
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 12 Mar 2019 02:41:22 +0100
parents 3ce39af93e77
children
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="QWidget" name="layoutWidget">
       <layout class="QVBoxLayout" name="verticalLayout">
        <item>
         <widget class="QLabel" name="feedCountLabel">
          <property name="font">
           <font>
            <pointsize>8</pointsize>
           </font>
          </property>
          <property name="text">
           <string/>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
          <property name="textInteractionFlags">
           <set>Qt::NoTextInteraction</set>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QListView" name="feedList">
          <property name="alternatingRowColors">
           <bool>true</bool>
          </property>
          <property name="resizeMode">
           <enum>QListView::Fixed</enum>
          </property>
         </widget>
        </item>
       </layout>
      </widget>
      <widget class="QSplitter" name="splitter">
       <property name="orientation">
        <enum>Qt::Vertical</enum>
       </property>
       <widget class="QWidget" name="layoutWidget">
        <layout class="QVBoxLayout" name="verticalLayout_2">
         <item>
          <widget class="QLabel" name="feedEntryCountLabel">
           <property name="font">
            <font>
             <pointsize>8</pointsize>
            </font>
           </property>
           <property name="text">
            <string/>
           </property>
           <property name="alignment">
            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
           </property>
           <property name="textInteractionFlags">
            <set>Qt::NoTextInteraction</set>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QTableView" name="feedEntryTable">
           <property name="alternatingRowColors">
            <bool>true</bool>
           </property>
           <property name="selectionBehavior">
            <enum>QAbstractItemView::SelectRows</enum>
           </property>
           <property name="showGrid">
            <bool>false</bool>
           </property>
           <attribute name="verticalHeaderVisible">
            <bool>false</bool>
           </attribute>
          </widget>
         </item>
        </layout>
       </widget>
       <widget class="QWebView" name="webView" native="true">
        <property name="url" stdset="0">
         <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>25</height>
    </rect>
   </property>
   <widget class="QMenu" name="menuFeed">
    <property name="title">
     <string>Feed</string>
    </property>
    <addaction name="actionMarkFeedRead"/>
    <addaction name="actionMarkSelectedEntriesRead"/>
    <addaction name="actionAddFeed"/>
    <addaction name="actionUpdate"/>
    <addaction name="actionDeleteFeed"/>
    <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"/>
    <addaction name="actionCopyArticleURL"/>
   </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>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
    <addaction name="actionAboutQt"/>
   </widget>
   <addaction name="menuFeedworm"/>
   <addaction name="menuFeed"/>
   <addaction name="menuArticle"/>
   <addaction name="menuHelp"/>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
  <widget class="QToolBar" name="toolBar">
   <property name="windowTitle">
    <string>toolBar</string>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="actionMarkFeedRead"/>
   <addaction name="actionMarkSelectedEntriesRead"/>
   <addaction name="actionOpenLink"/>
   <addaction name="separator"/>
   <addaction name="actionZoomIn"/>
   <addaction name="actionZoomOut"/>
  </widget>
  <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="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="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="Feedworm.qrc">
     <normaloff>:/newPrefix/open_in_browser.png</normaloff>:/newPrefix/open_in_browser.png</iconset>
   </property>
   <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="icon">
    <iconset resource="Feedworm.qrc">
     <normaloff>:/newPrefix/mark_all_read.jpg</normaloff>:/newPrefix/mark_all_read.jpg</iconset>
   </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>
  <action name="actionDeleteFeed">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="text">
    <string>Delete</string>
   </property>
  </action>
  <action name="actionMarkSelectedEntriesRead">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="Feedworm.qrc">
     <normaloff>:/newPrefix/mark_selected_read.jpg</normaloff>:/newPrefix/mark_selected_read.jpg</iconset>
   </property>
   <property name="text">
    <string>Mark selected read</string>
   </property>
  </action>
  <action name="actionCopyArticleURL">
   <property name="text">
    <string>Copy article URL</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Shift+C</string>
   </property>
  </action>
  <action name="actionZoomIn">
   <property name="icon">
    <iconset resource="Feedworm.qrc">
     <normaloff>:/newPrefix/zoom_in.png</normaloff>:/newPrefix/zoom_in.png</iconset>
   </property>
   <property name="text">
    <string>Zoom In</string>
   </property>
   <property name="toolTip">
    <string>Zoom In</string>
   </property>
  </action>
  <action name="actionZoomOut">
   <property name="icon">
    <iconset resource="Feedworm.qrc">
     <normaloff>:/newPrefix/zoom_out.png</normaloff>:/newPrefix/zoom_out.png</iconset>
   </property>
   <property name="text">
    <string>Zoom Out</string>
   </property>
   <property name="toolTip">
    <string>Zoom Out</string>
   </property>
  </action>
  <action name="actionAboutQt">
   <property name="text">
    <string>About Qt</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>triggered()</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>triggered()</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>feedEntryTable</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>triggered()</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>triggered()</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>triggered()</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>triggered()</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>triggered()</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>triggered()</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>
  <connection>
   <sender>actionDeleteFeed</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>deleteFeed()</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>feedEntryTable</sender>
   <signal>doubleClicked(QModelIndex)</signal>
   <receiver>MainWindow</receiver>
   <slot>feedEntryDoubleClicked()</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>actionMarkSelectedEntriesRead</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>markSelectedEntriesRead()</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>actionCopyArticleURL</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>copyArticleURLToClipboard()</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>actionZoomIn</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>zoomIn()</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>actionZoomOut</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>zoomOut()</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>actionAboutQt</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>aboutQtClicked()</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>
  <slot>deleteFeed()</slot>
  <slot>feedEntryDoubleClicked()</slot>
  <slot>markSelectedEntriesRead()</slot>
  <slot>copyArticleURLToClipboard()</slot>
  <slot>zoomIn()</slot>
  <slot>zoomOut()</slot>
  <slot>aboutQtClicked()</slot>
 </slots>
</ui>