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

  Рет қаралды 18,145

Code First with Hala

Code First with Hala

Күн бұрын

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.
PyQt5 playlist link: • PyQt5 Full App Tutoria...
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
Source code: github.com/codefirstio/pyqt5-...
For more information:
Install and Setup PyQt5 and Qt Designer: • Install and Setup PyQt...
Socials:
My email: code.first.io@gmail.com
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

Пікірлер: 29
@pdep
@pdep 11 ай бұрын
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.
@healthysports2621
@healthysports2621 5 ай бұрын
Amazing and easy to understand!!
@Farzada-lm1ii
@Farzada-lm1ii 2 ай бұрын
Thanks. that is great
@jeffmyers1230
@jeffmyers1230 Жыл бұрын
Hi Hala This was an outstanding video. Thank you
@codefirstwithhala
@codefirstwithhala Жыл бұрын
You are welcome! Glad you liked it
@tutannama9799
@tutannama9799 Жыл бұрын
Love this video
@divergenny
@divergenny Жыл бұрын
Thank you for lesson
@XsOfficialBrand
@XsOfficialBrand Жыл бұрын
with you, i. have can do so many app with my Engine(Thanks)
@arsenetaka6216
@arsenetaka6216 2 жыл бұрын
Good crack!
@omar6666
@omar6666 11 ай бұрын
thanks
@sujitsingh7279
@sujitsingh7279 2 жыл бұрын
Hi Hala Can you make a tutorial on how to make our PYQT5 app responsive to different screen size?
@its_code
@its_code 2 жыл бұрын
WOW really interesting 😍😍 project
@codefirstwithhala
@codefirstwithhala 2 жыл бұрын
Thank you! 😊
@its_code
@its_code 2 жыл бұрын
@@codefirstwithhala ❤️❤️
@pdep
@pdep 11 ай бұрын
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?
@malekalmashakba2810
@malekalmashakba2810 Жыл бұрын
Thanks for the video How do I download a file "main.ui"
@michaelelvisuchenna6652
@michaelelvisuchenna6652 Жыл бұрын
Please make a video on how to connect python to MYSQL. Thanks
@arthurdeka
@arthurdeka 2 жыл бұрын
Thanks for the video! There is anyway or anywhere to know all possible styleSheet parameters for every widget in QtDesigner?
@codefirstwithhala
@codefirstwithhala 2 жыл бұрын
Hi Arthur, great question! Check out this open source documentation docs.huihoo.com/qt/4.2/stylesheet.html and scroll to "Customizing Qt Widgets Using Style Sheets". There, you can find a list of stylable widgets as well as a list of attributes such as background, border, color, etc... Hope this helps!
@arthurdeka
@arthurdeka 2 жыл бұрын
@@codefirstwithhala Thanks!
@sujitsingh7279
@sujitsingh7279 2 жыл бұрын
Also, how can I switch screen by destroying tha last screen so that it does not consume much memory
@justinshears879
@justinshears879 6 ай бұрын
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):
@Jantzku
@Jantzku 2 ай бұрын
It's a weird one. I guess it has something to do with Python, but doesn't interfere with your code
@jiakai7254
@jiakai7254 Жыл бұрын
how about saving the font of the text?
@divergenny
@divergenny Жыл бұрын
Sorry, how to change background color when hover in black theme ? This is not working QMenuBar::item:hover { background-color: #000000; }
@BlackFlag_EndTimes
@BlackFlag_EndTimes 2 жыл бұрын
Which one will be better. Qt C++ or Qt with python.
@codefirstwithhala
@codefirstwithhala 2 жыл бұрын
Great question! This depends on a lot of factors, including also what you prefer as a developer. If you're a Python developer with limited C++ knowledge, then of course PyQt5 is the correct choice and vice versa. If you're good with both, then there's a list of factors and differences you can take into account. I can make a video discussing this if you're interested :)
@20fe
@20fe 2 жыл бұрын
I'm sorry
@inapply_tim2926
@inapply_tim2926 Жыл бұрын
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 67 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 24 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 3,3 МЛН
PyQt5 Tutorial - How to Use Qt Designer
10:53
Tech With Tim
Рет қаралды 786 М.
PyQt vs. PySide: Differences, Similarities, and Licenses [2022]
6:58
Code First with Hala
Рет қаралды 47 М.
How To Load PYQT5 Designer UI File - PyQt5 GUI Thursdays #27
15:29
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 73 М.
Working With Qt Designer's UI Files And PyQt
19:17
DistroTube
Рет қаралды 15 М.
Make Tkinter Look 10x Better in 5 Minutes (CustomTkinter)
4:40
TurbineThree
Рет қаралды 249 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 21 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 29 МЛН
Мой инст: denkiselef. Как забрать телефон через экран.
0:54
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2,2 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 12 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 727 М.