Skip to content

beatreichenbach/qt-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qt-logging

The qt-logging package provides widgets to display the log output to the user. The log viewer can be used to look at filtered logging output while the log bar offers quick access and feedback to the user.

This package uses Material Icons from qt-material-icons.

Header

Header

Installation

Install using pip:

pip install qt-logging

Usage

import logging

from PySide6 import QtWidgets
import qt_logging

app = QtWidgets.QApplication()

widget = QtWidgets.QWidget()
layout = QtWidgets.QVBoxLayout()
widget.setLayout(layout)
log_bar = qt_logging.LogBar()
layout.addWidget(log_bar)
widget.show()

logging.error('Something went wrong!')
app.exec()

For more examples see the tests directory.

Contributing

To contribute please refer to the Contributing Guide.

License

MIT License. Copyright 2024 - Beat Reichenbach. See the License file for details.

About

Log viewer and status bar for Qt applications

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages