This is a 1-week lab. Please refer to http://people.msoe.edu/~cs321/lab4b.shtml [no longer online] for the lab
details.
UML Class and Sequence Diagrams
Before writing your code for this week, update your UML class
diagram from last week and create an additional UML
sequence diagram that illustrates some non-trivial new function of this
week's program. These new and updated diagrams should be included as PNG
files in your XML report, where you should give the user an overview of the
diagrams with additional information not obvious from the diagrams—do
not simply re-tell the user what the UML diagrams already convey.
Hints
- Add one function at a time (examples:
button set up,
button signals/slots
line drawing command,
multiple color support,
line drawing with mouse)
and test each function before moving on to the next one.
- The QColorDialog method of
setting a color is required, but
you may add additional color-selection methods if you wish.
Demonstration (during week 6 lab)
You will need to demonstrate your project to the instructor during the
week 6 lab meeting. The demonstration will count for 25% of your
project grade.
Lab report (due 4 P.M., the day prior to the week 6 lab)
Your lab report need not be self-contained. This means that it is
not necessary to restate the entire specification in your report.
- Prepare your report in the XML format described in the
Electronic Submission Guidelines.
- Include...
- a brief overview of the assignment;
- details of any problems you encountered;
- suggestions for how the lab could be improved;
- things you could not figure out how to do;
- a list of extra features that you implemented, if any;
- a tally of the number of Non-commented new Lines Of Code (NLOC) written
for this lab assignment. Follow the requirements for this item
from lab 2.
- A summary of your activity log indicating how much time you spent
on the assignment. Follow the requirements for this item
from lab 2.
- Documented source code—See
lab 2 for information on gensrc, which
helps format your code for your XML report.
- If a file has not changed since the last assignment, note this in your
report and do not include the unchanged file.
- Follow the report submission requirements.
- Email this file to the instructor (durant@msoe.edu) with a subject and message
body indicating that this is your CS-321 Lab 4 submission.
If you have any questions, consult the instructor.