60 Public method to generate the extension menu. |
60 Public method to generate the extension menu. |
61 |
61 |
62 Note: Derived class must implement this method. |
62 Note: Derived class must implement this method. |
63 |
63 |
64 @param mainMenu reference to the main menu (QMenu) |
64 @param mainMenu reference to the main menu (QMenu) |
65 @return populated menu (QMenu) |
65 @ireturn populated menu (QMenu) |
66 @exception NotImplementedError raised if the class has not been reimplemente |
66 @exception NotImplementedError raised if the class has not been reimplemente |
67 """ |
67 """ |
68 raise NotImplementedError |
68 raise NotImplementedError |
69 |
69 |
70 def menuTitle(self): |
70 def menuTitle(self): |
71 """ |
71 """ |
72 Public method to get the menu title. |
72 Public method to get the menu title. |
73 |
73 |
74 Note: Derived class must implement this method. |
74 Note: Derived class must implement this method. |
75 |
75 |
76 @return title of the menu (string) |
76 @ireturn title of the menu (string) |
77 @exception NotImplementedError raised if the class has not been reimplemente |
77 @exception NotImplementedError raised if the class has not been reimplemente |
78 """ |
78 """ |
79 raise NotImplementedError |
79 raise NotImplementedError |