PyQt HTML Viewer
- PyQt5 >= 5.15
- pyqtwebengine // For showing html file
- 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
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.
- pyqt-style-setter
- pyqt-custom-titlebar-setter
- pyqt-description-tooltip
- pyqt-list-viewer-widget
- pyqt-get-selected-filter
from pyqt_html_viewer import HtmlViewerApp
if __name__ == "__main__":
import sys
app = HtmlViewerApp(sys.argv)
app.exec_()
Result
Start page
Viewing html file
File list
Source code