12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QDialog>
17 #include <QtGui/QGraphicsView>
18 #include <QtGui/QHeaderView>
19 #include <QtGui/QPushButton>
20 #include <QtGui/QTextBrowser>
33 if (tutorial->objectName().isEmpty())
34 tutorial->setObjectName(QString::fromUtf8(
"tutorial"));
35 tutorial->resize(1024, 521);
37 icon.addFile(QString::fromUtf8(
"images/tycho_logo_klein.png"), QSize(), QIcon::Normal, QIcon::Off);
38 tutorial->setWindowIcon(icon);
39 close =
new QPushButton(tutorial);
40 close->setObjectName(QString::fromUtf8(
"close"));
41 close->setGeometry(QRect(920, 480, 86, 25));
43 graphicsView->setObjectName(QString::fromUtf8(
"graphicsView"));
46 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
51 QMetaObject::connectSlotsByName(tutorial);
56 tutorial->setWindowTitle(QApplication::translate(
"tutorial",
"Tutorial for tychoBCGEN", 0, QApplication::UnicodeUTF8));
57 close->setText(QApplication::translate(
"tutorial",
"Close", 0, QApplication::UnicodeUTF8));
58 textBrowser->setHtml(QApplication::translate(
"tutorial",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
59 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
60 "p, li { white-space: pre-wrap; }\n"
61 "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
62 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Sans Serif'; font-size:10pt;\">Welcome to tychoBCGEN</span></p>\n"
63 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;\"><br /></p>\n"
64 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Sans Serif'; font-size:10pt;\">The program assists you creating 2D boundary-conditions, sound-emitter and wind-"
65 "emitters for TYCHO by masking areas from photos and drawings.</span></p>\n"
66 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;\"><br /></p>\n"
67 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Sans Serif'; font-size:10pt;\">First you open an image (jpg/png/bmp- or gif-formats are supported). You move the mouse over an area you want to be masked. By pressing the </span><span style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:italic; text-decoration: underline;\">CTRL-key</span><span style=\" font-family:'Sans Serif'; font-size:10pt;\"> areas with the same color will be marked. By opening the </span><span style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:600;\">>Parameters< </span><span style=\" font-family:'Sans Serif'; font-size:10p"
68 "t;\">window, one can set the high and low values for the red/green and blue channels of the image, this will change the masked area immediately. If have masked a color, you can add it to an internal mask-stack by pressing </span><span style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:600;\">>Add Mask</span><span style=\" font-family:'Sans Serif'; font-size:10pt;\"><. Now you can invert the mask or pick another color for masking a different area.</span><span style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:600;\"> >Remove<</span><span style=\" font-family:'Sans Serif'; font-size:10pt;\"> last will erase the last mask in your mask-stack.</span></p>\n"
69 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;\"><br /></p>\n"
70 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><sp"
71 "an style=\" font-family:'Sans Serif'; font-size:10pt;\">You can clear or add pixels to your mask by choosing the appropriate radio button. If you need a wind-emitter in your simulation, than just choose the wind-emitter radio button and the direction of your wind. By pressing the </span><span style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:italic; text-decoration: underline;\">CTRL-key </span><span style=\" font-family:'Sans Serif'; font-size:10pt;\">at the beginning and the end point of you emitter the corresponding line will be drawn.</span></p>\n"
72 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;\"><br /></p>\n"
73 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Sans Serif'; font-size:10pt;\">Save the boundary and wind-emitter in the </span><spa"
74 "n style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:600;\">File</span><span style=\" font-family:'Sans Serif'; font-size:10pt;\"> Menu.</span></p>\n"
75 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;\"><br /></p>\n"
76 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Sans Serif'; font-size:10pt;\">Have Fun</span></p>\n"
77 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;\"><br /></p>\n"
78 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Sans Serif'; font-size:10pt;\">Wolfgang Kapferer </span></p>\n"
79 "<p style=\"-qt-paragraph-type:empty; "
80 "margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;\"><br /></p></body></html>", 0, QApplication::UnicodeUTF8));
91 #endif // UI_TUTORIAL_H