O'Reilly logo

PySide GUI Application Development by Venkateshwaran Loganathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom dialogs

We have seen some examples of the built-in dialogs in the previous section. The need may arise in a real application scenario to define and create a custom dialog based on the user's requirement. Qt provides the support for creating custom based dialogs and use it in addition to the various built-in dialogs. In this section, we are going to explore how to create a custom "Find" dialog for our text editor application that we have created in Chapter 3, Main Windows and Layout Management. The FindDialog class is inherited from the QDialog class and defines the properties for implementing a search function. Once the find dialog functions are defined, it can be added to our text editor application and the slots are implemented accordingly. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required