What social issue or problem does your work address? What difference do you hope your book will make?Īs noted above, In Search of a Course is about two, related courses: a course for your life and a course for the University. Complexities and limitations of the main characters are revealed, but especially my own. In the end, I fashioned a narrative that was honest and intimate but not wounding or gratuitous. And so the book evolved, it changed, it became more personal, and I found the need to keep asking myself, “How do I write a personal, honest narrative while doing no harm to those I’m portraying?” After all, I’m writing (in part) about an ex-spouse and University colleagues. Where I wanted to stick with general, abstract reflection I was told to offer more of myself and of the people in my life. Indeed, more than one editor pushed me to reveal more personal truths. I’d probably sell more copies it were a tell-all book, but sadly it isn’t. Given the subject matter of the book-the failure of a marriage and, to some extent, of higher education-you can imagine how it could be a tell-all book, revealing scandalous secrets about my marriage and about life inside the University. Finding a course for the University entails a narration about how I got into academia, what it’s like to work in a university, and, most importantly, what higher education is all about-and what it should be. In my search for a course for my life, I recount my failed marriage, my loss of faith in things spiritual and academic, and the strength of a friendship that got me through it all. In Search of a Course is about finding a course for your life and a course for “the University.” The two courses interweave on almost every page of the book. The Acheven Book Prize for Young Adult Fiction.The Petrichor Prize for Finely Crafted Fiction.The Fugere Book Prize for Finely Crafted Novellas.The Kraken Book Prize for Middle-Grade Fiction.Sour Mash: RHP’s Southern Literature Series.lastPoint holds the position of the cursor at the last mouse press or mouse move event.image stores the image drawn by the user.penWidth and penColor hold the currently set width and color for the pen used in the application.scribbling is true while the user is pressing the left mouse button within the scribble area.modified is true if there are unsaved changes to the image displayed in the scribble area.We also need the following private variables: ![]() We need the private drawLineTo() function to actually do the drawing, and resizeImage() to change the size of a QImage. We need several public functions: openImage() loads an image from a file into the scribble area, allowing the user to edit the image save() writes the currently displayed image to file clearImage() slot clears the image displayed in the scribble area. We reimplement the paintEvent() function to update the scribble area, and the resizeEvent() function to ensure that the QImage on which we draw is at least as large as the widget at any time. We reimplement the mousePressEvent(), mouseMoveEvent() and mouseReleaseEvent() functions to implement the drawing. The ScribbleArea class inherits from QWidget. Void resizeImage( QImage *image, const QSize &newSize) Void drawLineTo( const QPoint &endPoint) Void resizeEvent( QResizeEvent *event) override Void paintEvent( QPaintEvent *event) override ![]() Void mouseReleaseEvent( QMouseEvent *event) override Void mouseMoveEvent( QMouseEvent *event) override Void mousePressEvent( QMouseEvent *event) override Void setPenColor( const QColor &newColor) īool isModified() const ScribbleArea( QWidget *parent = nullptr) īool openImage( const QString &fileName) īool saveImage( const QString &fileName, const char *fileFormat) Then we will review the MainWindow class, which uses ScribbleArea. We will start by reviewing the ScribbleArea class.
0 Comments
Leave a Reply. |