Changeset 852 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 13, 2007 7:40:16 AM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui
r568 r852 629 629 <function specifier="static" returnType="QString">composeCdToolTip( CDVDImage &, VBoxMedia::Status = VBoxMedia::Ok )</function> 630 630 <function specifier="static" returnType="QString">composeFdToolTip( CFloppyImage &, VBoxMedia::Status = VBoxMedia::Ok )</function> 631 <function access="protected">clearInfoPanes()</function> 631 632 <function access="protected">prepareToRefresh( int aTotal = 0 )</function> 632 633 </functions> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui.h
r777 r852 1255 1255 } 1256 1256 else 1257 { 1257 { 1258 1258 /* insert already enumerated media */ 1259 1259 const VBoxMediaList &list = vboxGlobal().currentMediaList(); … … 1288 1288 for (it = list.begin(); it != list.end(); ++ it) 1289 1289 mediaAdded (*it); 1290 1290 1291 1291 /* select the first item if the previous saved item is not found 1292 1292 * or no current item at all */ … … 1327 1327 cdsView->adjustColumn (2); 1328 1328 cdsView->adjustColumn (1); 1329 1329 1330 1330 fdsView->adjustColumn (1); 1331 1331 fdsView->adjustColumn (2); … … 1378 1378 if (!vboxGlobal().isMediaEnumerationStarted()) 1379 1379 setCurrentItem (getListView (aMedia.type), item); 1380 if (item == getCurrentListView()->currentItem()) 1381 processCurrentChanged (item); 1380 1382 } 1381 1383 … … 1460 1462 1461 1463 1462 void VBoxDiskImageManagerDlg::prepareToRefresh (int aTotal) 1463 { 1464 /* info panel clearing */ 1464 void VBoxDiskImageManagerDlg::clearInfoPanes() 1465 { 1465 1466 hdsPane1->clear(); 1466 1467 hdsPane2->clear(), hdsPane3->clear(); … … 1468 1469 cdsPane1->clear(), cdsPane2->clear(); 1469 1470 fdsPane1->clear(), fdsPane2->clear(); 1471 } 1472 1473 1474 void VBoxDiskImageManagerDlg::prepareToRefresh (int aTotal) 1475 { 1476 /* info panel clearing */ 1477 clearInfoPanes(); 1470 1478 1471 1479 /* prepare progressbar */ … … 1481 1489 1482 1490 /* store the current list selections */ 1483 1491 1484 1492 QListViewItem *item; 1485 1493 DiskImageItem *di; … … 1488 1496 di = (item && item->rtti() == 1001) ? static_cast <DiskImageItem *> (item) : 0; 1489 1497 hdSelectedId = di ? di->getUuid() : QString::null; 1490 1498 1491 1499 item = cdsView->currentItem(); 1492 1500 di = (item && item->rtti() == 1001) ? static_cast <DiskImageItem *> (item) : 0; 1493 cdSelectedId = di ? di->getUuid() : QString::null; 1501 cdSelectedId = di ? di->getUuid() : QString::null; 1494 1502 1495 1503 item = fdsView->currentItem(); … … 1667 1675 } 1668 1676 } 1677 else 1678 clearInfoPanes(); 1669 1679 } 1670 1680
Note:
See TracChangeset
for help on using the changeset viewer.