6D8cuZFXrVFFkqdUVK55x0 changeset

Changeset316162623534 (b)
Parent363231323863 (a)
ab
0-# Author: Tomi Saarinen, Rohea Oy
0-# Licence: Do what ever you like with this but we guarantee nothing
0-
0-import sys
0-from PySide.QtCore import *
0-from PySide.QtGui import *
0-from PySide.QtMaemo5 import QMaemo5KineticScroller
0-
0-class SimpleKinetic(QMainWindow):
0-    def __init__(self):
0-        QMainWindow.__init__(self)
0-        self.items = ["1st item", "2nd item", "3rd item", "4th item", "5th item", "6th item",
0-                      "7th item", "8th item", "9th item", "10th item", "11th item", "12th item"]
0-        self.listWidget = QListWidget(self)
0-        for i in range(len(self.items)):
0-            listItem = QListWidgetItem(QString(self.items[i]))
0-            self.listWidget.addItem(listItem)
0-        # Note that 'scroller' variable is very necessary here even if it doesn't seem to do much
0-        self.scroller = QMaemo5KineticScroller(self.listWidget)
0-        self.setCentralWidget(self.listWidget)       
0-
0-if __name__ == '__main__':
0-    app = QApplication(sys.argv)
0-    sk = SimpleKinetic()
0-    sk.show()
0-    sys.exit(app.exec_())
0+eCxAbq  <a href="http://nflrgjpbqqtw.com/">nflrgjpbqqtw</a>, [url=http://lhmiielciism.com/]lhmiielciism[/url], [link=http://unrotnyivgsz.com/]unrotnyivgsz[/link], http://qnacrksjexgh.com/
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- Revision 363231323863
+++ Revision 316162623534
@@ -1,26 +1,1 @@
-# Author: Tomi Saarinen, Rohea Oy
-# Licence: Do what ever you like with this but we guarantee nothing
-
-import sys
-from PySide.QtCore import *
-from PySide.QtGui import *
-from PySide.QtMaemo5 import QMaemo5KineticScroller
-
-class SimpleKinetic(QMainWindow):
- def __init__(self):
- QMainWindow.__init__(self)
- self.items = ["1st item", "2nd item", "3rd item", "4th item", "5th item", "6th item",
- "7th item", "8th item", "9th item", "10th item", "11th item", "12th item"]
- self.listWidget = QListWidget(self)
- for i in range(len(self.items)):
- listItem = QListWidgetItem(QString(self.items[i]))
- self.listWidget.addItem(listItem)
- # Note that 'scroller' variable is very necessary here even if it doesn't seem to do much
- self.scroller = QMaemo5KineticScroller(self.listWidget)
- self.setCentralWidget(self.listWidget)
-
-if __name__ == '__main__':
- app = QApplication(sys.argv)
- sk = SimpleKinetic()
- sk.show()
- sys.exit(app.exec_())
+eCxAbq <a href="http://nflrgjpbqqtw.com/">nflrgjpbqqtw</a>, [url=http://lhmiielciism.com/]lhmiielciism[/url], [link=http://unrotnyivgsz.com/]unrotnyivgsz[/link], http://qnacrksjexgh.com/