Skip to Content
Hands-On GUI Programming with C++ and Qt5
book

Hands-On GUI Programming with C++ and Qt5

by Lee Zhi Eng
April 2018
Intermediate to advanced
404 pages
8h 27m
English
Packt Publishing
Content preview from Hands-On GUI Programming with C++ and Qt5

Implementing a Graphics Editor

Qt provides us with low-level graphics rendering using the QPainter class. Qt is capable of rendering both bitmap and vector images. In this chapter, we will learn how to draw shapes using Qt, and finally, create a paint program of our own.

In this chapter, we will cover the following topics:

  • Drawing vector shapes
  • Saving vector images to an SVG file
  • Creating a paint program

Are you ready? Let's get started!

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4

Jasmin Blanchette, Mark Summerfield

Publisher Resources

ISBN: 9781788397827Supplemental Content