common.py
Others:
This definition returns the current QApplication instance or create one if it doesn’t exists.
| Returns: | Application instance. ( QApplication ) |
|---|
This definition parses given location data.
| Parameters: | data – Exception. ( Exception ) |
|---|---|
| Returns: | Location object. ( Location ) |
This definition returns the resource file path matching the given name.
| Parameters: |
|
|---|---|
| Returns: | Resource path. ( String ) |
This method sets the default Application icon to the given window.
| Parameters: | window – Window. ( QWidget ) |
|---|---|
| Returns: | Definition success. ( Boolean ) |
This method returns a sections file parser.
| Parameters: | file – File. ( String ) |
|---|---|
| Returns: | Parser. ( SectionsFileParser ) |
This definition is a wrapper method used to store the last browsed path.
| Parameters: | data – Path data. ( QString / QList ) |
|---|---|
| Returns: | Last browsed path. ( String ) |
This definition returns given QVariant data as a string.
| Parameters: | data – Given data. ( Object ) |
|---|---|
| Returns: | QVariant data as string. ( String ) |
This definition is a generator used to retrieve the chain of parents of the given QObject instance.
| Parameters: | object – Given path. ( QObject ) |
|---|---|
| Yield : | Object parent. ( QObject ) |
This definition blocks given instance signals before calling the given attribute with given arguments and then unblocks the signals.
| Parameters: |
|
|---|---|
| Returns: | Object. ( Object ) |
This decorator is used to show a wait cursor while processing.
| Parameters: | object – Object to decorate. ( Object ) |
|---|---|
| Returns: | Object. ( Object ) |
This definition sets given height to given QToolBox widget.
| Parameters: |
|
|---|---|
| Returns: | Definition success. ( Boolean ) |
This definition sets given Widget children padding.
| Parameters: |
|
|---|---|
| Returns: | Definition success. ( Boolean ) |
Bases: foundations.dataStructures.Structure
This class represents a storage object for the SearchInFiles class location.
| Parameters: | **kwargs – directories, files, filtersIn, filtersOut, targets. ( Key / Value pairs ) |
|---|