Skip to main content

pyqt-file-list-widget

PyQt QListWidget for files (Being able to drop the files based on user-defined extensions)

Requirements

PyQt5 >= 5.8

Setup

python -m pip install pyqt-file-list-widget

Included Packages

Method Overview

  • addFilenames(filenames: list, cur_filename: str = '') - Add files on the list. cur_filename is current file name to set. Default is first one.

  • setFilenames(filenames: list, cur_filename: str = '') - Clear the list before adding new files on the list.

  • addDirectory(dirname: str, cur_filename: str = '') - Add files in directory.

  • setDirectory(dirname: str, cur_filename: str = '') - Clear the list before adding new files on the list.

  • setFilenameOnly(f: bool) - Show file name only. ex) C:...\abc.txt -> abc.txt

  • isFilenameOnly() -> bool

  • getSelectedFilenames() -> list

  • removeSelectedRows()

  • clear() - Overriding method.

  • getAbsFilename(basename: str) -> str - Get the absolute file path with base file name.

  • setExtensions(extensions: list) - Set the acceptable extensions of list.

  • setDuplicateEnabled(f: bool) - Allow list to have duplicate item.

  • isDuplicateEnabled() -> bool

  • getFilenameFromRow(r: int) -> str

Example

See pyqt-top-left-right-file-list-widget

Metadata

Release files for pyqt-file-list-widget 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqt-file-list-widget 0.0.1
File Size Uploaded Provenance Actions
pyqt-file-list-widget-0.0.1.tar.gz 4.0 kB Without provenance Details for pyqt-file-list-widget-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyqt-file-list-widget 0.0.1
File Interpreter ABI Platform Actions
pyqt_file_list_widget-0.0.1-py3-none-any.whl Python 3 none any Details for pyqt_file_list_widget-0.0.1-py3-none-any.whl

Total release size: 8.8 kB

Release files / pyqt-file-list-widget-0.0.1.tar.gz

Download URL pyqt-file-list-widget-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0f76b590ff44fd840df93907143757eff9ca1b4dacd2f36c260f562b2997a4f4
BLAKE2b-256 checksum
How to use checksums
48ceb399c7beb61e60150fbd02406886311e64e28c4a428c46ba82298268a173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Release files / pyqt_file_list_widget-0.0.1-py3-none-any.whl

Download URL pyqt_file_list_widget-0.0.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28df6961dba8116c08694b3f8346ab24cbed35285d7b9667dd5558764ce56e89
BLAKE2b-256 checksum
How to use checksums
ea43c0416e16c76b1facd99868c4ca60fa76b326e8e5c505e969ad232850ce4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Security for pyqt-file-list-widget 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page