Skip navigation
You are not logged in.
Advanced Search
Skip user information
Raghav
Trainee
Posts: 35
1
Wednesday, May 11th 2005, 7:44am
zlatko
Professional
Posts: 728
Location: Ukraine,Lviv
Occupation: programmer
2
Wednesday, May 11th 2005, 9:55am
Quoted int QTableItem::alignment () const [virtual] The alignment function returns how the text contents of the cell are aligned when drawn. The default implementation aligns numbers to the right and any other text to the left.
3
Wednesday, May 11th 2005, 11:31am
dimitri
Posts: 1,311
Occupation: Engineer
4
Wednesday, May 11th 2005, 12:48pm
Quoted Originally posted by Raghav Hi , I have tried like this, But this also doesn't work,
Quoted QTableItem* item = new QTableItem(tCommon,QTableItem::Never); item->setText("5000"); item->AlignLeft; tCommon->setItem(9,1,item);
5
Wednesday, May 11th 2005, 1:42pm
1 2 3 4 5 6 7 8 9 10
QMyTableItem : public QTableItem .............. // and then reinplement next method int QMyTableItem::alignment() const { return Qt::AlignLeft; }
Remember me?