git-svn-id: file:///svnroot/family-shop-mgr@31 26eb2498-383b-47a6-be48-5d6f36779e85
[family-shop-mgr] / code / family-shop-mgr / GoShoppingView.cpp
index 0f08744..37275e4 100644 (file)
@@ -29,6 +29,11 @@ GoShoppingView::GoShoppingView(QString xmlFileName, QWidget *parent)
 {\r
     ShoppingTreeModel *model = new ShoppingTreeModel(xmlFileName, this);\r
     this->setModel(model);\r
+    this->setAnimated(true);\r
+    this->setAutoExpandDelay(1);\r
+    this->setAutoScroll(true);\r
+    this->setExpandsOnDoubleClick(true);\r
+    this->setSortingEnabled(true);\r
     for(int column = 0; column < model->columnCount(); column++)\r
         this->resizeColumnToContents(column);\r
 }\r