QTfrontend/ui/dialog/ask_quit.cpp
branch0.9.18
changeset 7902 a82b1bf2eca1
parent 7795 ba32d3f9e567
child 9080 9b42757d7e71
equal deleted inserted replaced
7901:a86ccf3da9ca 7902:a82b1bf2eca1
    28 
    28 
    29 HWAskQuitDialog::HWAskQuitDialog(QWidget* parent, HWForm * form) : QDialog(parent)
    29 HWAskQuitDialog::HWAskQuitDialog(QWidget* parent, HWForm * form) : QDialog(parent)
    30 {
    30 {
    31     this->form = form;
    31     this->form = form;
    32 
    32 
    33     setWindowTitle(tr("Do yot really want to quit?"));
    33     setWindowTitle(tr("Do you really want to quit?"));
    34 
    34 
    35     QVBoxLayout * layout = new QVBoxLayout(this);
    35     QVBoxLayout * layout = new QVBoxLayout(this);
    36 
    36 
    37     QLabel * lbLabel = new QLabel(this);
    37     QLabel * lbLabel = new QLabel(this);
    38     lbLabel->setText(QLabel::tr("There are videos that are currently being processed.\n"
    38     lbLabel->setText(QLabel::tr("There are videos that are currently being processed.\n"
    39                                 "Exiting now will abort them.\n"
    39                                 "Exiting now will abort them.\n"
    40                                 "Do yot really want to quit?"));
    40                                 "Do you really want to quit?"));
    41     layout->addWidget(lbLabel);
    41     layout->addWidget(lbLabel);
    42 
    42 
    43     lbList = new QLabel(this);
    43     lbList = new QLabel(this);
    44     layout->addWidget(lbList);
    44     layout->addWidget(lbList);
    45     updateList();
    45     updateList();