Changeset 46648 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 19, 2013 11:35:23 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStateIndicator.cpp
r42261 r46648 38 38 { 39 39 setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed)); 40 }41 42 /**43 * Constructs a new QIStateIndicator instance. This instance is useless44 * until icons are specified for necessary states.45 *46 * @param aState47 * the initial indicator state48 */49 QIStateIndicator::QIStateIndicator (int aState)50 // : QFrame (aParent, aName, aFlags | Qt::WStaticContents | Qt::WMouseNoMask)51 {52 mState = aState;53 mSize = QSize (0, 0);54 55 setSizePolicy (QSizePolicy (QSizePolicy::Fixed, QSizePolicy::Fixed));56 57 /* we will precompose the pixmap background using the widget background in58 * drawContents(), so try to set the correct background origin for the59 * case when a pixmap is used as a widget background. */60 // if (aParent)61 // setBackgroundOrigin (aParent->backgroundOrigin());62 40 } 63 41 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStateIndicator.h
r44528 r46648 31 31 32 32 QIStateIndicator (QWidget *pParent = 0); 33 QIStateIndicator (int aState);34 33 ~QIStateIndicator(); 35 34
Note:
See TracChangeset
for help on using the changeset viewer.