Changeset 24412 in vbox for trunk/src/VBox
- Timestamp:
- Nov 5, 2009 7:34:55 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSnapshotsWgt.cpp
r23930 r24412 260 260 mTreeWidget->header()->hide(); 261 261 262 /* We want to draw nodes & branches for the 263 * snapshots QTreeWidget independent of Look&Feel 264 * style. Unfortunately, Qt is not draws branches 265 * for a bunch of styles and moreover paints nodes 266 * of such style which is not consistent with 267 * branches at all. So we have to use QWindowsStyle 268 * which present under every platform and draws 269 * required thing like we want. */ 270 QWindowsStyle *treeWidgetStyle = new QWindowsStyle; 271 mTreeWidget->setStyle (treeWidgetStyle); 272 connect (mTreeWidget, SIGNAL (destroyed (QObject *)), treeWidgetStyle, SLOT (deleteLater())); 273 262 274 /* ToolBar creation */ 263 275 VBoxToolBar *toolBar = new VBoxToolBar (this); -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxSnapshotsWgt.ui
r8742 r24412 51 51 <bool>true</bool> 52 52 </property> 53 <column>54 <property name="text" >55 <string>[snapshot]</string>56 </property>57 </column>58 53 </widget> 59 54 </item>
Note:
See TracChangeset
for help on using the changeset viewer.