Changeset 14463 in vbox
- Timestamp:
- Nov 21, 2008 2:41:40 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGLSettingsGeneral.cpp
r13580 r14463 41 41 42 42 void VBoxGLSettingsGeneral::getFrom (const CSystemProperties &aProps, 43 const VBoxGlobalSettings &)43 const VBoxGlobalSettings &aGs) 44 44 { 45 45 mPsHardDisk->setPath (aProps.GetDefaultHardDiskFolder()); 46 46 mPsMach->setPath (aProps.GetDefaultMachineFolder()); 47 47 mPsVRDP->setPath (aProps.GetRemoteDisplayAuthLibrary()); 48 mCbCheckTrayIcon->setChecked (aGs.trayIconEnabled()); 48 49 } 49 50 50 51 void VBoxGLSettingsGeneral::putBackTo (CSystemProperties &aProps, 51 VBoxGlobalSettings & )52 VBoxGlobalSettings &aGs) 52 53 { 53 54 if (mPsHardDisk->isModified()) … … 57 58 if (aProps.isOk() && mPsVRDP->isModified()) 58 59 aProps.SetRemoteDisplayAuthLibrary (mPsVRDP->path()); 60 aGs.setTrayIconEnabled (mCbCheckTrayIcon->isChecked()); 59 61 } 60 62 … … 64 66 setTabOrder (mPsHardDisk, mPsMach); 65 67 setTabOrder (mPsMach, mPsVRDP); 68 setTabOrder (mPsVRDP, mCbCheckTrayIcon); 66 69 } 67 70 … … 82 85 "provides authentication for Remote Display " 83 86 "(VRDP) clients.")); 87 mCbCheckTrayIcon->setWhatsThis (tr ("When checked, the application will provide " 88 "an icon with a context menu in the system tray.")); 84 89 } 85 90 -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxGLSettingsGeneral.ui
r13580 r14463 117 117 </item> 118 118 <item row="4" column="0" colspan="2" > 119 <widget class="Line" name="mLnSeparator" > 120 <property name="orientation" > 121 <enum>Qt::Horizontal</enum> 122 </property> 123 </widget> 124 </item> 125 <item row="5" column="1" colspan="4" > 126 <widget class="QCheckBox" name="mCbCheckTrayIcon" > 127 <property name="whatsThis" > 128 <string>When checked, the application will provide an icon with a context menu in the system tray.</string> 129 </property> 130 <property name="text" > 131 <string>&Show system tray icon</string> 132 </property> 133 <property name="checked" > 134 <bool>true</bool> 135 </property> 136 </widget> 137 </item> 138 <item row="6" column="0" colspan="2" > 119 139 <spacer> 120 140 <property name="orientation" >
Note:
See TracChangeset
for help on using the changeset viewer.