Skip to content

Latest commit

 

History

History

07 Qt Text Editor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.