Тёмный

Working with Multiple Forms in Qt C++ - Qt Widgets Crash Course 

Sciber
Подписаться 14 тыс.
Просмотров 10 тыс.
50% 1

In this tutorial, you'll learn how to work with multiple forms in Qt C++, and how to exchange information between them. We'll use the constructor of the second form to pass data into it, and then we'll get data from it using signals and slots. We'll also explore the powerful connect function, which allows us to create event handlers at runtime.
With step-by-step instructions and clear explanations, you'll learn how to use these techniques to build more complex applications with Qt. Whether you're a beginner or an experienced developer, this tutorial will give you the tools you need to take your projects to the next level.
Telegram Community: t.me/wearesciber
Visit Us : sciber.dev

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

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@julestoutcourt7330
@julestoutcourt7330 11 месяцев назад
Thank you !! You save myself ❤
@mirobozonca7925
@mirobozonca7925 Год назад
Very Well explained :). Please can you make video how to use QThread?
@wearesciber
@wearesciber Год назад
Sure 😊
@TechnoSoftlk
@TechnoSoftlk Год назад
Nice explanation as always ❤️
@wearesciber
@wearesciber Год назад
Thank you ❤️
@Nathan-gd6br
@Nathan-gd6br Год назад
in mainwindows.cpp file, you create a pointer to Dialog every time button clicked. but you didn't delete it. you will end up with memory problem
@wearesciber
@wearesciber Год назад
Well actually, since i passed "this" to the constructor when creating the object, it sets up a parent child relationship between the mainwindow and the dialog. Then when the parent gets deleted the child will be deleted as well. I didn't mention this clearly in the video, sorry about that.
@Nathan-gd6br
@Nathan-gd6br Год назад
@@wearesciber No. Parents will delete their children . But in your case Your parent is main windows. In another word, As long as you don't close your application. Your dialogue will remain in memory. Let's say you click the button 10 times You will have 10 dialogue, remain your memory unless you close the whole application
@wearesciber
@wearesciber Год назад
Mmm. Yeah you are right. Thanks for pointing it out.
@maneasd4600
@maneasd4600 6 месяцев назад
well explained!
@kavindupansilu1556
@kavindupansilu1556 Год назад
Super👍
@gustavojoaquin_arch
@gustavojoaquin_arch Год назад
:u
Далее
Layouts in Qt C++ -  Qt Widgets Crash Course
12:54
Просмотров 5 тыс.
BEST WAY to make Desktop Applications in C++
26:00
Просмотров 925 тыс.
skibidi toilet multiverse 042
20:57
Просмотров 4,9 млн
Меня знают уже все соседи😅
00:34
BEST GUI TOOLKITS for C++ | Sciber
16:04
Просмотров 113 тыс.
Let's Recreate the Tesla UI in Qt and QML PART 1!
51:16
Qt Crash Course for Beginners - Create C++ GUI Apps
30:34
Make Beautiful Desktop Applications in C++
25:51
Просмотров 612 тыс.
31 nooby C++ habits you need to ditch
16:18
Просмотров 804 тыс.
To-Do App in Qt C++ - Qt Widgets Crash Course
30:53
Просмотров 17 тыс.
skibidi toilet multiverse 042
20:57
Просмотров 4,9 млн