templatesOutliner.py
Others:
Bases: manager.qwidgetComponent.QWidgetComponent
Initializes the class.
Parameters: |
|
---|
This signal is emited by the TemplatesOutliner class when TemplatesOutliner.model class property model Nodes needs to be refreshed. ( pyqtSignal )
Property for self.__uiResourcesDirectory attribute.
Returns: | self.__uiResourcesDirectory. |
---|---|
Return type: | unicode |
Property for self.__uiSoftwareAffixe attribute.
Returns: | self.__uiSoftwareAffixe. |
---|---|
Return type: | unicode |
Property for self.__uiUnknownSoftwareImage attribute.
Returns: | self.__uiUnknownSoftwareImage. |
---|---|
Return type: | unicode |
Property for self.__settings attribute.
Returns: | self.__settings. |
---|---|
Return type: | QSettings |
Property for self.__settingsSection attribute.
Returns: | self.__settingsSection. |
---|---|
Return type: | unicode |
Property for self.__settingsSeparator attribute.
Returns: | self.__settingsSeparator. |
---|---|
Return type: | unicode |
Property for self.__scriptEditor attribute.
Returns: | self.__scriptEditor. |
---|---|
Return type: | QWidget |
Property for self.__database attribute.
Returns: | self.__database. |
---|---|
Return type: | object |
Property for self.__model attribute.
Returns: | self.__model. |
---|---|
Return type: | TemplatesModel |
Property for self.__headers attribute.
Returns: | self.__headers. |
---|---|
Return type: | OrderedDict |
Property for self.__extension attribute.
Returns: | self.__extension. |
---|---|
Return type: | unicode |
Property for self.__defaultCollections attribute.
Returns: | self.__defaultCollections. |
---|---|
Return type: | dict |
Property for self.__factoryCollection attribute.
Returns: | self.__factoryCollection. |
---|---|
Return type: | unicode |
Property for self.__userCollection attribute.
Returns: | self.__userCollection. |
---|---|
Return type: | unicode |
Property for self.__templatesInformationsDefaultText attribute.
Returns: | self.__templatesInformationsDefaultText. |
---|---|
Return type: | unicode |
Property for self.__treeViewInnerMargins attribute.
Returns: | self.__treeViewInnerMargins. |
---|---|
Return type: | int |
Property for self.__templatesInformationsText attribute.
Returns: | self.__templatesInformationsText. |
---|---|
Return type: | unicode |
Activates the Component.
Parameters: | engine (QObject) – Engine to attach the Component to. |
---|---|
Returns: | Method success. |
Return type: | bool |
Adds the Component Widget to the engine.
Returns: | Method success. |
---|---|
Return type: | bool |
Defines the slot triggered by Framework startup.
Returns: | Method success. |
---|---|
Return type: | bool |
Defines the slot triggered by Framework close.
Returns: | Method success. |
---|---|
Return type: | bool |
Adds an user defined Template to the Database.
Returns: | Method success. |
---|---|
Return type: | bool |
Note: | May require user interaction. |
Removes user selected Templates from the Database.
Returns: | Method success. |
---|---|
Return type: | bool |
Note: | May require user interaction. |
Updates given Template location.
Parameters: | template (Template) – Template to update. |
---|---|
Returns: | Method success. |
Return type: | bool |
Note: | May require user interaction. |
Imports default Templates into the Database.
Returns: | Method success. |
---|---|
Return type: | bool |
Note: | May require user interaction. |
Displays user selected Templates help files.
Returns: | Method success. |
---|---|
Return type: | bool |
Filters Templates by versions.
Returns: | Method success. |
---|---|
Return type: | bool |
Note: | May require user interaction. |
Adds a Template to the Database.
Parameters: | |
---|---|
Returns: | Method success. |
Return type: | bool |
Adds given directory Templates to the Database.
Parameters: | |
---|---|
Returns: | Method success. |
Return type: | bool |
Adds default Templates Collections / Templates to the Database.
Parameters: | forceImport (bool) – Force Templates import. |
---|---|
Returns: | Method success. |
Return type: | bool |
Removes given Template from the Database.
Parameters: | templates (list) – Template to remove. |
---|---|
Returns: | Method success. |
Return type: | bool |
Returns if given Template path exists in the Database.
Parameters: | name (unicode) – Template path. |
---|---|
Returns: | Template exists. |
Return type: | bool |
Displays given Templates help file.
Parameters: | template (Template) – Template to display help file. |
---|---|
Returns: | Method success. |
Return type: | bool |
Returns Database Templates Collections.
Returns: | Database Templates Collections. |
---|---|
Return type: | list |
Filters the Database Templates Collections on given attribute using given pattern.
Parameters: | |
---|---|
Returns: | Filtered Database Templates Collections. |
Return type: | list |
Filters the Database Templates on given attribute using given pattern.
Parameters: | |
---|---|
Returns: | Filtered Database Templates. |
Return type: | list |
Lists Database Templates names.
Returns: | Database Templates names. |
---|---|
Return type: | list |
Returns Database Template with given name.
Parameters: | name (unicode) – Template name. |
---|---|
Returns: | Database Template. |
Return type: | Template |
Note: | The filtering is actually performed on ‘title’ attributes instead of ‘name’ attributes. |
Returns Templates Collection from given Collection name.
Parameters: | collection (unicode) – Collection name. |
---|---|
Returns: | Collection. |
Return type: | Collection |
Returns given Collection id.
Parameters: | collection (unicode) – Collection to get the id from. |
---|---|
Returns: | Provided Collection id. |
Return type: | int |
Returns the View selected nodes.
Returns: | View selected nodes. |
---|---|
Return type: | dict |