- Timestamp:
- Oct 13, 2018 2:55:59 AM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r74718 r74827 316 316 317 317 /* Move, resize and show: */ 318 m_pPaneTools->move( m_pPaneChooser->mapToGlobal(position));318 m_pPaneTools->move(position); 319 319 m_pPaneTools->show(); 320 320 // WORKAROUND: -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.cpp
r74483 r74827 101 101 } 102 102 103 void UIChooser::sltToolMenuRequested(UIToolsClass enmClass, const QPoint &position) 104 { 105 /* Translate scene coordinates to global one: */ 106 emit sigToolMenuRequested(enmClass, mapToGlobal(view()->mapFromScene(position))); 107 } 108 103 109 void UIChooser::prepare() 104 110 { … … 172 178 m_pChooserView, &UIChooserView::sltFocusChanged); 173 179 connect(m_pChooserModel, &UIChooserModel::sigToolMenuRequested, 174 this, &UIChooser::s igToolMenuRequested);180 this, &UIChooser::sltToolMenuRequested); 175 181 176 182 /* Setup chooser-view connections: */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.h
r74483 r74827 118 118 /** @} */ 119 119 120 private slots: 121 122 /** @name General stuff. 123 * @{ */ 124 /** Handles signal about tool popup-menu request for certain tool @a enmClass and in specified @a position. */ 125 void sltToolMenuRequested(UIToolsClass enmClass, const QPoint &position); 126 /** @} */ 127 120 128 private: 121 129
Note:
See TracChangeset
for help on using the changeset viewer.