我在QT中給動畫進度條添加動畫時遇到問題。問題與QT中的進度條
哪裏是在下面的代碼錯誤,我得到持續的進度條,但它不是動畫
QApplication a(argc, argv);
QProgressDialog *dialog = new QProgressDialog();
QProgressBar *pbar = new QProgressBar(dialog);
pbar->setMinimum(0);
pbar->setMaximum(0);
pbar->setTextVisible(false);
QDesktopWidget *desktop = QApplication::desktop();
QRect rect = desktop->geometry();
pbar->setGeometry(rect.left(),rect.top(),rect.right(),rect.bottom()-300);
pbar->show();
dialog->setBar(pbar);
dialog->showMaximized();
dialog->exec();
return a.exec();
嘿,我得到了烏拉圭回合的建議 it..Thanks的事情是...我們的代碼也表現得就像上面礦代碼.. 在我模擬器即時通訊進度條,與之字形樣式..即藍色..但它的靜態..我的意思是它不動.. 模擬器的行爲就像只有或什麼? – Naruto 2010-02-18 13:39:42
嗯,我從來沒有與Symbian的工作,但似乎像somethig模擬器可以做的。你可以嘗試在實際的symbian機器上部署它來嘗試嗎? – erelender 2010-02-18 13:48:50
亞..虐待嘗試在移動和告訴你:) 謝謝 – Naruto 2010-02-18 14:00:00