src/eric7/Plugins/PluginVmTabview.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
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 = "Tabview Plugin" 18 name = "Tabview 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 = "tabview" 24 pluginTypename = "tabview"
25 displayString = QT_TRANSLATE_NOOP("VmTabviewPlugin", "Tabbed View") 25 displayString = QT_TRANSLATE_NOOP("VmTabviewPlugin", "Tabbed View")
26 className = "VmTabviewPlugin" 26 className = "VmTabviewPlugin"
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.Tabview.Tabview import Tabview 69 from eric7.Plugins.ViewManagerPlugins.Tabview.Tabview import Tabview
70 70
71 self.__object = Tabview(self.__ui) 71 self.__object = Tabview(self.__ui)
72 return self.__object, True 72 return self.__object, True
73 73
74 def deactivate(self): 74 def deactivate(self):

eric ide

mercurial