VirtualBox

Ignore:
Timestamp:
Jul 6, 2007 11:26:06 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22705
Message:

2048: Make runtime DVD changes permanent:

"Remember Media Mounted at Runtime" settings-feature implemented. It is located in "Other" tab on "General" VM Settings page.
If this feature is activated, the Console Window will save VM settings immediately after every DVD/Floppy change.

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

Legend:

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

    r3448 r3490  
    12451245                                    </property>
    12461246                                </widget>
     1247                            </vbox>
     1248                        </widget>
     1249                        <widget class="QWidget">
     1250                            <property name="name">
     1251                                <cstring>other</cstring>
     1252                            </property>
     1253                            <attribute name="title">
     1254                                <string>&amp;Other</string>
     1255                            </attribute>
     1256                            <vbox>
     1257                                <property name="name">
     1258                                    <cstring>unnamed</cstring>
     1259                                </property>
     1260                                <widget class="QCheckBox">
     1261                                    <property name="name">
     1262                                        <cstring>chbRememberMedia</cstring>
     1263                                    </property>
     1264                                    <property name="text">
     1265                                        <string>&amp;Remember Media Mounted at Runtime</string>
     1266                                    </property>
     1267                                    <property name="accel">
     1268                                        <string>Alt+R</string>
     1269                                    </property>
     1270                                    <property name="checked">
     1271                                        <bool>true</bool>
     1272                                    </property>
     1273                                </widget>
     1274                                <spacer>
     1275                                    <property name="name">
     1276                                        <cstring>spacer30</cstring>
     1277                                    </property>
     1278                                    <property name="orientation">
     1279                                        <enum>Vertical</enum>
     1280                                    </property>
     1281                                    <property name="sizeType">
     1282                                        <enum>Expanding</enum>
     1283                                    </property>
     1284                                    <property name="sizeHint">
     1285                                        <size>
     1286                                            <width>20</width>
     1287                                            <height>151</height>
     1288                                        </size>
     1289                                    </property>
     1290                                </spacer>
    12471291                            </vbox>
    12481292                        </widget>
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h

    r3349 r3490  
    3131
    3232
     33extern const char *GUI_SaveMountedAtRuntime;
    3334extern const char *GUI_FirstRun;
    3435
     
    15211522    /* Shared clipboard mode */
    15221523    cbSharedClipboard->setCurrentItem (machine.GetClipboardMode());
     1524
     1525    /* other features */
     1526    QString saveRtimeImages = cmachine.GetExtraData (GUI_SaveMountedAtRuntime);
     1527    chbRememberMedia->setChecked (saveRtimeImages != "no");
    15231528
    15241529    /* hard disk images */
     
    18611866    cmachine.SetClipboardMode ((CEnums::ClipboardMode)cbSharedClipboard->currentItem());
    18621867
     1868    /* other features */
     1869    cmachine.SetExtraData (GUI_SaveMountedAtRuntime,
     1870                           chbRememberMedia->isChecked() ? "yes" : "no");
     1871
    18631872    /* hard disk images */
    18641873    {
Note: See TracChangeset for help on using the changeset viewer.

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