Get selected filter string for QFileDialog
Project description
pyqt-get-selected-filter
Get selected filter string for QFileDialog
Setup
python -m pip install pyqt-get-selected-filter
Example
### code start ###
from pyqt_get_selected_filter import getSelectedFilter
lst = ['.bmp', '.jpg', '.jpeg', '.gif', '.png']
print(getSelectedFilter(lst))
### code end ###
>> (*.bmp *.jpg *.jpeg *.gif *.png) # result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyqt-get-selected-filter-0.0.1.tar.gz
.
File metadata
- Download URL: pyqt-get-selected-filter-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f1a58a94535256e21364dcda36193f6cff26a164ca8966cdef36eab6947215 |
|
MD5 | 7110895e72bff79fedc59f49ef6335c4 |
|
BLAKE2b-256 | cf6ee58976919a9cb16c2ccb944b481c3f0a497ba249da24c4c442f7e5cfc48f |
File details
Details for the file pyqt_get_selected_filter-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyqt_get_selected_filter-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c14276ad6f737a682a39bd165ed101fe319656b5ef0c6eb8e6266e2b073557a0 |
|
MD5 | 99f03272d981652f17ea26870b9fbae2 |
|
BLAKE2b-256 | 0699ea428bd2e9d395bb5aec0bd29fc2db7fcdb4fbfa5b35d38a7baf017db30e |