Description: Use qt realize basic drawing functions, a detailed explanation of the procedure, without modification to run directly.
To Search:
File list (Check if you may need any files):
paintExample(yuanshi)\paint-build-desktop\donewdialog.o
.....................\...................\main.o
.....................\...................\mainwindow.o
.....................\...................\Makefile
.....................\...................\moc_donewdialog.cpp
.....................\...................\moc_donewdialog.o
.....................\...................\moc_mainwindow.cpp
.....................\...................\moc_mainwindow.o
.....................\...................\paint
.....................\...................\paintarea.o
.....................\...................\qrc_myResource.cpp
.....................\...................\qrc_myResource.o
.....................\...................\ui_donewdialog.h
.....................\...................\ui_mainwindow.h
.....................\.....20100206\images\clear.png
.....................\.............\......\exit.png
.....................\.............\......\help.jpg
.....................\.............\......\new.png
.....................\.............\......\open.png
.....................\.............\......\print.png
.....................\.............\......\rotate.png
.....................\.............\......\save.png
.....................\.............\......\saveas.png
.....................\.............\......\shear.png
.....................\.............\......\tool.png
.....................\.............\......\zoom-1.png
.....................\.............\......\zoom-in.png
.....................\.............\......\zoom-out.png
.....................\.............\main.cpp
.....................\.............\mainwindow.cpp
.....................\.............\mainwindow.h
.....................\.............\mainwindow.ui
.....................\.............\myResource.qrc
.....................\.............\paint.pro
.....................\.............\paint.pro.user
.....................\.............\paintarea.cpp
.....................\.............\paintarea.h
.....................\.............\readme.txt
.....................\.............\ui_mainwindow.h
.....................\............7\donewdialog.cpp
.....................\.............\donewdialog.h
.....................\.............\donewdialog.ui
.....................\.............\images\clear.png
.....................\.............\......\exit.png
.....................\.............\......\help.jpg
.....................\.............\......\new.png
.....................\.............\......\open.png
.....................\.............\......\print.png
.....................\.............\......\rotate.png
.....................\.............\......\save.png
.....................\.............\......\saveas.png
.....................\.............\......\shear.png
.....................\.............\......\tool.png
.....................\.............\......\zoom-1.png
.....................\.............\......\zoom-in.png
.....................\.............\......\zoom-out.png
.....................\.............\main.cpp
.....................\.............\mainwindow.cpp
.....................\.............\mainwindow.h
.....................\.............\mainwindow.ui
.....................\.............\myResource.qrc
.....................\.............\paint.pro
.....................\.............\paint.pro.user
.....................\.............\paint.pro.user.1.3
.....................\.............\paintarea.cpp
.....................\.............\paintarea.h
.....................\.............\readme.txt
.....................\.............\ui_donewdialog.h
.....................\.............\ui_mainwindow.h
.....................\............8\donewdialog.cpp
.....................\.............\donewdialog.h
.....................\.............\donewdialog.ui
.....................\.............\images\clear.png
.....................\.............\......\exit.png
.....................\.............\......\help.jpg
.....................\.............\......\new.png
.....................\.............\......\open.png
.....................\.............\......\print.png
...........