Changeset 64470 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 28, 2016 3:22:33 PM (8 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITreeView.cpp
r64402 r64470 33 33 : QTreeView(pParent) 34 34 { 35 /* Mark header hidden: */ 36 setHeaderHidden(true); 37 /* Mark root hidden: */ 38 setRootIsDecorated(false); 35 /* Prepare all: */ 36 prepare(); 39 37 } 40 38 … … 88 86 } 89 87 88 void QITreeView::prepare() 89 { 90 /* Mark header hidden: */ 91 setHeaderHidden(true); 92 /* Mark root hidden: */ 93 setRootIsDecorated(false); 94 } 95 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITreeView.h
r64402 r64470 24 24 25 25 /** QTreeView subclass extending standard functionality. */ 26 class QITreeView : public QTreeView26 class QITreeView : public QTreeView 27 27 { 28 28 Q_OBJECT; … … 51 51 QITreeView(QWidget *pParent = 0); 52 52 53 /** Returns child rectangle. */ 54 QRect visualRect(const QModelIndex &index) const { return QTreeView::visualRect(index); } 55 53 56 protected slots: 54 57 … … 70 73 /** Handles mouse double-click @a pEvent. */ 71 74 void mouseDoubleClickEvent(QMouseEvent *pEvent); 75 76 private: 77 78 /** Prepares all. */ 79 void prepare(); 72 80 }; 73 81
Note:
See TracChangeset
for help on using the changeset viewer.