PyQt5 QtDesigner Text Editor Project tutorial - PyQt5 Project for Beginners!

preview_player
Показать описание
Build a Text Editor with PyQt5 and QtDesigner. This is a beginner friendly tutorial. Use PyQt5 to create a text editor with interactive features and customizable features.

In this video, you will:
- Learn how to use PyQt5 and QtDesigner
- Use Qt Designer UI files with Python code.
- Work with QMenuBar in PyQt5
- Add menu items in PyQt5
- Browse files in PyQt5
- Open a File Dialog in PyQt5 (QFileDialog)
- Save file in PyQt5
- Use Light mode and Dark mode in PyQt5
- Undo, Redo, Cut, Copy, Paste in PyQt5

For more information:

Socials:

Timestamps:
00:00:00 Introduction and app demo
00:03:51 Designing the text editor UI in QtDesigner
00:08:02 Adding the QMenuBar, QMenu, and QAction
00:12:36 Loading QtDesigner UI into Python code
00:19:26 Adding functions to the QMenu and the QActions
00:25:22 Adding keyboard shortcuts to the QActions
00:28:49 Undo functionality
00:31:47 Redo, Cut, Copy, and Paste functionality
00:34:56 New file functionality
00:38:37 Open file functionality
00:46:26 Save file functionality
00:54:30 Save as functionality
01:00:29 Dark mode and light mode styling
01:09:25 Changing font size

*************
**Tags**
PyQt5
PyQt5 tutorial
PyQt5 module
PyQt5 Designer
QtDesigner
Qt GUI tutorial
QTabWidget
PyQt5 gradient
PyQt5 modern GUI
PyQt5 Dark Mode
PyQt5 Text Editor
PyQt5 save file
PyQt5 FileDialog
PyQt5 QFileDialog
Рекомендации по теме
Комментарии
Автор

Brilliant - covers [nearly] all the essential points. Enough info so I could add a Quit menu action and change CSS text color on QMenu. Not only is this clearly presented in an orderly manner, there is very little fluff or diversion. Much appreciated - thank you. BTW icons on a toolbar might be an interesting addition.

pdep
Автор

with you, i. have can do so many app with my Engine(Thanks)

XsOfficialBrand
Автор

Hi Hala This was an outstanding video. Thank you

jeffmyers
Автор

Anyone have a idea on how to deal with this warning.... DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead
class Main(QMainWindow):

justinshears
Автор

Hi Hala
Can you make a tutorial on how to make our PYQT5 app responsive to different screen size?

sujitsingh
Автор

Hmm - sorry to say I may have found an 'issue' - when part of text have a font size is increased and the file then saved, the increased [or decreased] font sizes are not preserved. They revert to a common fontesize. Any suggestions. please?

pdep
Автор

Sorry, how to change background color when hover in black theme ? This is not working
QMenuBar::item:hover {
background-color:
}

divergenny
Автор

Also, how can I switch screen by destroying tha last screen so that it does not consume much memory

sujitsingh
Автор

Please make a video on how to connect python to MYSQL. Thanks

michaelelvisuchenna
Автор

how about saving the font of the text?

jiakai
Автор

Thanks for the video
How do I download a file "main.ui"

malekalmashakba
Автор

Thanks for the video! There is anyway or anywhere to know all possible styleSheet parameters for every widget in QtDesigner?

arthurdeka
Автор

Which one will be better. Qt C++ or Qt with python.

BlackFlag_EndTimes