- Timestamp:
- Apr 20, 2007 3:34:36 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 20640
- Location:
- trunk/src/VBox/Frontends/VirtualBox/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui.h
r2240 r2280 291 291 whatsThisLabel = new QIRichLabel (this, "whatsThisLabel"); 292 292 VBoxGlobalSettingsDlgLayout->addWidget (whatsThisLabel, 2, 1); 293 294 #ifndef DEBUG 295 /* Enforce rich text format to avoid jumping margins (margins of plain 296 * text labels seem to be smaller). We don't do it in the DEBUG builds to 297 * be able to immediately catch badly formatted text (i.e. text that 298 * contains HTML tags but doesn't start with <qt> so that Qt isn't able to 299 * recognize it as rich text and draws all tags as is instead of doing 300 * formatting). We want to catch this text because this is how it will look 301 * in the whatsthis balloon where we cannot enforce rich text. */ 302 whatsThisLabel->setTextFormat (Qt::RichText); 303 #endif 293 304 294 305 whatsThisLabel->setFocusPolicy (QWidget::NoFocus); -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
r2262 r2280 406 406 whatsThisLabel = new QIRichLabel (this, "whatsThisLabel"); 407 407 VBoxVMSettingsDlgLayout->addWidget (whatsThisLabel, 2, 1); 408 409 #ifndef DEBUG 410 /* Enforce rich text format to avoid jumping margins (margins of plain 411 * text labels seem to be smaller). We don't do it in the DEBUG builds to 412 * be able to immediately catch badly formatted text (i.e. text that 413 * contains HTML tags but doesn't start with <qt> so that Qt isn't able to 414 * recognize it as rich text and draws all tags as is instead of doing 415 * formatting). We want to catch this text because this is how it will look 416 * in the whatsthis balloon where we cannot enforce rich text. */ 417 whatsThisLabel->setTextFormat (Qt::RichText); 418 #endif 408 419 409 420 whatsThisLabel->setFocusPolicy (QWidget::NoFocus);
Note:
See TracChangeset
for help on using the changeset viewer.