39 """ |
39 """ |
40 Public method to generate the extension menus. |
40 Public method to generate the extension menus. |
41 |
41 |
42 Note: Derived class must implement this method. |
42 Note: Derived class must implement this method. |
43 |
43 |
44 @ireturn dictionary of populated menu (dict of QMenu). The dict |
44 @return dictionary of populated menu (dict of QMenu). The dict |
45 must have the keys 'mainMenu', 'multiMenu', 'backMenu', 'dirMenu' |
45 must have the keys 'mainMenu', 'multiMenu', 'backMenu', 'dirMenu' |
46 and 'dirMultiMenu'. |
46 and 'dirMultiMenu'. |
47 @exception NotImplementedError raised if the class has not been |
47 @exception NotImplementedError raised if the class has not been |
48 reimplemented |
48 reimplemented |
49 """ |
49 """ |
53 """ |
53 """ |
54 Public method to get the menu title. |
54 Public method to get the menu title. |
55 |
55 |
56 Note: Derived class must implement this method. |
56 Note: Derived class must implement this method. |
57 |
57 |
58 @ireturn title of the menu (string) |
58 @return title of the menu (string) |
59 @exception NotImplementedError raised if the class has not been |
59 @exception NotImplementedError raised if the class has not been |
60 reimplemented |
60 reimplemented |
61 """ |
61 """ |
62 raise NotImplementedError |
62 raise NotImplementedError |
63 |
63 |