Introduction to Qt Widgets (Part 29) - Dialogs

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2024
  • In Qt, you can create a top level window, simply by providing nullptr as the parent. However, we still have a class called QDialog specifically for creating dialogs. Among other things it offers to wait for the dialog to be completed before your code continues execution.
    In this episode, we will also discuss the difference between a model and non modal dialog, and how you create your own.
    00:00 Introduction
    01:27 QDialog
    06:23 exec
    09:03 Event Loops
    11:58 Model Dialog Usage
    16:50 Modeless Dialog Usage
    19:37 Creating Custom Dialogs
    All 'Introduction to Qt Widgets' videos: • Introduction to Qt Wid...
    All 'Introduction to Qt Widgets - Module 1' videos: • Introduction to Qt Wid...
    All 'Introduction to Qt Widgets - Module 2' videos:
    • Introduction to Qt Wid...
    All 'Introduction to Qt Widgets - Module 3' videos:
    • Introduction to Qt Wid...
    All 'Introduction to Qt Widgets - Module 4' videos:
    • Introduction to Qt Wid...
    Links:
    * QSemiModelDialog (from Qt2!) - techdoc.kvindesland.no/linux/q...
    About the host:
    The video is presented by Jesper Pedersen, who started with Qt back when Qt was widgets only and the version was 1.44, which gives him 21 years of experience with Qt. Since 2000 he has taught almost 100 Qt classes, ranging from Qt Widgets to QML. Heck, Jesper even taught a few classes on QTopia Core - Trolltech's initial attempt at creating a phone stack. Today Jesper holds a fancy business title, but that doesn't prevent him from coding both in his job and in his spare time.
    Every month our newsletter is featuring technical blogs on Qt, C++ and 3D topics: www.kdab.com/development-reso...
    About KDAB:
    KDAB offers experienced software experts to help you deliver functional, high-performing and innovative software across embedded, mobile and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D and more. www.kdab.com/software-services
    KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrolment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.
    Contact us to find out more at training@kdab.com or visit our website: www.kdab.com/software-service...
    We are over 100 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK and the USA. www.kdab.com/about/contact/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น •