pyqt-windows-os-light-dark-theme-window

PyQt windows which detects Windows dark/light theme settings and changes the theme dynamically


Keywords
pyside, pyside-example, pyside-tutorial, pyside6, qchart, qsortfilterproxymodel, qsqldatabase, qsqlquery, qsqltablemodel, qtsql
License
MIT
Install
pip install pyqt-windows-os-light-dark-theme-window==0.0.1

Documentation

pyside-database-chart-example

Example of using database and chart with PySide6

I used PySide6 unlike the others because PyQt5 or PyQt6 is very finicky to import QChart for some reasons.

You can see the basic description to use the database GUI here - pyqt-database-example.

Yes, it is PyQt database but PySide and PyQt are almost identical so there is not a bit of a problem to understand.

Requirements

  • PySide6

Setup

python -m pip install git+https://github.com/yjg30737/pyside-database-chart-example.git --upgrade

Example

from PySide6.QtWidgets import QApplication
from pyside_database_chart_example.main import Window


if __name__ == "__main__":
    import sys

    app = QApplication(sys.argv)
    window = Window()
    window.show()
    sys.exit(app.exec())

Result

image

See Also