Changeset 16955 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Feb 19, 2009 5:06:40 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43117
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/QILabel.h
r9968 r16955 70 70 void setTextInteractionFlags (Qt::TextInteractionFlags aFlags); 71 71 void setWordWrap (bool aOn); 72 void setMinimumWidth (int aMinWidth); 72 73 QString text() const; 73 74 Qt::TextFormat textFormat() const; -
trunk/src/VBox/Frontends/VirtualBox/include/QILabel_p.h
r11206 r16955 85 85 } 86 86 87 QSize minimumSizeHint() const 88 { 89 /* If there is an updated minimumSizeHint() present - using it. */ 90 return mOwnSizeHint.isValid() ? mOwnSizeHint : QLabel::minimumSizeHint(); 91 } 92 87 93 protected: 88 94 -
trunk/src/VBox/Frontends/VirtualBox/src/QILabel.cpp
r11206 r16955 186 186 { 187 187 mLabel->setWordWrap (aOn); 188 } 189 190 void QILabel::setMinimumWidth (int aMinWidth) 191 { 192 mLabel->setMinimumWidth (aMinWidth); 193 QWidget::setMinimumWidth (aMinWidth); 188 194 } 189 195
Note:
See TracChangeset
for help on using the changeset viewer.