actionsManager.py
Others:
Bases: PyQt4.QtCore.QObject
This class is a QObject subclass providing an actions manager.
| Parameters: |
|
|---|
This method is the property for self.__namespaceSplitter attribute.
| Returns: | self.__namespaceSplitter. ( String ) |
|---|
This method is the property for self.__rootNamespace attribute.
| Returns: | self.__rootNamespace. ( String ) |
|---|
This method is the property for self.__defaultNamespace attribute.
| Returns: | self.__defaultNamespace. ( String ) |
|---|
This method is the property for self.__categories attribute.
| Returns: | self.__categories. ( Dictionary ) |
|---|
This method returns requested category.
| Parameters: |
|
|---|---|
| Returns: | Category. ( Dictionary ) |
This method adds given action to given category.
| Parameters: |
|
|---|---|
| Returns: | Method success. ( Boolean ) |
This method removes given action from given category.
| Parameters: |
|
|---|---|
| Returns: | Method success. ( Boolean ) |
This method returns requested action.
| Parameters: | action – Action name. ( String ) |
|---|---|
| Returns: | Action. ( QAction ) |
This method returns if the given action name is registered.
| Parameters: | name – Action name. ( String ) |
|---|---|
| Returns: | Is action registered. ( Boolean ) |
This method registers given action name, optional arguments like a parent, icon, slot etc ... can be given.
| Parameters: |
|
|---|---|
| Returns: | Action. ( QAction ) |
This method unregisters given action name.
| Parameters: | name – Action to register. ( String ) |
|---|---|
| Returns: | Method success. ( Boolean ) |
This method returns if given action shortcut is in use.
| Parameters: | name – Action shortcut. ( String ) |
|---|---|
| Returns: | Is shortcut in use. ( Boolean ) |