VirtualBox

Changeset 25686 in vbox


Ignore:
Timestamp:
Jan 8, 2010 9:01:04 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56406
Message:

FE/Qt4: move the RTCUseUTC to the System/Motherboard tab

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsGeneral.cpp

    r25679 r25686  
    8686    mCbToolBarAlignment->setEnabled (mCbShowToolBar->isChecked());
    8787
    88     /* RTC use UTC */
    89     bool rtcUseUTC = mMachine.GetRTCUseUTC ();
    90     mCbTCUseUTC->setChecked (rtcUseUTC);
    91 
    9288    /* Snapshot folder */
    9389    mPsSnapshot->setPath (aMachine.GetSnapshotFolder());
     
    124120    mMachine.SetExtraData (VBoxDefs::GUI_MiniToolBarAlignment,
    125121                           mCbToolBarAlignment->isChecked() ? "top" : "bottom");
    126 
    127     /* RTC reports time in UTC */
    128     mMachine.SetRTCUseUTC (mCbTCUseUTC->isChecked());
    129122
    130123    /* Saved state folder */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsGeneral.ui

    r25680 r25686  
    241241           </widget>
    242242          </item>
    243           <item row="5" column="0" >
    244            <widget class="QLabel" name="mLbRTCUseUTC" >
    245             <property name="text" >
    246              <string>Hardware clock:</string>
    247             </property>
    248             <property name="alignment" >
    249              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    250             </property>
    251            </widget>
    252           </item>
    253           <item row="5" column="1" >
    254            <widget class="QCheckBox" name="mCbTCUseUTC" >
    255             <property name="sizePolicy" >
    256              <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
    257               <horstretch>0</horstretch>
    258               <verstretch>0</verstretch>
    259              </sizepolicy>
    260             </property>
    261             <property name="whatsThis" >
    262              <string>If checked, the RTC device will report the time in UTC, otherwise in local (host) time. Unix usually expects the hardware clock to be set to UTC.</string>
    263             </property>
    264             <property name="text" >
    265              <string>Report &amp;UTC time</string>
    266             </property>
    267             <property name="checked" >
    268              <bool>false</bool>
    269             </property>
    270            </widget>
    271           </item>
    272243         </layout>
    273244        </widget>
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSystem.cpp

    r25177 r25686  
    170170    mCbEFI->setChecked (mMachine.GetFirmwareType() >= KFirmwareType_EFI && mMachine.GetFirmwareType() <= KFirmwareType_EFIDUAL);
    171171
     172    /* RTC */
     173    bool rtcUseUTC = mMachine.GetRTCUseUTC ();
     174    mCbTCUseUTC->setChecked (rtcUseUTC);
     175
    172176    /* CPU count */
    173177    bool fVTxAMDVSupported = vboxGlobal().virtualBox().GetHost()
     
    233237    /* EFI */
    234238    mMachine.SetFirmwareType (mCbEFI->isChecked() ? KFirmwareType_EFI : KFirmwareType_BIOS);
     239
     240    /* RTC */
     241    mMachine.SetRTCUseUTC (mCbTCUseUTC->isChecked());
    235242
    236243    /* RAM size */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSystem.ui

    r25196 r25686  
    343343        </widget>
    344344       </item>
    345        <item row="6" column="0" colspan="3">
     345       <item row="6" column="1" >
     346        <widget class="QCheckBox" name="mCbTCUseUTC" >
     347         <property name="sizePolicy" >
     348          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
     349           <horstretch>0</horstretch>
     350           <verstretch>0</verstretch>
     351           </sizepolicy>
     352         </property>
     353         <property name="whatsThis" >
     354          <string>If checked, the RTC device will report the time in UTC, otherwise in local (host) time. Unix usually expects the hardware clock to be set to UTC.</string>
     355         </property>
     356         <property name="text" >
     357          <string>Hardware clock in &amp;UTC time</string>
     358         </property>
     359        </widget>
     360       </item>
     361       <item row="7" column="0" colspan="3">
    346362        <spacer name="mSpVer1">
    347363         <property name="orientation">
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