#include "Instructions.h" #include Instructions::Instructions(int step, bool images, QWidget *parent) : QLabel(parent) { QFont font; font.setFamily("CMU Typewriter Text Variable Width"); setFont(font); QString html = tr("

How To Use Author

"); html += "

"; if (images) html += ""; html += tr("By disabling the ability to edit while writing, Author forces you to think like an author, escaping the modern world and its invitation for disconnected thought. With Author, you'll get back to basics, plan out paragraphs at a time, write more coherently and end writer's block."); html += "

"; html += "

"; if (step == 1) html += ""; html += tr("Step 1: Copy and paste your scraps and notes into the note box. You'll later use these when authoring your composition."); if (step == 1) html += ""; html += "

"; html += "

"; if (step == 2) html += ""; html += tr("Step 2: With your notes immediately beside your typewriter, begin composing. Remember - you can backspace, but you'll write ugly ink on top of what was previously there. The point is: keep writing continuously."); if (step == 2) html += ""; html += "

"; html += "

"; if (step == 3) html += ""; html += tr("Step 3: Revise and pull together the very rough draft in a brand new document, where you can re-work what you were unable to the first time through. When you're finished, you can fine-tune your composition in your usual word processor."); if (step == 3) html += ""; html += "

"; setWordWrap(true); setAlignment(Qt::AlignTop | Qt::AlignJustify); setText(html); setMargin(10); } QSize Instructions::sizeHint() const { return QSize(350, 600); }