added mentions view
This commit is contained in:
parent
7ffb809ce3
commit
4f2331d282
2 changed files with 5 additions and 3 deletions
|
@ -14,7 +14,7 @@ class Tentia:
|
||||||
self.preferences.show()
|
self.preferences.show()
|
||||||
|
|
||||||
self.timeline = Windows.Timeline(self)
|
self.timeline = Windows.Timeline(self)
|
||||||
#self.mentions = Windows.Timeline(self, "mentions", "Mentions")
|
self.mentions = Windows.Timeline(self, "mentions", "Mentions")
|
||||||
|
|
||||||
if self.controller.stringForKey("user_access_token") != "":
|
if self.controller.stringForKey("user_access_token") != "":
|
||||||
self.authentification_succeded()
|
self.authentification_succeded()
|
||||||
|
@ -38,7 +38,7 @@ class Tentia:
|
||||||
|
|
||||||
def init_web_views(self):
|
def init_web_views(self):
|
||||||
self.timeline.show()
|
self.timeline.show()
|
||||||
#self.mentions.show()
|
self.mentions.show()
|
||||||
|
|
||||||
|
|
||||||
class Controller(QtCore.QObject):
|
class Controller(QtCore.QObject):
|
||||||
|
|
|
@ -13,7 +13,6 @@ class Preferences:
|
||||||
self.window.resize(480, 186)
|
self.window.resize(480, 186)
|
||||||
self.window.setMinimumSize(480, 186)
|
self.window.setMinimumSize(480, 186)
|
||||||
self.window.setMaximumSize(480, 186)
|
self.window.setMaximumSize(480, 186)
|
||||||
self.window.move(1400, 700)
|
|
||||||
|
|
||||||
# image view
|
# image view
|
||||||
image = QtGui.QPixmap(self.app.resources_path() + "/Icon.png")
|
image = QtGui.QPixmap(self.app.resources_path() + "/Icon.png")
|
||||||
|
@ -85,6 +84,9 @@ class Timeline:
|
||||||
self.window.setWindowTitle(title)
|
self.window.setWindowTitle(title)
|
||||||
self.window.load_local(self.load_finished)
|
self.window.load_local(self.load_finished)
|
||||||
|
|
||||||
|
self.window.resize(380, 600)
|
||||||
|
self.window.setMinimumSize(200, 200)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
self.window.show()
|
self.window.show()
|
||||||
|
|
||||||
|
|
Reference in a new issue