2
0
mirror of https://github.com/pyqt/examples.git synced 2025-08-28 20:37:39 +00:00
examples/src/07 Qt Text Editor
Michael Herrmann 4136d26d37 Add comment
2021-04-06 06:20:38 +02:00
..
2021-04-06 06:20:38 +02:00
2019-07-01 17:14:40 +02:00

Qt Text Editor

This example implements a simple text editor with (Py)Qt.

Qt Text Editor QMenu example

Qt QMenu QDialog example

QMessageBox example

It has a surprising number of features:

  • A File menu for opening and saving files.
  • Keyboard shortcuts.
  • An About dialog.
  • A warning Do you want to save before quitting? if there are unmodified changes.

The full source code is in main.py. For instructions on how to run it, please see here.