changeset 20:0b8398ca6cd0

oops forgot these ones
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 28 Apr 2010 04:00:56 +0200
parents 6f7003fc6e6d
children c8bb3cee7935
files FeedEntry.py Ui_MainWindow.ui
diffstat 2 files changed, 37 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/FeedEntry.py	Wed Apr 28 04:00:30 2010 +0200
+++ b/FeedEntry.py	Wed Apr 28 04:00:56 2010 +0200
@@ -11,7 +11,7 @@
         self.create_timestamp = datetime.now()
 
     def __repr__(self):
-        return "<FeedEntry (%d) %s>" % (self.pk, self.link)
+        return "<FeedEntry (%d) %s>" % (self.pk, self.title)
 
     def userPresentableString(self):
         return self.title
\ No newline at end of file
--- a/Ui_MainWindow.ui	Wed Apr 28 04:00:30 2010 +0200
+++ b/Ui_MainWindow.ui	Wed Apr 28 04:00:56 2010 +0200
@@ -6,39 +6,47 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>800</width>
-    <height>600</height>
+    <width>992</width>
+    <height>750</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Feedworm</string>
   </property>
   <widget class="QWidget" name="centralwidget">
-   <widget class="QListView" name="feedList">
+   <widget class="QSplitter" name="splitter_2">
     <property name="geometry">
      <rect>
       <x>0</x>
       <y>0</y>
-      <width>221</width>
-      <height>551</height>
+      <width>991</width>
+      <height>701</height>
      </rect>
     </property>
-    <property name="alternatingRowColors">
-     <bool>true</bool>
-    </property>
-    <property name="resizeMode">
-     <enum>QListView::Fixed</enum>
+    <property name="orientation">
+     <enum>Qt::Horizontal</enum>
     </property>
-   </widget>
-   <widget class="QListView" name="feedEntryList">
-    <property name="geometry">
-     <rect>
-      <x>230</x>
-      <y>0</y>
-      <width>571</width>
-      <height>111</height>
-     </rect>
-    </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="QListView" name="feedEntryList"/>
+     <widget class="QWebView" name="webView">
+      <property name="url">
+       <url>
+        <string>about:blank</string>
+       </url>
+      </property>
+     </widget>
+    </widget>
    </widget>
   </widget>
   <widget class="QMenuBar" name="menubar">
@@ -46,7 +54,7 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>800</width>
+     <width>992</width>
      <height>27</height>
     </rect>
    </property>
@@ -75,6 +83,13 @@
    </property>
   </action>
  </widget>
+ <customwidgets>
+  <customwidget>
+   <class>QWebView</class>
+   <extends>QWidget</extends>
+   <header>QtWebKit/QWebView</header>
+  </customwidget>
+ </customwidgets>
  <resources/>
  <connections>
   <connection>