Changeset 9970 in vbox
- Timestamp:
- Jun 26, 2008 4:14:10 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobalSettingsDlg.cpp
r9889 r9970 111 111 112 112 mLbWhatsThis->setFixedHeight (mLbWhatsThis->frameWidth() * 2 + 113 6 /* seems that RichText adds some margin */+113 mLbWhatsThis->margin() * 2 + 114 114 mLbWhatsThis->fontMetrics().lineSpacing() * 4); 115 mLbWhatsThis->setMinimumWidth (mLbWhatsThis->frameWidth() * 2 +116 6 /* seems that RichText adds some margin */ +117 mLbWhatsThis->fontMetrics().width ('m') * 40);118 115 119 116 /* Common connections */ … … 392 389 void VBoxGlobalSettingsDlg::setWarning (const QString &aWarning) 393 390 { 391 /* Not touching QILabel until dialog is polished otherwise 392 * it can change its size to undefined */ 393 if (!mPolished) 394 return; 395 394 396 mWarnString = aWarning; 395 397 if (!aWarning.isEmpty()) -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsDlg.cpp
r9951 r9970 106 106 107 107 mLbWhatsThis->setFixedHeight (mLbWhatsThis->frameWidth() * 2 + 108 6 /* seems that RichText adds some margin */+108 mLbWhatsThis->margin() * 2 + 109 109 mLbWhatsThis->fontMetrics().lineSpacing() * 4); 110 mLbWhatsThis->setMinimumWidth (mLbWhatsThis->frameWidth() * 2 +111 6 /* seems that RichText adds some margin */ +112 mLbWhatsThis->fontMetrics().width ('m') * 40);113 110 114 111 /* Common connections */ … … 535 532 void VBoxVMSettingsDlg::setWarning (const QString &aWarning) 536 533 { 534 /* Not touching QILabel until dialog is polished otherwise 535 * it can change its size to undefined */ 536 if (!mPolished) 537 return; 538 537 539 mWarnString = aWarning; 538 540 if (!aWarning.isEmpty()) -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxGlobalSettingsDlg.ui
r9783 r9970 219 219 </item> 220 220 <item row="2" column="1" > 221 <widget class="Q Label" name="mLbWhatsThis" >221 <widget class="QILabel" name="mLbWhatsThis" > 222 222 <property name="frameShape" > 223 223 <enum>QFrame::Box</enum> … … 225 225 <property name="frameShadow" > 226 226 <enum>QFrame::Sunken</enum> 227 </property>228 <property name="text" >229 <string/>230 227 </property> 231 228 <property name="alignment" > … … 256 253 <header>QIDialogButtonBox.h</header> 257 254 </customwidget> 255 <customwidget> 256 <class>QILabel</class> 257 <extends>QLabel</extends> 258 <header>QILabel.h</header> 259 </customwidget> 258 260 </customwidgets> 259 261 <resources> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsDlg.ui
r9688 r9970 78 78 </property> 79 79 <property name="icon" > 80 -<iconset resource="../VirtualBox.qrc" >:/machine_16px.png</iconset>80 <iconset resource="../VirtualBox.qrc" >:/machine_16px.png</iconset> 81 81 </property> 82 82 <property name="text" > … … 324 324 </item> 325 325 <item row="2" column="1" > 326 <widget class="Q Label" name="mLbWhatsThis" >326 <widget class="QILabel" name="mLbWhatsThis" > 327 327 <property name="frameShape" > 328 328 <enum>QFrame::Box</enum> … … 330 330 <property name="frameShadow" > 331 331 <enum>QFrame::Sunken</enum> 332 </property>333 <property name="text" >334 <string/>335 332 </property> 336 333 <property name="alignment" > … … 361 358 <header>QIDialogButtonBox.h</header> 362 359 </customwidget> 360 <customwidget> 361 <class>QILabel</class> 362 <extends>QLabel</extends> 363 <header>QILabel.h</header> 364 </customwidget> 363 365 </customwidgets> 364 366 <resources> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsSF.ui
r9260 r9970 61 61 </property> 62 62 <property name="whatsThis" > 63 <string> <qt>Lists all shared folders accessible to this machine. Use <tt>net use x: \\vboxsvr\share</tt> to access a shared folder named <i>share</i> from a DOS-like OS, or <tt>mount -t vboxsf share mount_point</tt> to access it from a Linux OS. This feature requires Guest Additions.</qt></string>63 <string>Lists all shared folders accessible to this machine. Use 'net use x: \\vboxsvr\share' to access a shared folder named <i>share</i> from a DOS-like OS, or 'mount -t vboxsf share mount_point' to access it from a Linux OS. This feature requires Guest Additions.</string> 64 64 </property> 65 65 <property name="uniformRowHeights" >
Note:
See TracChangeset
for help on using the changeset viewer.