Тёмный

C++ Qt 21 - QTreeWidget 

VoidRealms
Подписаться 84 тыс.
Просмотров 122 тыс.
50% 1

QML Beginners: www.udemy.com/course/qml-for-...
Qt Core Beginners: www.udemy.com/course/qt-core-...
Qt Core Intermediate: www.udemy.com/course/qt-core-...
QT Core Advanced: www.udemy.com/course/qt-core-...
Qt Widgets Beginners: www.udemy.com/course/qt-widge...

Опубликовано:

 

24 янв 2011

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@janszachno463
@janszachno463 Год назад
Still helpful in 2023, really appreciated
@happyhoodlum3514
@happyhoodlum3514 8 лет назад
Thank you good sir for making these tutorials, really helped me a lot.
@wizzzor
@wizzzor 13 лет назад
Great tutorials! And if you want an easier way for prototyping, Press alt + enter on your prototype to insert a definition to your sourcefile and jump to it. Refactoring with qtcreator is so easy
@laserbeak43
@laserbeak43 11 лет назад
loving these tutorials thanks so much!!! can't wait to make it to threading!! I have to take a break from these or i'll forget about the world around me!!
@feraudyh
@feraudyh 11 лет назад
Best of the web stuff! Thanks Brian!
@maxx666mayhem
@maxx666mayhem 8 лет назад
The most concise tutorial on Qt Tree Widget... Simply awesome... Thanks for sharing..
@ashtonalejandro5816
@ashtonalejandro5816 3 года назад
i know it is pretty off topic but does anyone know of a good website to stream newly released tv shows online?
@brucedenver2731
@brucedenver2731 3 года назад
@Ashton Alejandro I would suggest Flixzone. Just search on google for it =)
@TheSpacenout
@TheSpacenout 12 лет назад
First of all: Thank you Brian!
@NehadHirmiz
@NehadHirmiz 10 лет назад
Great Tutorial. Thank you :)
@PetrJirous
@PetrJirous 12 лет назад
your vids R simply awesome! thanks for that
@momchi2
@momchi2 12 лет назад
thank you!!! You have a gift to instruct :)
@FB0102
@FB0102 11 лет назад
Very good tutorial, thanks!
@williamsmith455
@williamsmith455 7 лет назад
Excellent tutorials.
@piergiorgiovalli5220
@piergiorgiovalli5220 10 лет назад
Thanks, very good
@DumitruLoghin
@DumitruLoghin 10 лет назад
thank you a lot
@scrumscoder8465
@scrumscoder8465 10 лет назад
Thanxs!
@_Junkers
@_Junkers 9 лет назад
Not sure why but mine insists that I include in Dialog.h
@_Junkers
@_Junkers 8 лет назад
It didn't for me
@Jacobs322SK
@Jacobs322SK 10 лет назад
I'm pretty confused :/
@eragon19881
@eragon19881 12 лет назад
@Notes90 I think you have to add in manually. I got the same problem so I just add it manually, it's not a big stuff i reckon. Have fun !
@rajeshbhau2603
@rajeshbhau2603 7 лет назад
how to add gridlines inside the treeview .same how it looks like .if u open the .ui window on the right side ...?? please if anybody knows tell me ..thanks inadvance
@AbouchYassine
@AbouchYassine 9 лет назад
thanks you
@phantuan1219
@phantuan1219 11 лет назад
Thanks
@charleso5940
@charleso5940 6 лет назад
A good last minute explanation would be how to "get" a root/parent from an existing treeWidget, using only the string name/combination and touching on duplicate record management.
@JohanDorland
@JohanDorland 12 лет назад
You're right about the religous Qt/Java thing though. And besides, classic Java UI's are horrific. If you want a good looking cross platform application with java you want to use a GUI framework like Qt anyway
@Notes90
@Notes90 12 лет назад
I always have to manually add include QtCore and QtGui directives, how can i have them always while creating new dialog ?
@chetanphoenix
@chetanphoenix 11 лет назад
I have a question. How do we construct roots that have different children? I mean adding children to the root node, can't it be done outside AddRoot function?
@Hevletica
@Hevletica Год назад
For those using Qt5+ replace QtGui with #include
@WraithGlade
@WraithGlade 9 лет назад
For the record, it is very poor style to create a function named AddRoot that does anything other than only adding the root. Either (1) the root nodes should be moved out of the local function scope or (2) the function should be renamed "AddExampleTree" (or whatever) instead of "AddRoot" so that it does not mislead the user about what it actually does. The fact that few tutorials ever give the proper amount of attention to matters of clarity and style is probably a major contributing factor in why so many programmers out of school have such profoundly poor code clarity and style. It is not enough for code to merely work, the source code should also be as conceptually correct and clear as possible and have no extraneous side effects. Anyway (concerning AddRoot), if you have only one root and you want to move it outside of the local function you can add "QTreeWidgetItem *rootItem;" to the dialog header file and call AddRoot in the Dialog::Dialog(QWidget *parent) just as before and then you will have separated the root out of the local scope of AddRoot so that you can remove the AddChild calls in AddRoot that have been included in it in poor taste. Likewise you can extend the idea to having multiple root members using either a fixed number of named root pointer variables or a dynamically growable data structure such as vector from STL for example.
@PujaKumariMCE
@PujaKumariMCE 6 лет назад
Could you please add a tutorial on how to create TreeView of XML File
@TheSpacenout
@TheSpacenout 12 лет назад
i changed the example somewhat: look at pastebin /fVH6J3D2 add the .com
@muhammadsalmangalileo945
@muhammadsalmangalileo945 7 лет назад
in void Dialog::addChild in QTreeWidgetItem *itm = new QTreeWidgetItem(); need a parent? if not, where did it deleted?
@ebisu6374
@ebisu6374 7 лет назад
Look at next lines: ... parent->addChild(itm); Here, parent becomes child's parent, so child will be destructed.
@QuilavaKing
@QuilavaKing 10 лет назад
On this line: "QTreeWidgetItem *itm = new QTreeWidgetItem( ui->treeWidget );" It says that 'ui' was not declared. =/
@pleasewait184
@pleasewait184 10 лет назад
Add Dialog:: scope to definition: void Dialog::AddRoot(QString name, QString description)
Далее
C++ Qt 22 - QTreeWidget Continued
3:58
Просмотров 64 тыс.
BEST WAY to make Desktop Applications in C++
26:00
Просмотров 900 тыс.
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
Move Semantics in C++
13:10
Просмотров 286 тыс.
C++ vs Rust: which is faster?
21:15
Просмотров 385 тыс.
Why The Windows Phone Failed
24:08
Просмотров 242 тыс.
C++ Qt 31 - QThread part 4 threads with a GUI
9:47
Просмотров 121 тыс.
Mind-Blowing Electroplating on Huge 3D Prints
10:41
Просмотров 31 тыс.
Generics: The most intimidating TypeScript feature
18:19
C++ Qt- 23 QActions
6:25
Просмотров 106 тыс.
How C++ Works
20:21
Просмотров 1 млн