Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt-get-selected-filter-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

pyqt_get_selected_filter-0.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page