1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
#include "FormHelp.h"
#include "ui_FormHelp.h"
#include "config_qabcs.h"
FormHelp::FormHelp(QWidget *parent) :
QDialog(parent),
ui(new Ui::FormHelp)
{
ui->setupUi(this);
ui->textEdit->setReadOnly(true);
this->setWindowTitle(tr("Help"));
this->setWindowIcon(QIcon(QString(GLOBAL_PATH_USERDATA)+"/images/icons/abc.png"));
ui->textEdit->setText(tr("How to use:\n\n")+
tr("Selecting a mode:\n\
The six icons on the left side of the toolbar represent the\n\
different modes. Use the \"Tab\" key to toggle between modes,\n\
or click on an icon with the mouse.\n")+
"\n"+
tr("Alphabet Mode:\n\
The first icon on the left is the Alphabet Mode. Press the\n\
letter on the keyboard that is displayed on the screen to\n\
cycle through alphabet. Press the \"Backspace\" key to move\n\
back one letter. Finish by finding all the letters.\n")+
"\n"+
tr("Random Mode:\n\
The second icon on the left is the Random Mode. Press the\n\
letter on the keyboard that is displayed on the screen.\n\
Press the \"Backspace\" key to move back one letter.\n\
Finish by finding all the letters.\n")+
"\n"+
tr("Other Modes:\n\
In all other modes, simply press a key on the keyboard to see\n\
a letter with a related image and description.\n")+
"\n"+
tr("Sounds:\n\
Press the spacebar to hear the name of the pictured object.\n\
You can turn on/off sounds by pressing on the \"Sound on/off\"\n\
icon.\n")+
tr("\
Click on the letter to hear pronunciation of the letter.\n\
Click on the word to hear pronunciation of the word.\n\
Click on the pictured object to hear the sound effect.\n")+
"\n"+
tr("Select ABC language:\n\
You can change ABC language by pressing on the \"Select\n\
language\" icon. Default language is American English.\n")+
"\n"+
tr("Typing on/off:\n\
You can switch from typing of letters on using left/right keys\n\
instead.")
);
connect(ui->pushButton,SIGNAL(clicked()),this,SLOT(close()));
}
FormHelp::~FormHelp()
{
delete ui;
}
|