45 Constructor |
45 Constructor |
46 |
46 |
47 @param ui reference to the user interface object (UI.UserInterface) |
47 @param ui reference to the user interface object (UI.UserInterface) |
48 """ |
48 """ |
49 QObject.__init__(self, ui) |
49 QObject.__init__(self, ui) |
|
50 |
50 self.__ui = ui |
51 self.__ui = ui |
51 self.__action = None |
52 self.__action = None |
52 |
53 |
53 self.__translator = None |
54 self.__translator = None |
54 self.__loadTranslator() |
55 self.__loadTranslator() |
55 |
|
56 def __initialize(self): |
|
57 """ |
|
58 Private slot to (re)initialize the plug-in. |
|
59 """ |
|
60 self.__act = None |
|
61 |
56 |
62 def activate(self): |
57 def activate(self): |
63 """ |
58 """ |
64 Public method to activate this plug-in. |
59 Public method to activate this plug-in. |
65 |
60 |