Changeset 42547 in vbox
- Timestamp:
- Aug 2, 2012 2:49:58 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r42544 r42547 1426 1426 /* Graphics VM chooser connections: */ 1427 1427 connect(m_pChooser, SIGNAL(sigSelectionChanged()), this, SLOT(sltCurrentVMItemChanged()), Qt::QueuedConnection); 1428 connect(m_pChooser, SIGNAL(sigSlidingStarted()), m_pDetails, SIGNAL(sigSlidingStarted())); 1428 1429 1429 1430 /* Tool-bar connections: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooser.cpp
r42529 r42547 112 112 m_pChooserView, SLOT(sltHandleRootItemResized(const QSizeF&, int))); 113 113 connect(m_pChooserModel, SIGNAL(sigSelectionChanged()), this, SIGNAL(sigSelectionChanged())); 114 connect(m_pChooserModel, SIGNAL(sigSlidingStarted()), this, SIGNAL(sigSlidingStarted())); 114 115 115 116 /* Chooser-view connections: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooser.h
r42529 r42547 40 40 signals: 41 41 42 /* Notifier s: Selection change: */42 /* Notifier: Selection change: */ 43 43 void sigSelectionChanged(); 44 45 /* Notifier: Sliding start: */ 46 void sigSlidingStarted(); 44 47 45 48 public: -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r42543 r42547 118 118 /* We are sliding: */ 119 119 m_fSliding = true; 120 emit sigSlidingStarted(); 120 121 121 122 /* Hiding root: */ … … 149 150 /* We are sliding: */ 150 151 m_fSliding = true; 152 emit sigSlidingStarted(); 151 153 152 154 /* Hiding root: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h
r42543 r42547 73 73 void sigShowStatusMessage(const QString &strStatusMessage); 74 74 75 /* Notifier: Sliding start: */ 76 void sigSlidingStarted(); 77 75 78 public: 76 79 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetails.cpp
r42529 r42547 67 67 connect(m_pDetailsModel, SIGNAL(sigLinkClicked(const QString&, const QString&, const QString&)), 68 68 this, SIGNAL(sigLinkClicked(const QString&, const QString&, const QString&))); 69 connect(this, SIGNAL(sigSlidingStarted()), 70 m_pDetailsModel, SLOT(sltHandleSlidingStarted())); 69 71 70 72 /* Selector-view connections: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetails.h
r42529 r42547 39 39 void sigLinkClicked(const QString &strCategory, const QString &strControl, const QString &strId); 40 40 41 /* Notifier: Sliding started: */ 42 void sigSlidingStarted(); 43 41 44 public: 42 45 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsModel.cpp
r42529 r42547 158 158 } 159 159 160 void UIGDetailsModel::sltHandleSlidingStarted() 161 { 162 m_pRoot->setItems(QList<UIVMItem*>()); 163 } 164 160 165 QVariant UIGDetailsModel::data(int iKey) const 161 166 { -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsModel.h
r42529 r42547 82 82 void sltElementTypeToggled(); 83 83 84 /* Handler: Sliding started in chooser: */ 85 void sltHandleSlidingStarted(); 86 84 87 private: 85 88
Note:
See TracChangeset
for help on using the changeset viewer.