title
Qt Tutorials For Beginners 4 - First Qt GUI widget Application

description
Code for this video - http://www.codebind.com/c-tutorial/qt-tutorials-for-beginners-first-qt-gui-widget-application/ After creating Our first Qt c++ app, In this video we will start Making First GUI Application Using Qt. This will be our first First Qt GUI widget Application. We will create this GUI Programming in C++ using the Qt Library, then Compiling our First Qt Application. So you will learn Working with Qt Applications. ★★★Top Online Courses From ProgrammingKnowledge ★★★ Python Programming Course ➡️ http://bit.ly/2vsuMaS ⚫️ http://bit.ly/2GOaeQB Java Programming Course ➡️ http://bit.ly/2GEfQMf ⚫️ http://bit.ly/2Vvjy4a Bash Shell Scripting Course ➡️ http://bit.ly/2DBVF0C ⚫️ http://bit.ly/2UM06vF Linux Command Line Tutorials ➡️ http://bit.ly/2IXuil0 ⚫️ http://bit.ly/2IXukt8 C Programming Course ➡️ http://bit.ly/2GQCiD1 ⚫️ http://bit.ly/2ZGN6ej C++ Programming Course ➡️ http://bit.ly/2V4oEVJ ⚫️ http://bit.ly/2XMvqMs PHP Programming Course ➡️ http://bit.ly/2XP71WH ⚫️ http://bit.ly/2vs3od6 Android Development Course ➡️ http://bit.ly/2UHih5H ⚫️ http://bit.ly/2IMhVci C# Programming Course ➡️ http://bit.ly/2Vr7HEl ⚫️ http://bit.ly/2W6RXTU JavaFx Programming Course ➡️ http://bit.ly/2XMvZWA ⚫️ http://bit.ly/2V2CoAi NodeJs Programming Course ➡️ http://bit.ly/2GPg7gA ⚫️ http://bit.ly/2GQYTQ2 Jenkins Course For Developers and DevOps ➡️ http://bit.ly/2Wd4l4W ⚫️ http://bit.ly/2J1B1ug Scala Programming Tutorial Course ➡️ http://bit.ly/2PysyA4 ⚫️ http://bit.ly/2PCaVj2 Bootstrap Responsive Web Design Tutorial ➡️ http://bit.ly/2DFQ2yC ⚫️ http://bit.ly/2VoJWwH MongoDB Tutorial Course ➡️ http://bit.ly/2LaCJfP ⚫️ http://bit.ly/2WaI7Ap QT C++ GUI Tutorial For Beginners ➡️ http://bit.ly/2vwqHSZ ★★★ Online Courses to learn ★★★ Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3 AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1 Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP Kotlin Android Development Masterclass - http://bit.ly/2GcblsI Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue ★★★ Follow ★★★ My Website - http://www.codebind.com DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

