flush();
QString c="%"+b+"%";
qDebug()<<"exec()="<<exec(QList<QString>({conf->value(QString("choose"+a)).toString(), c}));
+
while (q->next()) {
const QString action="edit "+q->value(0).toString();
addWidget(action, new CLabel(q->value(1).toString(), *conf));
beforekey=lastprint;
action(a);
}else{
- action(beforekey);
+ action(QString("-"+beforekey));
};
}else if(k==Qt::Key_Back){
const QString a=conf->value(QString("menuback"), QString("")).toString();
beforekey=lastprint;
action(a);
}else{
- action(beforekey);
+ action(QString("-"+beforekey));
};
}else if(k==Qt::Key_VolumeDown){
qDebug()<<"keyvolumdown";
beforekey=lastprint;
action(a);
}else{
- action(beforekey);
+ action(QString("-"+beforekey));
};
}else if(k==Qt::Key_VolumeUp){
const QString a=conf->value(QString("volumup"), QString("")).toString();
beforekey=lastprint;
action(a);
}else{
- action(beforekey);
+ action(QString("-"+beforekey));
};
};
event->setAccepted(accepted);
};
i++;
}while(a.next());
- //grid->update();
- //scroll->updateGeometry();
- //screen->updateGeometry();
-
qDebug()<<"end printItem : "<<i<<" button(s) way.size()"<<way.size()<<" page : "<<page;
return 0;
}