Changeset 40350 in vbox
- Timestamp:
- Mar 5, 2012 12:16:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r40245 r40350 186 186 187 187 /* Register 'message-box-warning-icon' image in m_pPage1Text1 as 'image': */ 188 m_pPage1Text1->registerImage(UIIconPool::defaultIcon(UIIconPool::MessageBoxWarningIcon).pixmap(256, 256).toImage(), "image"); 188 QSize wSize(64, 64); 189 QPixmap wPixmap = UIIconPool::defaultIcon(UIIconPool::MessageBoxWarningIcon).pixmap(wSize); 190 if (wPixmap.width() != wSize.width()) 191 wPixmap = wPixmap.scaled(wSize, Qt::KeepAspectRatio, Qt::SmoothTransformation); 192 QImage wImage = wPixmap.toImage(); 193 m_pPage1Text1->registerImage(wImage, "image"); 189 194 190 195 /* Prepare table template: */
Note:
See TracChangeset
for help on using the changeset viewer.