PyQt5 QTreeWidget tutorial: Load data, organize tree, access elements and parents [Tree Widget]

  Рет қаралды 34,302

Code First with Hala

Code First with Hala

3 жыл бұрын

Learn how to use a Tree Widget, or QTreeWidget with Python PyQt5. Display hierarchical data in your Tree Widget. Format and resize your Tree Widget. Work with the QTreeWidgetItem objects. Access QTreeWidget child and parent items.
In this video, you will:
-Work with PyQt5 and QtDesigner
-Use QTreeWidget or PyQt5 Tree Widget
-Display data in the tree widget
-Format QTreeWidget
-Resize Tree Widget
-Create QTreeWidgetItem
-Add QTreeWidgetItem
-Get parent for QTreeWidgetItem
-Add children for QTreeWidgetItem
-Select and access QTreeWidgetItem
For more info:
Install and Setup PyQt5 and Qt Designer: • Install and Setup PyQt...
Styling PyQt5 Widgets: Using CSS with PyQt5 in QtDesigner: • Styling PyQt5 Widgets:...
PyQt5 QTableWidget tutorial: Load data, fill tables, format tables [Table Widget]: • PyQt5 QTableWidget tut...
PyQt5 QtDesigner Login and Signup Forms tutorial: for COMPLETE beginners: • PyQt5 QtDesigner Login...
For suggestions or comments:
My email: code.first.io@gmail.com
*************
*Tags*
PyQt5
PyQt5 tutorial
PyQt5 module
PyQt5 Designer
QtDesigner
Qt GUI tutorial
QTreeWidget
PyQt5 Tree Widget

Пікірлер: 28
@samiulhaq9144
@samiulhaq9144 2 жыл бұрын
Hats up to you Madam, what a clear explanation. God bless you
@Skullschildi1
@Skullschildi1 3 жыл бұрын
thank you very much for creating this video, the docs cannot compete with it
@burns7741
@burns7741 2 жыл бұрын
Nice tutorial, thank you for the time you spent for us !
@damianurbano3329
@damianurbano3329 3 жыл бұрын
Ty u are my master. Forever yours
@lalmiahmed3573
@lalmiahmed3573 2 жыл бұрын
That was amazing, thanks !
@nyc7861463
@nyc7861463 3 жыл бұрын
Love it
@asynchApologist
@asynchApologist Жыл бұрын
Very interesting video, I am interested in your use of XML. I am currently coding a qt5 C++ application with a tree widget and table widget :). I have always wanted to learn Python. Happy coding.
@ikhsanmaulana3690
@ikhsanmaulana3690 3 жыл бұрын
How to reverse it? Save the QtreeWidget to XML file that can loaded?
@patricioantoniohevia8394
@patricioantoniohevia8394 3 жыл бұрын
Can it be done with more columns?
@sadiaferdous1779
@sadiaferdous1779 3 жыл бұрын
The video is really good to understand. But I want to know how can I connect the child objects to Mongodb database? Please help if you know
@souleymanedaouda5588
@souleymanedaouda5588 2 жыл бұрын
thanks
@powlock1994
@powlock1994 Жыл бұрын
Hello,
@paulopraca6197
@paulopraca6197
Thanks for the video. Where can we download the books.xml file
@maryam7221
@maryam7221 Жыл бұрын
Can you make a tutorial for qtreewidget with pyqt to get data from mysql?
@56ya
@56ya Жыл бұрын
I wasted days trying to learn how to extract the data from a treewidget, and the last 2 minutes of your video got me out of my doubt. Can you share the code with me? thank you very much
@m5997
@m5997 Жыл бұрын
super like
@dimitrisp.1411
@dimitrisp.1411 Жыл бұрын
Hello very nice video. I have a quetion. Is it possible to click an item of a nabigation tree and through that click to call a function that pops up a new widget to our main Window?
@dhanunjayam5010
@dhanunjayam5010 Жыл бұрын
Hi Hala, how to solve pyqt5 module not found error?
@lamify_pro
@lamify_pro 3 жыл бұрын
Thanks
@paulopraca6197
@paulopraca6197
I think there is a typo in the code. In item.parent.text(0) should be item.parent().text(0)
Multiple Screens in PyQt5: Switch screens without opening a new window
11:43
Code First with Hala
Рет қаралды 93 М.
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 18 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 26 МЛН
PyQt5 QTableWidget tutorial: Load data, fill tables, format tables [Table Widget]
18:04
Урок 27 - Работа с QTreeWidget(Элементом дерева)
37:42
Сергей Будейкин
Рет қаралды 7 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 42 М.
How to display images in QTreeView widget in PyQt5
10:12
Jie Jenn
Рет қаралды 6 М.
QTableWidget - Python PyQt5 Qt Designer
11:15
Turtle Code
Рет қаралды 29 М.
Creating Your Own Qt Applications...It's Easy!
15:27
DistroTube
Рет қаралды 36 М.