VirtualBox

Changeset 3141 in vbox for trunk/src


Ignore:
Timestamp:
Jun 18, 2007 2:30:48 PM (18 years ago)
Author:
vboxsync
Message:

2029: Add DVD passthrough setting:

The CD/DVD page of the VM settings dialog got it's "passthrough" checkbox. It can be selected in case of a host drive is mounted into virtual CD/DVD drive and allows using of CD/DVD-burners.

Location:
trunk/src/VBox/Frontends/VirtualBox/ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui

    r3135 r3141  
    15881588                            <widget class="QLayoutWidget">
    15891589                                <property name="name">
     1590                                    <cstring>layout485</cstring>
     1591                                </property>
     1592                                <hbox>
     1593                                    <property name="name">
     1594                                        <cstring>unnamed</cstring>
     1595                                    </property>
     1596                                    <property name="spacing">
     1597                                        <number>0</number>
     1598                                    </property>
     1599                                    <spacer>
     1600                                        <property name="name">
     1601                                            <cstring>spacer412</cstring>
     1602                                        </property>
     1603                                        <property name="orientation">
     1604                                            <enum>Horizontal</enum>
     1605                                        </property>
     1606                                        <property name="sizeType">
     1607                                            <enum>Fixed</enum>
     1608                                        </property>
     1609                                        <property name="sizeHint">
     1610                                            <size>
     1611                                                <width>19</width>
     1612                                                <height>16</height>
     1613                                            </size>
     1614                                        </property>
     1615                                    </spacer>
     1616                                    <widget class="QCheckBox">
     1617                                        <property name="name">
     1618                                            <cstring>cbPassthrough</cstring>
     1619                                        </property>
     1620                                        <property name="sizePolicy">
     1621                                            <sizepolicy>
     1622                                                <hsizetype>7</hsizetype>
     1623                                                <vsizetype>0</vsizetype>
     1624                                                <horstretch>0</horstretch>
     1625                                                <verstretch>0</verstretch>
     1626                                            </sizepolicy>
     1627                                        </property>
     1628                                        <property name="text">
     1629                                            <string>&amp;Enable Passthrough</string>
     1630                                        </property>
     1631                                        <property name="accel">
     1632                                            <string>Alt+E</string>
     1633                                        </property>
     1634                                        <property name="whatsThis" stdset="0">
     1635                                            <string>When checked, allows the guest to send ATAPI commands directly to the host drive which makes it possible to use CD/DVD writers connected to the host inside the VM. Note that writing audio CD inside the VM is not yet supported.</string>
     1636                                        </property>
     1637                                    </widget>
     1638                                </hbox>
     1639                            </widget>
     1640                            <widget class="QLayoutWidget">
     1641                                <property name="name">
    15901642                                    <cstring>layout40</cstring>
    15911643                                </property>
     
    16291681                            <widget class="QLayoutWidget">
    16301682                                <property name="name">
    1631                                     <cstring>cdLayout</cstring>
     1683                                    <cstring>layout35</cstring>
    16321684                                </property>
    16331685                                <hbox>
     
    16351687                                        <cstring>unnamed</cstring>
    16361688                                    </property>
    1637                                     <widget class="QToolButton">
    1638                                         <property name="name">
    1639                                             <cstring>tbISODVD</cstring>
    1640                                         </property>
    1641                                         <property name="focusPolicy">
    1642                                             <enum>TabFocus</enum>
    1643                                         </property>
    1644                                         <property name="text">
    1645                                             <string>Select</string>
    1646                                         </property>
    1647                                         <property name="iconSet">
    1648                                             <iconset></iconset>
    1649                                         </property>
    1650                                         <property name="textLabel">
    1651                                             <string>Select</string>
    1652                                         </property>
    1653                                         <property name="autoRaise">
    1654                                             <bool>true</bool>
    1655                                         </property>
    1656                                         <property name="whatsThis" stdset="0">
    1657                                             <string>Invokes the Virtual Disk Manager to select a CD/DVD image to mount.</string>
    1658                                         </property>
     1689                                    <property name="spacing">
     1690                                        <number>0</number>
     1691                                    </property>
     1692                                    <spacer>
     1693                                        <property name="name">
     1694                                            <cstring>spacer413</cstring>
     1695                                        </property>
     1696                                        <property name="orientation">
     1697                                            <enum>Horizontal</enum>
     1698                                        </property>
     1699                                        <property name="sizeType">
     1700                                            <enum>Fixed</enum>
     1701                                        </property>
     1702                                        <property name="sizeHint">
     1703                                            <size>
     1704                                                <width>19</width>
     1705                                                <height>16</height>
     1706                                            </size>
     1707                                        </property>
     1708                                    </spacer>
     1709                                    <widget class="QLayoutWidget">
     1710                                        <property name="name">
     1711                                            <cstring>cdLayout</cstring>
     1712                                        </property>
     1713                                        <hbox>
     1714                                            <property name="name">
     1715                                                <cstring>unnamed</cstring>
     1716                                            </property>
     1717                                            <widget class="QToolButton">
     1718                                                <property name="name">
     1719                                                    <cstring>tbISODVD</cstring>
     1720                                                </property>
     1721                                                <property name="focusPolicy">
     1722                                                    <enum>TabFocus</enum>
     1723                                                </property>
     1724                                                <property name="text">
     1725                                                    <string>Select</string>
     1726                                                </property>
     1727                                                <property name="iconSet">
     1728                                                    <iconset></iconset>
     1729                                                </property>
     1730                                                <property name="textLabel">
     1731                                                    <string>Select</string>
     1732                                                </property>
     1733                                                <property name="autoRaise">
     1734                                                    <bool>true</bool>
     1735                                                </property>
     1736                                                <property name="whatsThis" stdset="0">
     1737                                                    <string>Invokes the Virtual Disk Manager to select a CD/DVD image to mount.</string>
     1738                                                </property>
     1739                                            </widget>
     1740                                        </hbox>
    16591741                                    </widget>
    16601742                                </hbox>
     
    18041886                            <widget class="QLayoutWidget">
    18051887                                <property name="name">
    1806                                     <cstring>fdLayout</cstring>
     1888                                    <cstring>layout36</cstring>
    18071889                                </property>
    18081890                                <hbox>
     
    18101892                                        <cstring>unnamed</cstring>
    18111893                                    </property>
    1812                                     <widget class="QToolButton">
    1813                                         <property name="name">
    1814                                             <cstring>tbISOFloppy</cstring>
    1815                                         </property>
    1816                                         <property name="focusPolicy">
    1817                                             <enum>TabFocus</enum>
    1818                                         </property>
    1819                                         <property name="text">
    1820                                             <string>Select</string>
    1821                                         </property>
    1822                                         <property name="iconSet">
    1823                                             <iconset></iconset>
    1824                                         </property>
    1825                                         <property name="textLabel">
    1826                                             <string>Select</string>
    1827                                         </property>
    1828                                         <property name="autoRaise">
    1829                                             <bool>true</bool>
    1830                                         </property>
    1831                                         <property name="whatsThis" stdset="0">
    1832                                             <string>Invokes the Virtual Disk Manager to select a Floppy image to mount.</string>
    1833                                         </property>
     1894                                    <property name="spacing">
     1895                                        <number>0</number>
     1896                                    </property>
     1897                                    <spacer>
     1898                                        <property name="name">
     1899                                            <cstring>spacer413_2</cstring>
     1900                                        </property>
     1901                                        <property name="orientation">
     1902                                            <enum>Horizontal</enum>
     1903                                        </property>
     1904                                        <property name="sizeType">
     1905                                            <enum>Fixed</enum>
     1906                                        </property>
     1907                                        <property name="sizeHint">
     1908                                            <size>
     1909                                                <width>19</width>
     1910                                                <height>16</height>
     1911                                            </size>
     1912                                        </property>
     1913                                    </spacer>
     1914                                    <widget class="QLayoutWidget">
     1915                                        <property name="name">
     1916                                            <cstring>fdLayout</cstring>
     1917                                        </property>
     1918                                        <hbox>
     1919                                            <property name="name">
     1920                                                <cstring>unnamed</cstring>
     1921                                            </property>
     1922                                            <widget class="QToolButton">
     1923                                                <property name="name">
     1924                                                    <cstring>tbISOFloppy</cstring>
     1925                                                </property>
     1926                                                <property name="focusPolicy">
     1927                                                    <enum>TabFocus</enum>
     1928                                                </property>
     1929                                                <property name="text">
     1930                                                    <string>Select</string>
     1931                                                </property>
     1932                                                <property name="iconSet">
     1933                                                    <iconset></iconset>
     1934                                                </property>
     1935                                                <property name="textLabel">
     1936                                                    <string>Select</string>
     1937                                                </property>
     1938                                                <property name="autoRaise">
     1939                                                    <bool>true</bool>
     1940                                                </property>
     1941                                                <property name="whatsThis" stdset="0">
     1942                                                    <string>Invokes the Virtual Disk Manager to select a Floppy image to mount.</string>
     1943                                                </property>
     1944                                            </widget>
     1945                                        </hbox>
    18341946                                    </widget>
    18351947                                </hbox>
     
    28382950    <tabstop>grbHDD</tabstop>
    28392951    <tabstop>tbHDD</tabstop>
     2952    <tabstop>bgDVD</tabstop>
    28402953    <tabstop>rbHostDVD</tabstop>
    28412954    <tabstop>cbHostDVD</tabstop>
     2955    <tabstop>cbPassthrough</tabstop>
    28422956    <tabstop>rbISODVD</tabstop>
    28432957    <tabstop>tbISODVD</tabstop>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r3003 r3141  
    14201420
    14211421        cbHostDVD->setEnabled (rbHostDVD->isChecked());
     1422        cbPassthrough->setEnabled (rbHostDVD->isChecked());
    14221423
    14231424        cbISODVD->setEnabled (rbISODVD->isChecked());
     
    16891690                }
    16901691                rbHostDVD->setChecked (true);
     1692                cbPassthrough->setChecked (dvd.GetPassthrough());
    16911693                break;
    16921694            }
     
    19351937        if (!bgDVD->isChecked())
    19361938        {
     1939            dvd.SetPassthrough (false);
    19371940            dvd.Unmount();
    19381941        }
    19391942        else if (rbHostDVD->isChecked())
    19401943        {
     1944            dvd.SetPassthrough (cbPassthrough->isChecked());
    19411945            int id = cbHostDVD->currentItem();
    19421946            Assert (id >= 0);
     
    19501954        else if (rbISODVD->isChecked())
    19511955        {
     1956            dvd.SetPassthrough (false);
    19521957            Assert (!uuidISODVD.isNull());
    19531958            dvd.MountImage (uuidISODVD);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette