Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-html-viewer
PyQt HTML Viewer
https://github.com/yjg30737/pyqt-html-viewer
html-viewer pyqt pyqt-examples pyqt5 pyqt5-application pyqt5-desktop-application pyqt5-examples pyqt5-gui pyqt5-tutorial pyqt5-viewer pyqtwebengine python python3 python37 qt qwebengineview qwebview
Last synced: about 19 hours ago
JSON representation
PyQt HTML Viewer
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-html-viewer
- Owner: yjg30737
- License: mit
- Created: 2021-12-13T04:01:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-12T05:29:22.000Z (almost 3 years ago)
- Last Synced: 2024-12-29T08:42:11.666Z (about 2 months ago)
- Topics: html-viewer, pyqt, pyqt-examples, pyqt5, pyqt5-application, pyqt5-desktop-application, pyqt5-examples, pyqt5-gui, pyqt5-tutorial, pyqt5-viewer, pyqtwebengine, python, python3, python37, qt, qwebengineview, qwebview
- Language: Python
- Homepage:
- Size: 15.1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-html-viewer
PyQt HTML Viewer## Requirements
* PyQt5 >= 5.15
* pyqtwebengine // For showing html file## Features
* Being able to view all of html files in the folder
* Being able to see all of html files in the files list
* Being able to see html file when double-clicking one of files in the list
* Being able to view the source of current html file
* Being able to see previous, next html file with left, right key
* Being able to resize each of widgets. (QSplitter)
* Being able to see as a full screen## Setup
```
pip3 install pyqt5 --upgrade # If you don't have pyqt5
pip3 install pyqtwebengine --upgrade # If you don't have pyqtwebengine
pip3 install git+https://github.com/yjg30737/pyqt-html-viewer.git --upgrade
```
Note: If ModuleNotFoundError occured then do it all above in order.## Included packages
* pyqt-style-setter
* pyqt-custom-titlebar-setter
* pyqt-description-tooltip
* pyqt-list-viewer-widget
* pyqt-get-selected-filter## Code Example
```python
from pyqt_html_viewer import HtmlViewerAppif __name__ == "__main__":
import sysapp = HtmlViewerApp(sys.argv)
app.exec_()
```Result
Start page

Viewing html file

File list

Source code
