_bookmarkSearchWatcher.setFuture(_innerBookmarks);
Q_EMIT bookmarkMode();
- qDebug()<<"1";
}
/*! Sets settings for backbone: history_size, search_limit,
#ifndef Q_WS_MAEMO_5
void SettingsWidget::save() {
_save = true;
- qDebug()<<"tuuu";
hide();
}
#endif
function setFocus(){
if(focusIndex==0){
- console.log("01");
+ comboFrom.focus = true;
}
if(focusIndex==1){
- console.log("02");
+ comboTo.focus = true;
}
if(focusIndex==2){
revertButton.focus = true
radius: 50
Keys.onReturnPressed: {
- button.clicked();
+ rectangle.clicked();
}
MouseArea {
function setCompleterText(string) { inputSearchText.setCompleter(string) }
function setFocus(){
- console.log("setFocus");
if(focusIndex==0){
inputSearchText.setFocus();
if(!inputSearchText.enabled)
onHeightChanged:{
heightChange((newPlugin ? textPath.height+50 : textInfo.height+50));
- //console.log( "debug" + (newPlugin ? textPath.paintedHeight+55 : textInfo.paintedHeight+55));
}
SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
}
QString text = QString::fromUtf8(http->readAll());
-// qDebug()<<"google test"<<text;
text=jsonParse(text);
if(text!="") {
text="<key>" + word + "</key>" + "<t>" + text + "</t>";
else
_isCompressed = false;
#ifndef Q_WS_MAEMO_5
- // qDebug()<<"hint"<<view->sizeHint();
- // qDebug()<<"size"<<view->size();
resize(view->sizeHint());
#else
if(keyword.exactMatch(fkey) ) {
TranslationStarDict tran(fkey, infoNote(), this);
- // qDebug() << "off/len" << offset << len;
int id = translations.indexOf(tran);
if(id == -1) {
tran.add(offset, len);
QString StarDictPlugin::interpret(QByteArray::iterator it,
QByteArray::iterator end, QChar mode,QString key, bool) {
QString result;
-// qDebug()<<"****** mode: "<<mode;
if(mode == 'm'
|| mode == 'l'
|| mode == 'g'
QVariant DictsListModel::headerData(int section, Qt::Orientation orientation, int role) const{
- qDebug()<<"tu jestem"<< role;
if (role == FromRole){
return "From";
void XdxfDialog::setAccents(bool accents) {
- qDebug()<<"setAcents"<<accents;
_accents = accents;
}
void XdxfDialog::fileDownloaded(QString) {
#ifndef Q_WS_MAEMO_5
- qDebug()<<"fileDownloaded";
emit setPath(tr("Dictionary file: %1").arg(XdxfPlugin::dictDownloader.downloadedFile()));
_dictionaryFilePath = XdxfPlugin::dictDownloader.downloadedFile();
#else
void XdxfDictDownloadProgressDialog::reject() {
- qDebug("tu");
#ifndef Q_WS_MAEMO_5
emit cancelDownloading();
emit setValue(-1);
XdxfDictSelectDialog selectDialog(dicts, parentDialog);
if(selectDialog.exec()==QDialog::Accepted) {
- qDebug()<<"etap 3.2";
progressDialog->setText(tr("Downloading dictionary"));
progressDialog->show();