Book Image

QT5 Blueprints

By : Symeon Huang
Book Image

QT5 Blueprints

By: Symeon Huang

Overview of this book

Table of Contents (17 chapters)
Qt 5 Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Controlling Camera and Taking Photos

Through this chapter, you'll find how easy it is to access and control a camera with Qt. The example in this chapter also demonstrates how to utilize the status bar and menu bar. In addition to the traditional Qt Widget applications, there is a QML camera example, which does the same thing as Qt/C++ but in a more elegant way. The following topics, which are covered in this chapter, will extend your application:

  • Accessing the camera in Qt

  • Controlling the camera

  • Displaying errors in the status bar

  • Displaying the permanent widgets in the status bar

  • Utilizing the menu bar

  • Using QFileDialog

  • Using the QML Camera