10 import os |
10 import os |
11 |
11 |
12 from PyQt6.QtCore import QT_TRANSLATE_NOOP, QObject |
12 from PyQt6.QtCore import QT_TRANSLATE_NOOP, QObject |
13 from PyQt6.QtGui import QPixmap |
13 from PyQt6.QtGui import QPixmap |
14 |
14 |
15 import UI.Info |
15 from eric7.UI import Info |
16 |
16 |
17 # Start-Of-Header |
17 # Start-Of-Header |
18 name = "Listspace Plugin" |
18 name = "Listspace Plugin" |
19 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
19 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
20 autoactivate = False |
20 autoactivate = False |
21 deactivateable = False |
21 deactivateable = False |
22 version = UI.Info.VersionOnly |
22 version = Info.VersionOnly |
23 pluginType = "viewmanager" |
23 pluginType = "viewmanager" |
24 pluginTypename = "listspace" |
24 pluginTypename = "listspace" |
25 displayString = QT_TRANSLATE_NOOP("VmListspacePlugin", "Listspace") |
25 displayString = QT_TRANSLATE_NOOP("VmListspacePlugin", "Listspace") |
26 className = "VmListspacePlugin" |
26 className = "VmListspacePlugin" |
27 packageName = "__core__" |
27 packageName = "__core__" |
64 Public method to activate this plugin. |
64 Public method to activate this plugin. |
65 |
65 |
66 @return tuple of reference to instantiated viewmanager and |
66 @return tuple of reference to instantiated viewmanager and |
67 activation status (boolean) |
67 activation status (boolean) |
68 """ |
68 """ |
69 from ViewManagerPlugins.Listspace.Listspace import Listspace |
69 from eric7.Plugins.ViewManagerPlugins.Listspace.Listspace import Listspace |
70 |
70 |
71 self.__object = Listspace(self.__ui) |
71 self.__object = Listspace(self.__ui) |
72 return self.__object, True |
72 return self.__object, True |
73 |
73 |
74 def deactivate(self): |
74 def deactivate(self): |