Hello,

I'm developing an embedded application using qtopia core (which is functionally identical to qt4), and I don't want the user to be able to resize a column of my QTreeWidget. I've been settings column widths in this manner:

Qt Code:
  1. headings << "Description" << "Qty" << "Unit price" << "Total price";
  2. mymainscreen.treeWidget_products->setHeaderLabels(headings);
  3. mymainscreen.treeWidget_products->setColumnWidth(0,360);
  4. mymainscreen.treeWidget_products->setColumnWidth(1,32);
  5. mymainscreen.treeWidget_products->setColumnWidth(2,72);
  6. mymainscreen.treeWidget_products->setColumnWidth(3,72);
To copy to clipboard, switch view to plain text mode 
mymainscreen is a ui object, so the QTreeWidget pointer, "treeWidget_products" is "instantiated" there.

I want to prevent the objects columns from being resized. How is this possible?

I've already figured out how to remove the cursor, because it's a touchscreen system:

Qt Code:
  1. QApplication::setOverrideCursor(QCursor(Qt::BlankCursor) );
To copy to clipboard, switch view to plain text mode 

Thanks in advance,
Sternocera