This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # © 2013 Mark Harviston, BSD License | |
| # 2016: update to use PyQt5/Python3, some enhancements by Christian González | |
| """ | |
| Qt data models that bind to SQLAlchemy queries | |
| """ | |
| from PyQt5.QtWidgets import QMessageBox | |
| from PyQt5.QtSql import QSqlTableModel | |
| from PyQt5.Qt import QVariant, Qt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """QPlainTextEdit With Inline Spell Check | |
| Original PyQt4 Version: | |
| https://nachtimwald.com/2009/08/22/qplaintextedit-with-in-line-spell-check/ | |
| Copyright 2009 John Schember | |
| Copyright 2018 Stephan Sokolow |