Changeset 58948 in vbox
- Timestamp:
- Dec 2, 2015 1:12:14 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
-
precomp.h (modified) (1 diff)
-
selector/VBoxSnapshotsWgt.cpp (modified) (4 diffs)
-
widgets/UIToolBar.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/precomp.h
r58444 r58948 201 201 #include <QWaitCondition> 202 202 #include <QWidget> 203 #include <QWindowsStyle> 203 //#include <QWindowsStyle> - only used twice 204 204 //#include <QWindowsVistaStyle> - only used once 205 205 #include <QWizard> -
trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp
r56217 r58948 25 25 # include <QMenu> 26 26 # include <QScrollBar> 27 # include <QWindowsStyle>28 27 # include <QPointer> 29 28 # include <QApplication> … … 46 45 47 46 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 47 48 /* Qt includes: */ 49 #if QT_VERSION < 0x050000 50 # include <QWindowsStyle> 51 #endif /* QT_VERSION < 0x050000 */ 48 52 49 53 … … 372 376 mTreeWidget->header()->hide(); 373 377 378 #if QT_VERSION < 0x050000 374 379 /* The snapshots widget is not very useful if there are a lot 375 380 * of snapshots in a tree and the current Qt style decides not … … 384 389 connect (mTreeWidget, SIGNAL (destroyed (QObject *)), treeWidgetStyle, SLOT (deleteLater())); 385 390 // #endif 391 #endif /* QT_VERSION < 0x050000 */ 386 392 387 393 /* Cache pixmaps: */ -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBar.cpp
r52733 r58948 23 23 # include <QLayout> 24 24 # include <QMainWindow> 25 # include <QWindowsStyle>26 25 27 26 /* GUI includes: */ … … 33 32 #endif /* Q_WS_MAC */ 34 33 35 #include <QCleanlooksStyle> 34 /* Qt includes: */ 35 #if QT_VERSION < 0x050000 36 # include <QWindowsStyle> 37 # include <QCleanlooksStyle> 38 #endif /* QT_VERSION < 0x050000 */ 36 39 37 40 … … 90 93 setMovable(false); 91 94 95 #if QT_VERSION < 0x050000 92 96 /* Remove that ugly frame panel around the toolbar. 93 97 * Doing that currently for Cleanlooks & Windows styles. */ 94 if (qobject_cast <Q CleanlooksStyle*>(QToolBar::style()) ||95 qobject_cast <Q WindowsStyle*>(QToolBar::style()))98 if (qobject_cast <QWindowsStyle*>(QToolBar::style()) || 99 qobject_cast <QCleanlooksStyle*>(QToolBar::style())) 96 100 setStyleSheet("QToolBar { border: 0px none black; }"); 101 #endif /* QT_VERSION < 0x050000 */ 97 102 98 103 /* Configure tool-bar' layout: */
Note:
See TracChangeset
for help on using the changeset viewer.

