儲存庫 vbox 的更動 60524
- 時間撮記:
- 2016-4-15 下午05:51:31 (9 年 以前)
- 位置:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
- 檔案:
-
- 修改 4 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItem.cpp
r60084 r60524 343 343 } 344 344 345 void UIGChooserItem::handleRootStatusChange() 346 { 347 /* Reset minimum size hints for non-root items: */ 348 if (!isRoot()) 349 { 350 m_iPreviousMinimumWidthHint = 0; 351 m_iPreviousMinimumHeightHint = 0; 352 } 353 } 354 345 355 /* static */ 346 356 void UIGChooserItem::configurePainterShape(QPainter *pPainter, -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItem.h
r55401 r60524 158 158 159 159 /* Helper: Update stuff: */ 160 virtual void handleRootStatusChange() {}160 virtual void handleRootStatusChange(); 161 161 void setPreviousGeometry(const QRectF &previousGeometry) { m_previousGeometry = previousGeometry; } 162 162 const QRectF& previousGeometry() const { return m_previousGeometry; } -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemGroup.cpp
r52733 r60524 120 120 updateVisibleName(); 121 121 updateToolTip(); 122 123 /* Prepare root-item connections: */ 124 connect(this, SIGNAL(sigMinimumWidthHintChanged(int)), 125 model(), SIGNAL(sigRootItemMinimumWidthHintChanged(int))); 126 connect(this, SIGNAL(sigMinimumHeightHintChanged(int)), 127 model(), SIGNAL(sigRootItemMinimumHeightHintChanged(int))); 122 128 } 123 129 … … 457 463 void UIGChooserItemGroup::handleRootStatusChange() 458 464 { 465 /* Call to base-class: */ 466 UIGChooserItem::handleRootStatusChange(); 467 459 468 /* Update linked values: */ 460 469 updateVisibleName(); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r58867 r60524 463 463 464 464 /* Indent root: */ 465 root()->setRoot(false); 465 466 m_rootStack << pNewRootItem; 466 467 root()->setRoot(true); … … 499 500 m_pAfterSlidingFocus = root(); 500 501 m_rootStack.removeLast(); 502 root()->setRoot(true); 501 503 502 504 /* Slide root: */ … … 745 747 /* We are no more sliding: */ 746 748 m_fSliding = false; 749 750 /* Update root geometry: */ 751 root()->updateGeometry(); 747 752 748 753 /* Update model: */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器