Changeset 42906 in vbox for trunk/src/VBox
- Timestamp:
- Aug 21, 2012 1:32:51 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.cpp
r42873 r42906 92 92 } 93 93 94 void UIGDetailsElement::close( )95 { 96 m_pButton->setToggled(false );97 } 98 99 void UIGDetailsElement::open( )100 { 101 m_pButton->setToggled(true );94 void UIGDetailsElement::close(bool fAnimated /* = true */) 95 { 96 m_pButton->setToggled(false, fAnimated); 97 } 98 99 void UIGDetailsElement::open(bool fAnimated /* = true */) 100 { 101 m_pButton->setToggled(true, fAnimated); 102 102 } 103 103 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.h
r42872 r42906 80 80 bool closed() const; 81 81 bool opened() const; 82 void close( );83 void open( );82 void close(bool fAnimated = true); 83 void open(bool fAnimated = true); 84 84 85 85 /* API: Layout stuff: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsModel.cpp
r42856 r42906 189 189 else 190 190 { 191 detailsSettings.append(strElementType Closed);191 detailsSettings.append(strElementTypeOpened); 192 192 } 193 193 vboxGlobal().virtualBox().SetExtraDataStringList(GUI_DetailsPageBoxes, detailsSettings); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsSet.cpp
r42863 r42906 509 509 /* Check if element is present already: */ 510 510 UIGDetailsElement *pElement = element(elementType); 511 if (pElement && fOpen) 512 pElement->open(false); 511 513 /* Create element if necessary: */ 512 514 bool fJustCreated = false;
Note:
See TracChangeset
for help on using the changeset viewer.