detail
{'title': 'Qt Tutorials For Beginners 4 - First Qt GUI widget Application', 'heatmap': [{'end': 1078.306, 'start': 1041.597, 'weight': 0.837}], 'summary': 'Tutorial series on qt for beginners covers creating a new gui application, project configuration, gui application basics, c++ ui class overview, customizing widget properties, and adding functionality to buttons and labels in a qt gui application.', 'chapters': [{'end': 56.326, 'segs': [{'end': 56.326, 'src': 'embed', 'start': 0.933, 'weight': 0, 'content': [{'end': 4.897, 'text': 'hello, guys, welcome to the next video on qt tutorial for beginners.', 'start': 0.933, 'duration': 3.964}, {'end': 13.627, 'text': 'in the last video, i have shown you how you can create your first qt application using your qt creator, ide,', 'start': 4.897, 'duration': 8.73}, {'end': 16.67, 'text': 'and this was the project we have created last time.', 'start': 13.627, 'duration': 3.043}, {'end': 18.432, 'text': "so i'm going to just close this project.", 'start': 16.67, 'duration': 1.762}, {'end': 28.902, 'text': 'and this time we are going to create a new application using the GUI application widget right,', 'start': 19.193, 'duration': 9.709}, {'end': 38.571, 'text': 'and we will see how the designer works in Qt and how some of the functionality works in Qt designer.', 'start': 28.902, 'duration': 9.669}, {'end': 40.353, 'text': "so let's get started.", 'start': 38.571, 'duration': 1.782}, {'end': 41.694, 'text': 'first of all,', 'start': 40.353, 'duration': 1.341}, {'end': 56.326, 'text': 'just click this file menu item here and then click new file or project and in here this time we will choose application and we are going to choose Qt widget application and then just click,', 'start': 41.694, 'duration': 14.632}], 'summary': 'The tutorial covers creating a new qt widget application and exploring the functionality of qt designer.', 'duration': 55.393, 'max_score': 0.933, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY933.jpg'}], 'start': 0.933, 'title': 'Qt tutorial for beginners', 'summary': "Covers creating a new application using the gui application widget in qt, demonstrating how to use qt designer and the functionality involved, building upon the previous video's demonstration of creating a first qt application using qt creator.", 'chapters': [{'end': 56.326, 'start': 0.933, 'title': 'Qt tutorial for beginners', 'summary': "Covers creating a new application using the gui application widget in qt, demonstrating how to use qt designer and the functionality involved, building upon the previous video's demonstration of creating a first qt application using qt creator.", 'duration': 55.393, 'highlights': ['The chapter emphasizes creating a new application using the GUI application widget in Qt and demonstrates how to use Qt designer and its functionality.', 'The previous video demonstrated creating the first Qt application using Qt Creator.', 'The speaker shows how to create a new application by choosing Qt widget application under the application category in Qt Creator.']}], 'duration': 55.393, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY933.jpg', 'highlights': ['The chapter emphasizes creating a new application using the GUI application widget in Qt and demonstrates how to use Qt designer and its functionality.', 'The previous video demonstrated creating the first Qt application using Qt Creator.', 'The speaker shows how to create a new application by choosing Qt widget application under the application category in Qt Creator.']}, {'end': 283.767, 'segs': [{'end': 128.179, 'src': 'embed', 'start': 56.326, 'weight': 1, 'content': [{'end': 69.56, 'text': 'choose and in here just give the title of your project, for example, first GUI, and then click next and then click once again.', 'start': 56.326, 'duration': 13.234}, {'end': 81.765, 'text': 'next, and here you will see the information for your GUI application and you can see the class name for your GUI application,', 'start': 69.56, 'duration': 12.205}, {'end': 84.626, 'text': 'for your window is main window.', 'start': 81.765, 'duration': 2.861}, {'end': 94.062, 'text': 'so in here you can change the name of your window, which is going to appear when you start your application.', 'start': 84.626, 'duration': 9.436}, {'end': 107.312, 'text': 'so, for example, you can say my window and you can see the header files and the source files take the same name as the class name.', 'start': 94.062, 'duration': 13.25}, {'end': 114.764, 'text': 'but you can even change these class name and header name like this.', 'start': 107.312, 'duration': 7.452}, {'end': 122.192, 'text': 'so if you want the different header name than the class, you can just edit it from the header file and source file from here.', 'start': 114.764, 'duration': 7.428}, {'end': 128.179, 'text': "okay, but for now i'm going to leave everything as default.", 'start': 122.192, 'duration': 5.987}], 'summary': 'Setting up a gui project, customizing class and header names.', 'duration': 71.853, 'max_score': 56.326, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY56326.jpg'}, {'end': 216.824, 'src': 'embed', 'start': 187.726, 'weight': 0, 'content': [{'end': 198.629, 'text': "And you can see here, it includes the core library and GUI library by default, right? And in here, it's saying that it's a widget application.", 'start': 187.726, 'duration': 10.903}, {'end': 207.436, 'text': 'And the target for this file or project is firstgui which is the name of my project.', 'start': 199.449, 'duration': 7.987}, {'end': 212.861, 'text': 'And the template which is used for this project is app which is a GUI application.', 'start': 207.957, 'duration': 4.904}, {'end': 216.824, 'text': "And it's including some source files.", 'start': 213.662, 'duration': 3.162}], 'summary': "The project includes core and gui libraries, with the target being 'firstgui' and the template used is a gui application.", 'duration': 29.098, 'max_score': 187.726, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY187726.jpg'}], 'start': 56.326, 'title': 'Gui application creation and project configuration', 'summary': 'Covers creating gui applications, demonstrating customization of class and file names, with a discussion on project configuration, including core and gui libraries, target and template specification, and adding source, header, and ui files.', 'chapters': [{'end': 128.179, 'start': 56.326, 'title': 'Creating gui application', 'summary': 'Demonstrates how to create a gui application by customizing the class name and window title, allowing for easy modification of header and source file names. the default settings are maintained for simplicity.', 'duration': 71.853, 'highlights': ['The chapter guides on customizing the class name and window title of a GUI application, which enables easy modification of the appearance when the application is launched.', 'It is shown that the header files and source files take the same name as the class name by default, but they can be edited to have different names for customization.']}, {'end': 186.966, 'start': 128.179, 'title': 'Creating first gui application', 'summary': 'Covers creating a new gui application, demonstrating the process of setting up a new project, and highlighting the flexibility to customize class and file names, with an overview of the .pro file functionality.', 'duration': 58.787, 'highlights': ['The process of creating a new GUI application is demonstrated, including the steps of selecting options, naming the project, and generating the necessary files for the application.', 'Flexibility to customize class and file names is emphasized, allowing for personalization and adaptation of the default settings.', 'The functionality of the .pro file within the project is briefly mentioned, providing an overview of its purpose and relevance to the application.']}, {'end': 283.767, 'start': 187.726, 'title': 'Project configuration overview', 'summary': 'Discusses configuring a project, which includes the inclusion of core and gui libraries, specifying target and template, as well as adding source and header files and ui files.', 'duration': 96.041, 'highlights': ['The project configuration involves specifying the target project name, template, and inclusion of source files, such as main.cpp and mainwindow.cpp.', "The addition of header files is demonstrated through the 'headers plus equals' field, which specifies the names of the header files, like mainwindow.edge.", "Adding the main window UI file is accomplished by using the 'form plus equals' field with the file name 'main window dot UI.'"]}], 'duration': 227.441, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY56326.jpg', 'highlights': ['The project configuration involves specifying the target project name, template, and inclusion of source files, such as main.cpp and mainwindow.cpp.', 'The process of creating a new GUI application is demonstrated, including the steps of selecting options, naming the project, and generating the necessary files for the application.', 'Flexibility to customize class and file names is emphasized, allowing for personalization and adaptation of the default settings.', 'The chapter guides on customizing the class name and window title of a GUI application, which enables easy modification of the appearance when the application is launched.']}, {'end': 478.476, 'segs': [{'end': 347.505, 'src': 'embed', 'start': 283.787, 'weight': 0, 'content': [{'end': 288.236, 'text': 'Okay So this is your project file.', 'start': 283.787, 'duration': 4.449}, {'end': 303.566, 'text': "Now let's go to our main.cpp here and we can see that it has this main method or function here and it's creating the object of queue application,", 'start': 289.056, 'duration': 14.51}, {'end': 306.548, 'text': 'which I have explained you in the last video.', 'start': 303.566, 'duration': 2.982}, {'end': 317.674, 'text': "And it's returning this a.exec, which is the object of Q application, which is a dot, exact right,", 'start': 307.488, 'duration': 10.186}, {'end': 328.398, 'text': 'and whatever you write in between these two lines of code will be, you know, executed as your GUI, for example, right.', 'start': 317.674, 'duration': 10.724}, {'end': 340.663, 'text': 'so what we are doing here is we are creating an object of my window class, which is this class, which is automatically created by Qt for us.', 'start': 328.398, 'duration': 12.265}, {'end': 344.324, 'text': 'so you can see When you go to the mainWindow.h.', 'start': 340.663, 'duration': 3.661}, {'end': 347.505, 'text': 'there is a class called mainWindow.', 'start': 344.324, 'duration': 3.181}], 'summary': 'Main.cpp creates a q application object for gui, and my window class is automatically created by qt.', 'duration': 63.718, 'max_score': 283.787, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY283787.jpg'}, {'end': 478.476, 'src': 'embed', 'start': 406.162, 'weight': 1, 'content': [{'end': 416.768, 'text': "okay, now it's using this namespace, which is ui, which is basically telling this ui.", 'start': 406.162, 'duration': 10.606}, {'end': 422.232, 'text': 'uh, you know, file that just include this main window in the ui.', 'start': 416.768, 'duration': 5.464}, {'end': 425.695, 'text': 'okay. And then we have this macro here', 'start': 422.232, 'duration': 3.463}, {'end': 429.739, 'text': 'So what does this Q object macro is doing here?', 'start': 426.396, 'duration': 3.343}, {'end': 441.331, 'text': "So there is a term called MOC, or meta object compiler, which converts this macro if it's included in your file,", 'start': 430.58, 'duration': 10.751}, {'end': 452.073, 'text': 'then it takes all the header files and it converts these header files into equivalent C++ code.', 'start': 441.331, 'duration': 10.742}, {'end': 466.083, 'text': 'So this macro indirectly tells Qt that we are going to use GUI application and we are going to use the signals and slot which we are going to learn in the next video.', 'start': 452.513, 'duration': 13.57}, {'end': 469.066, 'text': 'what is signals and slots?', 'start': 466.083, 'duration': 2.983}, {'end': 478.476, 'text': 'so if you add this, it makes it easier or it allows us to create signals and slots for our widgets.', 'start': 469.066, 'duration': 9.41}], 'summary': 'The moc macro in qt generates c++ code from header files, facilitating gui application development with signals and slots.', 'duration': 72.314, 'max_score': 406.162, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY406162.jpg'}], 'start': 283.787, 'title': 'Qt gui application basics', 'summary': 'Explains the main.cpp file and the mainwindow.h class in a qt gui application, detailing the creation of objects and the use of macros for gui development.', 'chapters': [{'end': 478.476, 'start': 283.787, 'title': 'Qt gui application basics', 'summary': 'Explains the main.cpp file and the mainwindow.h class in a qt gui application, detailing the creation of objects and the use of macros for gui development.', 'duration': 194.689, 'highlights': ['The main.cpp file creates an object of the queue application and returns the a.exec, which is the object of Q application, responsible for executing the GUI. The main.cpp file creates an object of the queue application and returns the a.exec, responsible for executing the GUI.', 'The main window class is automatically created by Qt and can be used to perform different operations in the GUI application. The main window class, automatically created by Qt, can be used to perform different operations in the GUI application.', 'The mainWindow.h class inherits from Q main window and uses the namespace ui to include the main window in the ui, along with a macro for meta object compiler (MOC). The mainWindow.h class inherits from Q main window, uses the namespace ui, and includes a macro for meta object compiler (MOC).', 'The Q object macro indirectly informs Qt about the use of GUI application and the signals and slots to be used for widgets in the next video. The Q object macro informs Qt about the use of GUI application and the upcoming signals and slots to be used for widgets.']}], 'duration': 194.689, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY283787.jpg', 'highlights': ['The main.cpp file creates an object of the queue application and returns the a.exec, responsible for executing the GUI.', 'The mainWindow.h class inherits from Q main window, uses the namespace ui, and includes a macro for meta object compiler (MOC).', 'The main window class, automatically created by Qt, can be used to perform different operations in the GUI application.', 'The Q object macro informs Qt about the use of GUI application and the upcoming signals and slots to be used for widgets.']}, {'end': 606.686, 'segs': [{'end': 575.845, 'src': 'embed', 'start': 511.991, 'weight': 0, 'content': [{'end': 518.655, 'text': 'whatever pointer object we have, we are going to delete all the pointer object.', 'start': 511.991, 'duration': 6.664}, {'end': 530.142, 'text': 'in this destructor And in the private access specifier we have an object of main window, which is this class', 'start': 518.655, 'duration': 11.487}, {'end': 536.545, 'text': 'And we have this object name UI.', 'start': 531.002, 'duration': 5.543}, {'end': 544.889, 'text': 'So this object is going to access all the widget you will add in your main window.', 'start': 537.725, 'duration': 7.164}, {'end': 551.969, 'text': 'and using this object you will be able to access all the widgets we are going to add in our UI.', 'start': 545.507, 'duration': 6.462}, {'end': 563.033, 'text': "Now let's go to CPP file here and you can see we have the constructor and what it's doing in the constructor.", 'start': 552.83, 'duration': 10.203}, {'end': 568.455, 'text': "first of all, it's initializing this UI object with a new main window.", 'start': 563.033, 'duration': 5.422}, {'end': 575.845, 'text': 'and then this object is calling setup ui, which is going to open your window.', 'start': 568.996, 'duration': 6.849}], 'summary': 'Destructor deletes pointer objects, ui object accesses and sets up main window.', 'duration': 63.854, 'max_score': 511.991, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY511991.jpg'}], 'start': 478.476, 'title': 'C++ ui class overview', 'summary': 'Provides insights into the structure and functionality of the ui class, explaining the conversion of ui class files into c++ language, the role of the constructor and destructor, and the access to widgets through the ui object.', 'chapters': [{'end': 606.686, 'start': 478.476, 'title': 'C++ ui class overview', 'summary': 'Explains the conversion of ui class files into c++ language, the role of the constructor and destructor, and the access to widgets through the ui object, providing insights into the structure and functionality of the ui class.', 'duration': 128.21, 'highlights': ['The UI class converts included widgets or class/header files into C++-understandable language, facilitating the creation of equivalent C++ source code.', 'The destructor in the UI class deletes all pointer objects, while the UI object provides access to the widgets added in the main window, enhancing the functionality and usability of the UI.', 'The constructor in the UI class initializes the UI object with a new main window and calls setup ui to open the window, streamlining the process of window creation and management.']}], 'duration': 128.21, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY478476.jpg', 'highlights': ['The UI class converts included widgets or class/header files into C++-understandable language, facilitating the creation of equivalent C++ source code.', 'The constructor in the UI class initializes the UI object with a new main window and calls setup ui to open the window, streamlining the process of window creation and management.', 'The destructor in the UI class deletes all pointer objects, while the UI object provides access to the widgets added in the main window, enhancing the functionality and usability of the UI.']}, {'end': 782.205, 'segs': [{'end': 668.246, 'src': 'embed', 'start': 638.806, 'weight': 0, 'content': [{'end': 647.874, 'text': 'so whenever i add two push buttons, you see, first push button name is push button and second, push button name is push button.', 'start': 638.806, 'duration': 9.068}, {'end': 657.02, 'text': "underscore two right, i'm going to delete this push button for now, But you can change the object name of this push button from here.", 'start': 647.874, 'duration': 9.146}, {'end': 661.743, 'text': 'So, for example, push button Close.', 'start': 657.04, 'duration': 4.703}, {'end': 668.246, 'text': "for example, right and press enter and it's going to change the object name of your push button.", 'start': 661.743, 'duration': 6.503}], 'summary': 'Demonstrating how to change object names of push buttons in the interface', 'duration': 29.44, 'max_score': 638.806, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY638806.jpg'}, {'end': 721.877, 'src': 'embed', 'start': 688.799, 'weight': 1, 'content': [{'end': 701.049, 'text': 'So, for example, click me and you have other option of changing the text which is going to the property called text here, which is this one,', 'start': 688.799, 'duration': 12.25}, {'end': 707.214, 'text': 'and then just add some more item, or you can change the text from here also.', 'start': 701.049, 'duration': 6.165}, {'end': 712.635, 'text': 'ok, so you can see whenever I add something to the text.', 'start': 707.654, 'duration': 4.981}, {'end': 717.196, 'text': "it's visible here right now.", 'start': 712.635, 'duration': 4.561}, {'end': 721.877, 'text': "for example, let's run the application and let's see what happens.", 'start': 717.196, 'duration': 4.681}], 'summary': 'Demonstrating text property changes and application execution.', 'duration': 33.078, 'max_score': 688.799, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY688799.jpg'}, {'end': 782.205, 'src': 'embed', 'start': 748.311, 'weight': 2, 'content': [{'end': 754.376, 'text': 'You can see there is this object called status bar which will be at the bottom.', 'start': 748.311, 'duration': 6.065}, {'end': 759.698, 'text': 'and there is a toolbar which is at the top.', 'start': 755.357, 'duration': 4.341}, {'end': 770.702, 'text': 'So this toolbar you can even drag and drop and whenever you want to add something to this toolbar you can add it from here.', 'start': 759.838, 'duration': 10.864}, {'end': 778.284, 'text': 'So you can see I can just pick this toolbar and I can just move it outside.', 'start': 771.122, 'duration': 7.162}, {'end': 782.205, 'text': 'You see, this is my toolbar and once again, I can.', 'start': 778.804, 'duration': 3.401}], 'summary': 'The status bar is at the bottom, the toolbar is at the top, and it can be dragged and dropped to customize.', 'duration': 33.894, 'max_score': 748.311, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY748311.jpg'}], 'start': 607.486, 'title': 'Customizing widget properties', 'summary': 'Demonstrates techniques for customizing and modifying widget properties in a graphical user interface, including changing object names and text. it also includes a demonstration of compiling and running the application, as well as the appearance of the status bar and toolbar.', 'chapters': [{'end': 782.205, 'start': 607.486, 'title': 'Widget properties and customization', 'summary': 'Demonstrates how to customize and modify widget properties in a graphical user interface, including changing object names and text, with a demonstration of how to compile and run the application and the appearance of status bar and toolbar.', 'duration': 174.719, 'highlights': ["Demonstrating how to change the object name of a widget and its impact on the appearance of the UI, with an example of modifying a push button's object name from 'push button' to 'push button close'. The object name of a push button is changed from 'push button' to 'push button close', demonstrating the impact of the modification on the widget's appearance.", 'Illustrating the process of changing the text on a push button and the visibility of the changes in the UI, including adding items to the text and running the application to observe the modifications. The process of changing the text on a push button is explained, along with the visibility of the changes in the UI and the demonstration of running the application to observe the modifications.', 'Explaining the presence and functionality of the status bar and toolbar in the main window, with the ability to drag and drop items into the toolbar and move it within the window. The presence and functionality of the status bar and toolbar in the main window are explained, with a demonstration of dragging and dropping items into the toolbar and moving it within the window.']}], 'duration': 174.719, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY607486.jpg', 'highlights': ["Demonstrating how to change the object name of a widget and its impact on the appearance of the UI, with an example of modifying a push button's object name from 'push button' to 'push button close'.", 'Illustrating the process of changing the text on a push button and the visibility of the changes in the UI, including adding items to the text and running the application to observe the modifications.', 'Explaining the presence and functionality of the status bar and toolbar in the main window, with the ability to drag and drop items into the toolbar and move it within the window.']}, {'end': 1239.811, 'segs': [{'end': 822.201, 'src': 'embed', 'start': 783.005, 'weight': 2, 'content': [{'end': 786.967, 'text': "Now, let's add some code in the button so that it can show some message, for example.", 'start': 783.005, 'duration': 3.962}, {'end': 803.215, 'text': 'or You know, it can perform some action right.', 'start': 786.967, 'duration': 16.248}, {'end': 807.436, 'text': 'so, for example, whenever I click this button, I want to close this main window.', 'start': 803.215, 'duration': 4.221}, {'end': 808.917, 'text': 'How can I do this?', 'start': 807.517, 'duration': 1.4}, {'end': 817.6, 'text': "so I will just close it for now, and What I'm going to do here is Let me just minimize this thing.", 'start': 808.917, 'duration': 8.683}, {'end': 822.201, 'text': 'and in here you can see there are some buttons here.', 'start': 817.6, 'duration': 4.601}], 'summary': 'Demonstrated adding code to a button to perform actions such as closing the main window.', 'duration': 39.196, 'max_score': 783.005, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY783005.jpg'}, {'end': 921.329, 'src': 'embed', 'start': 891.373, 'weight': 1, 'content': [{'end': 902.303, 'text': 'Now there is something called signal and slots concept in Qt GUI application which we are going to see in detail in the next video.', 'start': 891.373, 'duration': 10.93}, {'end': 906.245, 'text': "but it's something like input and output concepts.", 'start': 903.044, 'duration': 3.201}, {'end': 911.907, 'text': 'whenever you press the button, which is the input, then what will happen?', 'start': 906.245, 'duration': 5.662}, {'end': 921.329, 'text': 'so, for example, you want to close our application as the output of inputting the press button right.', 'start': 911.907, 'duration': 9.422}], 'summary': 'Qt gui application uses signal and slots concept for input-output interactions.', 'duration': 29.956, 'max_score': 891.373, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY891373.jpg'}, {'end': 1078.306, 'src': 'heatmap', 'start': 1041.597, 'weight': 0.837, 'content': [{'end': 1047.698, 'text': 'there is one more method of giving signal and slots to our widget, which is right.', 'start': 1041.597, 'duration': 6.101}, {'end': 1053.387, 'text': 'clicking on your widget, for example, i will right click on my button and i will go to the slot.', 'start': 1047.698, 'duration': 5.689}, {'end': 1059.634, 'text': "so i will just choose this go to slot and then in here i will just choose when it's clicked.", 'start': 1053.387, 'duration': 6.247}, {'end': 1065.78, 'text': 'so just choose clicked and click ok, which is going to create a function.', 'start': 1059.634, 'duration': 6.146}, {'end': 1078.306, 'text': 'in your main window class, you can see there is a function which is onPushButtonCloseClicked, and whenever we write some code inside it,', 'start': 1065.78, 'duration': 12.526}], 'summary': 'Widget signal and slots can be set via right-click method, creating a function onpushbuttoncloseclicked.', 'duration': 36.709, 'max_score': 1041.597, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY1041597.jpg'}, {'end': 1230.548, 'src': 'embed', 'start': 1189.254, 'weight': 0, 'content': [{'end': 1193.179, 'text': 'ok, set text and it takes one argument.', 'start': 1189.254, 'duration': 3.925}, {'end': 1206.936, 'text': 'so, for example, you can say button is clicked, ok, and then save your code and run it once again.', 'start': 1193.179, 'duration': 13.757}, {'end': 1216.323, 'text': "and once it's compiled and run, we will press our button and we will see what happens to this label.", 'start': 1206.936, 'duration': 9.387}, {'end': 1223.426, 'text': 'so when I click this button, it changes the text of this label to button is clicked right.', 'start': 1216.323, 'duration': 7.103}, {'end': 1230.548, 'text': 'so this is other way of you know creating this event based.', 'start': 1223.426, 'duration': 7.122}], 'summary': 'Setting text with one argument, button click changes label text.', 'duration': 41.294, 'max_score': 1189.254, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY1189254.jpg'}], 'start': 783.005, 'title': 'Qt gui application development', 'summary': 'Covers adding functionality to buttons and labels in a qt gui application, including creating signal and slot connections. it demonstrates how to close the application by clicking a button and change the text of a label upon button click.', 'chapters': [{'end': 1239.811, 'start': 783.005, 'title': 'Qt gui application development', 'summary': 'Covers adding functionality to buttons and labels in a qt gui application, including creating signal and slot connections. it demonstrates how to close the application by clicking a button and change the text of a label upon button click.', 'duration': 456.806, 'highlights': ['Adding functionality to buttons and labels The chapter demonstrates adding functionality to buttons, such as closing the application upon button click, and labels, by changing the text upon button click.', 'Creating signal and slot connections It explains the concept of signal and slot connections in Qt GUI applications, illustrating how to create connections to trigger actions, such as closing the application and changing label text.', 'Demonstrating button functionality to close the application The demonstration showcases how clicking a button triggers the action of closing the application, providing a practical example of button functionality.']}], 'duration': 456.806, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/Y1c-ieVO-UY/pics/Y1c-ieVO-UY783005.jpg', 'highlights': ['Adding functionality to buttons and labels The chapter demonstrates adding functionality to buttons, such as closing the application upon button click, and labels, by changing the text upon button click.', 'Creating signal and slot connections It explains the concept of signal and slot connections in Qt GUI applications, illustrating how to create connections to trigger actions, such as closing the application and changing label text.', 'Demonstrating button functionality to close the application The demonstration showcases how clicking a button triggers the action of closing the application, providing a practical example of button functionality.']}], 'highlights': ['The chapter emphasizes creating a new application using the GUI application widget in Qt and demonstrates how to use Qt designer and its functionality.', 'The previous video demonstrated creating the first Qt application using Qt Creator.', 'The speaker shows how to create a new application by choosing Qt widget application under the application category in Qt Creator.', 'The project configuration involves specifying the target project name, template, and inclusion of source files, such as main.cpp and mainwindow.cpp.', 'The process of creating a new GUI application is demonstrated, including the steps of selecting options, naming the project, and generating the necessary files for the application.', 'Flexibility to customize class and file names is emphasized, allowing for personalization and adaptation of the default settings.', 'The chapter guides on customizing the class name and window title of a GUI application, which enables easy modification of the appearance when the application is launched.', 'The main.cpp file creates an object of the queue application and returns the a.exec, responsible for executing the GUI.', 'The mainWindow.h class inherits from Q main window, uses the namespace ui, and includes a macro for meta object compiler (MOC).', 'The main window class, automatically created by Qt, can be used to perform different operations in the GUI application.', 'The Q object macro informs Qt about the use of GUI application and the upcoming signals and slots to be used for widgets.', 'The UI class converts included widgets or class/header files into C++-understandable language, facilitating the creation of equivalent C++ source code.', 'The constructor in the UI class initializes the UI object with a new main window and calls setup ui to open the window, streamlining the process of window creation and management.', 'The destructor in the UI class deletes all pointer objects, while the UI object provides access to the widgets added in the main window, enhancing the functionality and usability of the UI.', "Demonstrating how to change the object name of a widget and its impact on the appearance of the UI, with an example of modifying a push button's object name from 'push button' to 'push button close'.", 'Illustrating the process of changing the text on a push button and the visibility of the changes in the UI, including adding items to the text and running the application to observe the modifications.', 'Explaining the presence and functionality of the status bar and toolbar in the main window, with the ability to drag and drop items into the toolbar and move it within the window.', 'Adding functionality to buttons and labels The chapter demonstrates adding functionality to buttons, such as closing the application upon button click, and labels, by changing the text upon button click.', 'Creating signal and slot connections It explains the concept of signal and slot connections in Qt GUI applications, illustrating how to create connections to trigger actions, such as closing the application and changing label text.', 'Demonstrating button functionality to close the application The demonstration showcases how clicking a button triggers the action of closing the application, providing a practical example of button functionality.']}