#ifndef Q_WS_MAEMO_5
resize(380,450);
- mainLayout = new QVBoxLayout;
+
view= new QDeclarativeView();
- mainLayout->addWidget(view);
view->setSource(QUrl("src/mdictionary/qml/AboutWidget.qml"));
view->setResizeMode(QDeclarativeView::SizeRootObjectToView);
view->setAlignment(Qt::AlignCenter);
view->show();
+ QDeclarativeView *view2 = new QDeclarativeView();
+ view2->setSource(QUrl("src/mdictionary/qml/TranslationView.qml"));
+ view2->setResizeMode(QDeclarativeView::SizeRootObjectToView);
+ view2->setAlignment(Qt::AlignCenter);
+ view2->show();
+
+ mainLayout = new QVBoxLayout;
+ mainLayout->addWidget(view);
+
QGraphicsObject *rootObject = view->rootObject();
connect(rootObject, SIGNAL(linkClicked(QString)), this, SLOT(openUrl(QString)));
this->setLayout(mainLayout);
if(busy) return;
#ifndef Q_WS_MAEMO_5
- busyTimer->start(500);
+ busyTimer->start(50);
emit setButtonText(tr("Stop"));
this->setMaximumHeight(88);
progressBar->show();
emit progresSetValue2(100);
progressMax=true;
}
- busyTimer->start(500);
+ busyTimer->start(50);
}
void SearchBarWidget::setIdle() {
qml/ElementsListView.qml \
qml/DictTypeSelectDialog.qml \
qml/DictManagerWidget.qml \
- qml/WordListWidget.qml
+ qml/WordListWidget.qml \
+ qml/TranslationView.qml
target.path = $$BIN_DIR
INSTALLS += target
qmls.files += ./qml/DictTypeSelectDialog.qml
qmls.files += ./qml/DictManagerWidget.qml
qmls.files += ./qml/WordListWidget.qml
+ qmls.files += ./qml/TranslationView.qml
}
INSTALLS += desktop icon64 shared service css css_images qmls
SequentialAnimation{
loops: Animation.Infinite
SmoothedAnimation { velocity: 450; to: progressBar.width - 96}
- SmoothedAnimation { velocity: 450; to: 0 }
+ SmoothedAnimation { velocity: 450; to: 6 }
}
}