Skip to content

About

Log viewer and status bar for Qt applications

Topics

Resources

Contributing

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

qt-logging

PyPI version Python License Ruff ty

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 qtpy 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 examples 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

Topics

Resources

Contributing

Stars

8 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages