Skip to content

Menu

C++ project

PaintApp

A drawing app I wrote in C++ with Qt, with brushes, shapes, layers and undo.

Year
2024
Role
Developer
Context
C++ project
PaintApp, preview

Overview

PaintApp is a project designed to enhance C++ proficiency by developing a drawing application inspired by Microsoft Paint. Created using Qt Creator and the Qt library, this project aimed to explore graphical user interface management, user event handling, and image processing. The application allows users to draw freely on a canvas using various tools like a pencil, brush, and eraser. It also includes advanced features such as shape management (rectangles, circles, lines), color selection through a dynamic palette, stroke thickness adjustment, and layer support. In addition to drawing tools, PaintApp offers file saving and loading, support for common image formats (PNG, JPEG), and an undo/redo feature for greater flexibility.

Built with

What I did

  1. 1User interface development with Qt Designer
  2. 2Implementation of drawing tools (pencil, brush, eraser, bucket)
  3. 3Management of geometric shapes (rectangles, circles, lines)
  4. 4Adding a dynamic color palette
  5. 5Setting up undo/redo system
  6. 6Adding tools like zoom
  7. 7Saving and loading drawings in PNG and JPEG formats
  8. 8Handling user events (clicks, movements, keyboard shortcuts)
  9. 9Using layers for better drawing management

Walkthrough

A quick look at the project in use.

Gallery

PaintApp, screenshot 1
PaintApp, screenshot 2
PaintApp, screenshot 3
PaintApp, screenshot 4