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

  Рет қаралды 10,497

Sciber

Sciber

Күн бұрын

Пікірлер: 12
@julestoutcourt7330
@julestoutcourt7330 Жыл бұрын
Thank you !! You save myself ❤
@mirobozonca7925
@mirobozonca7925 Жыл бұрын
Very Well explained :). Please can you make video how to use QThread?
@wearesciber
@wearesciber Жыл бұрын
Sure 😊
@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.
@TechnoSoftlk
@TechnoSoftlk Жыл бұрын
Nice explanation as always ❤️
@wearesciber
@wearesciber Жыл бұрын
Thank you ❤️
@maneasd4600
@maneasd4600 7 ай бұрын
well explained!
@kavindupansilu1556
@kavindupansilu1556 Жыл бұрын
Super👍
@gustavojoaquin_arch
@gustavojoaquin_arch Жыл бұрын
:u
Layouts in Qt C++ -  Qt Widgets Crash Course
12:54
Sciber
Рет қаралды 5 М.
To-Do App in Qt C++ - Qt Widgets Crash Course
30:53
Sciber
Рет қаралды 18 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 27 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 33 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 125 МЛН
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 46 МЛН
how Google writes gorgeous C++
7:40
Low Level
Рет қаралды 930 М.
Qt Crash Course for Beginners - Create C++ GUI Apps
30:34
Sciber
Рет қаралды 126 М.
Как связать окна между собой в Qt | Сигналы и слоты
7:14
Master Multithreading : Thread Pool In C++
20:19
CppNuts
Рет қаралды 11 М.
Go Pointers: When & How To Use Them Efficiently
14:09
Anthony GG
Рет қаралды 83 М.
Creating Multi-Step Forms in Power Apps | Tutorial
14:42
Reza Dorrani
Рет қаралды 69 М.
you will never ask about pointers again after watching this video
8:03
DON'T LEARN C++ GUI UNLESS...
4:34
Sciber
Рет қаралды 89 М.
Qt Tutorial 2 : C++ Calculator
38:23
Derek Banas
Рет қаралды 168 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 27 МЛН