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 = "Listspace Plugin" |
16 name = "Listspace 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", "Listspace", "preview.png") |
40 "ViewManagerPlugins", "Listspace", "preview.png") |
41 return QPixmap(fname) |
41 return QPixmap(fname) |
42 |
42 |
43 class VmListspacePlugin(object): |
43 class VmListspacePlugin(QObject): |
44 """ |
44 """ |
45 Class implementing the Listspace view manager plugin. |
45 Class implementing the Listspace view manager plugin. |
46 """ |
46 """ |
47 def __init__(self, ui): |
47 def __init__(self, ui): |
48 """ |
48 """ |