Chapter 7. Interacting with the User

In this chapter, we will cover the following recipes:

  • Using log files
  • Creating a simple message dialog
  • Creating a warning dialog
  • Creating an error dialog
  • Displaying a progress bar
  • Creating a simple text input dialog
  • Creating a file input dialog
  • Creating a combobox
  • Creating radio buttons
  • Creating checkboxes
  • Creating tabs
  • Stepping the user through a wizard
  • Keeping dialogs on top

Introduction

QGIS has been built using the comprehensive graphical user interface framework called Qt. Both QGIS and Qt have Python APIs. In this chapter, we'll learn how to interact with the user in order to collect and display information outside the default QGIS interface. Qt has excellent documentation of its own, and since QGIS is built on top of Qt, all of this documentation applies to QGIS. You can find the Qt documentation at http://qt-project.org.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset