Changeset 25686 in vbox
- Timestamp:
- Jan 8, 2010 9:01:04 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56406
- 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 86 86 mCbToolBarAlignment->setEnabled (mCbShowToolBar->isChecked()); 87 87 88 /* RTC use UTC */89 bool rtcUseUTC = mMachine.GetRTCUseUTC ();90 mCbTCUseUTC->setChecked (rtcUseUTC);91 92 88 /* Snapshot folder */ 93 89 mPsSnapshot->setPath (aMachine.GetSnapshotFolder()); … … 124 120 mMachine.SetExtraData (VBoxDefs::GUI_MiniToolBarAlignment, 125 121 mCbToolBarAlignment->isChecked() ? "top" : "bottom"); 126 127 /* RTC reports time in UTC */128 mMachine.SetRTCUseUTC (mCbTCUseUTC->isChecked());129 122 130 123 /* Saved state folder */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsGeneral.ui
r25680 r25686 241 241 </widget> 242 242 </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 &UTC time</string>266 </property>267 <property name="checked" >268 <bool>false</bool>269 </property>270 </widget>271 </item>272 243 </layout> 273 244 </widget> -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSystem.cpp
r25177 r25686 170 170 mCbEFI->setChecked (mMachine.GetFirmwareType() >= KFirmwareType_EFI && mMachine.GetFirmwareType() <= KFirmwareType_EFIDUAL); 171 171 172 /* RTC */ 173 bool rtcUseUTC = mMachine.GetRTCUseUTC (); 174 mCbTCUseUTC->setChecked (rtcUseUTC); 175 172 176 /* CPU count */ 173 177 bool fVTxAMDVSupported = vboxGlobal().virtualBox().GetHost() … … 233 237 /* EFI */ 234 238 mMachine.SetFirmwareType (mCbEFI->isChecked() ? KFirmwareType_EFI : KFirmwareType_BIOS); 239 240 /* RTC */ 241 mMachine.SetRTCUseUTC (mCbTCUseUTC->isChecked()); 235 242 236 243 /* RAM size */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsSystem.ui
r25196 r25686 343 343 </widget> 344 344 </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 &UTC time</string> 358 </property> 359 </widget> 360 </item> 361 <item row="7" column="0" colspan="3"> 346 362 <spacer name="mSpVer1"> 347 363 <property name="orientation">
Note:
See TracChangeset
for help on using the changeset viewer.