common.py
Others:
Returns the current QApplication instance or create one if it doesn’t exists.
Returns: | Application instance. |
---|---|
Return type: | QApplication |
Parses given location data.
Parameters: | data (Exception) – Exception. |
---|---|
Returns: | Location object. |
Return type: | Location |
Returns the resource file path matching the given name.
Parameters: | |
---|---|
Returns: | Resource path. |
Return type: | unicode |
Sets the default Application icon to the given window.
Parameters: | window (QWidget) – Window. |
---|---|
Returns: | Definition success. |
Return type: | bool |
Returns a sections file parser.
Parameters: | file (unicode) – File. |
---|---|
Returns: | Parser. |
Return type: | SectionsFileParser |
Defines a wrapper method used to store the last browsed path.
Parameters: | data (QString or QList) – Path data. |
---|---|
Returns: | Last browsed path. |
Return type: | unicode |
Returns given QVariant data as a string.
Parameters: | data (object) – Given data. |
---|---|
Returns: | QVariant data as string. |
Return type: | unicode |
Defines a generator used to retrieve the chain of parents of the given QObject instance.
Parameters: | object (QObject) – Given path. |
---|---|
Yield: | Object parent. ( QObject ) |
Blocks given instance signals before calling the given attribute with given arguments and then unblocks the signals.
Parameters: |
|
---|---|
Returns: | Object. |
Return type: | object |
Shows a wait cursor while processing.
Parameters: | object (object) – Object to decorate. |
---|---|
Returns: | Object. |
Return type: | object |
Sets given height to given QToolBox widget.
Parameters: |
|
---|---|
Returns: | Definition success. |
Return type: | bool |
Bases: foundations.dataStructures.Structure
Defines a storage object for the SearchInFiles class location.
Initializes the class.
Parameters: | **kwargs (dict) – directories, files, filtersIn, filtersOut, targets. |
---|