Plugins/PluginVmTabview.py

changeset 496
ed1e3f654d0b
parent 398
5b5636320dca
child 776
0359a079eb0d
equal deleted inserted replaced
495:b31b0bffa5b0 496:ed1e3f654d0b
7 Module implementing the Tabview view manager plugin. 7 Module implementing the Tabview view manager plugin.
8 """ 8 """
9 9
10 import os 10 import os
11 11
12 from PyQt4.QtCore import QT_TRANSLATE_NOOP 12 from PyQt4.QtCore import QT_TRANSLATE_NOOP, QObject
13 from PyQt4.QtGui import QPixmap 13 from PyQt4.QtGui import QPixmap
14 14
15 # Start-Of-Header 15 # Start-Of-Header
16 name = "Tabview Plugin" 16 name = "Tabview Plugin"
17 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 17 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
38 """ 38 """
39 fname = os.path.join(os.path.dirname(__file__), 39 fname = os.path.join(os.path.dirname(__file__),
40 "ViewManagerPlugins", "Tabview", "preview.png") 40 "ViewManagerPlugins", "Tabview", "preview.png")
41 return QPixmap(fname) 41 return QPixmap(fname)
42 42
43 class VmTabviewPlugin(object): 43 class VmTabviewPlugin(QObject):
44 """ 44 """
45 Class implementing the Tabview view manager plugin. 45 Class implementing the Tabview view manager plugin.
46 """ 46 """
47 def __init__(self, ui): 47 def __init__(self, ui):
48 """ 48 """

eric ide

mercurial