|
|
Author: Kari Valli Program name: Graffiti Short description: a drawing program Type: QT Gui Application Version: 1.0b License: GPLv2 Published: 1.0b 13.1.2011 Download tar-file: graffiti.tgz Download zip-file: graffiti.zip Course: Mobile Linux Development with QT
Basically my program, Graffiti, is a drawing program to computers and handheld touchscreen devices. It includes painting area and windows which user can use to modify user's current cursor. These windows can be closed whenever user wants so there is maximum space for painting area. Program is done with Qml and C++.
In the painting area (which is the white space) user can draw pictures. Whenever mouse is pressed current cursor is made in current mouse position.
|
|
At the bottom of painting area user can see the Show cursor option panel button which opens cursor option panel. In the cursor option panel user can define his current cursor. In the cursor option panel there are three tools which user can choose: eraser, circle and square. There are also 10 different size options. In the cursor option panel user can see also basic colors. Current cursor morphs whenever user clicks on different options. For example user clicks circle tool, 3x3 size and blue color, current cursor will display blue circle and 3x3.
There are also different buttons. Hide button simply hides cursor option panel. When cursor option panel is closed Show cursor option panel button will be displayed at the bottom of screen. Cursor option panel will also hide if painting area is clicked. Clear picture button will show confirm window in which user can click yes or no whether he wants. No will cancel previous task and yes will clear current picture. There are also save button but it doesn't work because there wasn't enough time to finish functions behind the button. Save option will be in next version and then the program will be ready for production. When user clicks more colors button more colors window will be displayed.
In more colors window user have more options for colors. By clicking colored rectangles current color display and cursor option panel's current cursor will be modified. More colors window has also hide button which hides more colors window. More colors window will also disappear if the painting area is clicked.
If the cursor option panel and more colors window is visible painting area must be clicked twice so both windows will be closed. Also when both are visible if user wants only see more colors window he can click in more colors window and cursor option panel will hide. This works also vice versa.
There is problem whenever user moves cursor fastly. There is not enough time to do cursor component in every mouse posititon so there are gaps between cursor components if user moves cursor too quickly. So user must be patient when drawing with small cursors. Before mentioned save option should be also finished. Maybe there should be some function for hand held touchscreen device users so they can rotate their device and option panels will move along. Also some buttons are just too small for hand held devices. On second thoughts all early mentioned things are not exactly problems they are just improvements which will make this program better.
Link to course homepage http://terokarvinen.com/qt