如題。何解阿??
uj5u.com熱心網友回復:
我也遇到了http://www.qtcn.org/bbs/simple/?t14377.htmluj5u.com熱心網友回復:
/讓時間居中顯示
QList<QListWidgetItem *> Itemlist = listWidget->findItems(current_date,Qt::MatchFlags(0));
for(int i = 0;i<Itemlist.count();i++)
{
Itemlist.at(i)->setTextAlignment(0x0004);//核心就這個方法[code=c]
}[/code]
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/28272.html
標籤:其他技術討論專區
