Changeset 2175 in vbox for trunk/src/VBox/Frontends/VirtualBox/ui
- Timestamp:
- Apr 18, 2007 1:34:32 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 20506
- Location:
- trunk/src/VBox/Frontends/VirtualBox/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui
r2170 r2175 2805 2805 <variable access="private">VBoxMediaComboBox *cbISOFloppy;</variable> 2806 2806 <variable access="private">VBoxUSBMenu *usbDevicesMenu;</variable> 2807 <variable access="private">Q IRichLabel *whatsThisLabel;</variable>2807 <variable access="private">QLabel *whatsThisLabel;</variable> 2808 2808 <variable access="private">BootItemsList *tblBootOrder;</variable> 2809 2809 </variables> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
r2170 r2175 404 404 whatsThisCandidate = NULL; 405 405 406 whatsThisLabel = new QIRichLabel (this, "whatsThisLabel"); 406 whatsThisLabel = new QLabel (this, "whatsThisLabel"); 407 whatsThisLabel->setTextFormat (Qt::RichText); 407 408 VBoxVMSettingsDlgLayout->addWidget (whatsThisLabel, 2, 1); 408 409 409 410 whatsThisLabel->setFocusPolicy (QWidget::NoFocus); 410 whatsThisLabel->setSizePolicy (QSizePolicy::Expanding, QSizePolicy:: Fixed);411 whatsThisLabel->setSizePolicy (QSizePolicy::Expanding, QSizePolicy::Expanding); 411 412 whatsThisLabel->setBackgroundMode (QLabel::PaletteMidlight); 412 413 whatsThisLabel->setFrameShape (QLabel::Box); … … 418 419 QLabel::AlignTop)); 419 420 420 whatsThisLabel->set FixedHeight (whatsThisLabel->frameWidth() * 2 +421 6 /* seems that RichText adds some margin */ +422 whatsThisLabel->fontMetrics().lineSpacing() * 3);421 whatsThisLabel->setMinimumHeight (whatsThisLabel->frameWidth() * 2 + 422 6 /* seems that RichText adds some margin */ + 423 whatsThisLabel->fontMetrics().lineSpacing() * 3); 423 424 whatsThisLabel->setMinimumWidth (whatsThisLabel->frameWidth() * 2 + 424 425 6 /* seems that RichText adds some margin */ + … … 797 798 798 799 VBoxGlobal::centerWidget (this, parentWidget()); 800 801 new QIConstrainKeeper (whatsThisLabel); 799 802 } 800 803
Note:
See TracChangeset
for help on using the changeset viewer.