- Timestamp:
- May 21, 2020 6:04:11 PM (5 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
r84437 r84438 61 61 } 62 62 63 UIVirtualMachineItem *UIVirtualBoxManagerWidget::currentItem() const 64 { 65 return m_pPaneChooser->currentItem(); 66 } 67 68 QList<UIVirtualMachineItem*> UIVirtualBoxManagerWidget::currentItems() const 69 { 70 return m_pPaneChooser->currentItems(); 71 } 72 63 73 bool UIVirtualBoxManagerWidget::isGroupItemSelected() const 64 74 { … … 76 86 } 77 87 78 UIVirtualMachineItem *UIVirtualBoxManagerWidget::currentItem() const 79 { 80 return m_pPaneChooser->currentItem(); 81 } 82 83 QList<UIVirtualMachineItem*> UIVirtualBoxManagerWidget::currentItems() const 84 { 85 return m_pPaneChooser->currentItems(); 88 bool UIVirtualBoxManagerWidget::isSingleGroupSelected() const 89 { 90 return m_pPaneChooser->isSingleGroupSelected(); 91 } 92 93 bool UIVirtualBoxManagerWidget::isSingleLocalGroupSelected() const 94 { 95 return m_pPaneChooser->isSingleLocalGroupSelected(); 96 } 97 98 bool UIVirtualBoxManagerWidget::isSingleCloudProfileGroupSelected() const 99 { 100 return m_pPaneChooser->isSingleCloudProfileGroupSelected(); 101 } 102 103 bool UIVirtualBoxManagerWidget::isAllItemsOfOneGroupSelected() const 104 { 105 return m_pPaneChooser->isAllItemsOfOneGroupSelected(); 86 106 } 87 107 … … 89 109 { 90 110 return m_pPaneChooser->isGroupSavingInProgress(); 91 }92 93 bool UIVirtualBoxManagerWidget::isAllItemsOfOneGroupSelected() const94 {95 return m_pPaneChooser->isAllItemsOfOneGroupSelected();96 }97 98 bool UIVirtualBoxManagerWidget::isSingleGroupSelected() const99 {100 return m_pPaneChooser->isSingleGroupSelected();101 }102 103 bool UIVirtualBoxManagerWidget::isSingleLocalGroupSelected() const104 {105 return m_pPaneChooser->isSingleLocalGroupSelected();106 }107 108 bool UIVirtualBoxManagerWidget::isSingleCloudProfileGroupSelected() const109 {110 return m_pPaneChooser->isSingleCloudProfileGroupSelected();111 111 } 112 112 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.h
r84437 r84438 58 58 signals: 59 59 60 /** Notifies about Chooser-pane index change. */ 61 void sigChooserPaneIndexChange(); 62 /** Notifies about Chooser-pane group saving change. */ 63 void sigGroupSavingStateChanged(); 64 65 /** Notifies aboud Details-pane link clicked. */ 66 void sigMachineSettingsLinkClicked(const QString &strCategory, const QString &strControl, const QUuid &uId); 67 68 /** Notifies about Tool type change. */ 69 void sigToolTypeChange(); 70 71 /** Notifies listeners about Cloud Profile Manager change. */ 72 void sigCloudProfileManagerChange(); 73 74 /** Notifies listeners about current Snapshots pane item change. */ 75 void sigCurrentSnapshotItemChange(); 76 77 /** Notifies about state change for cloud machine with certain @a uId. */ 78 void sigCloudMachineStateChange(const QUuid &uId); 79 80 /** @name Action stuff. 81 * @{ */ 60 /** @name Chooser pane stuff. 61 * @{ */ 62 /** Notifies about Chooser-pane index change. */ 63 void sigChooserPaneIndexChange(); 64 /** Notifies about Chooser-pane group saving change. */ 65 void sigGroupSavingStateChanged(); 66 67 /** Notifies about state change for cloud machine with certain @a uId. */ 68 void sigCloudMachineStateChange(const QUuid &uId); 69 82 70 /** Notify listeners about start or show request. */ 83 71 void sigStartOrShowRequest(); 72 /** @} */ 73 74 /** @name Tools pane stuff. 75 * @{ */ 76 /** Notifies about Tool type change. */ 77 void sigToolTypeChange(); 78 /** @} */ 79 80 /** @name Tools / Cloud Profile Manager stuff. 81 * @{ */ 82 /** Notifies listeners about Cloud Profile Manager change. */ 83 void sigCloudProfileManagerChange(); 84 /** @} */ 85 86 /** @name Tools / Details pane stuff. 87 * @{ */ 88 /** Notifies aboud Details-pane link clicked. */ 89 void sigMachineSettingsLinkClicked(const QString &strCategory, const QString &strControl, const QUuid &uId); 90 /** @} */ 91 92 /** @name Tools / Snapshots pane stuff. 93 * @{ */ 94 /** Notifies listeners about current Snapshots pane item change. */ 95 void sigCurrentSnapshotItemChange(); 84 96 /** @} */ 85 97 … … 95 107 /** Returns the action-pool instance. */ 96 108 UIActionPool *actionPool() const { return m_pActionPool; } 97 98 /** Returns whether group current-item is selected. */ 99 bool isGroupItemSelected() const; 100 /** Returns whether global current-item is selected. */ 101 bool isGlobalItemSelected() const; 102 /** Returns whether machine current-item is selected. */ 103 bool isMachineItemSelected() const; 109 /** @} */ 110 111 /** @name Chooser pane stuff. 112 * @{ */ 104 113 /** Returns current-item. */ 105 114 UIVirtualMachineItem *currentItem() const; … … 107 116 QList<UIVirtualMachineItem*> currentItems() const; 108 117 109 /** Returns whether group saving is in progress. */ 110 bool isGroupSavingInProgress() const; 111 /** Returns whether all items of one group is selected. */ 112 bool isAllItemsOfOneGroupSelected() const; 118 /** Returns whether group item is selected. */ 119 bool isGroupItemSelected() const; 120 /** Returns whether global item is selected. */ 121 bool isGlobalItemSelected() const; 122 /** Returns whether machine item is selected. */ 123 bool isMachineItemSelected() const; 124 113 125 /** Returns whether single group is selected. */ 114 126 bool isSingleGroupSelected() const; … … 117 129 /** Returns whether single cloud profile group is selected. */ 118 130 bool isSingleCloudProfileGroupSelected() const; 119 131 /** Returns whether all items of one group are selected. */ 132 bool isAllItemsOfOneGroupSelected() const; 133 134 /** Returns whether group saving is in progress. */ 135 bool isGroupSavingInProgress() const; 136 /** @} */ 137 138 /** @name Tools pane stuff. 139 * @{ */ 120 140 /** Defines tools @a enmType. */ 121 141 void setToolsType(UIToolType enmType); … … 141 161 /** @} */ 142 162 143 /** @name Snapshot pane stuff.163 /** @name Tools / Snapshot pane stuff. 144 164 * @{ */ 145 165 /** Returns whether current-state item of Snapshot pane is selected. */ … … 149 169 public slots: 150 170 151 /** @name C ommonstuff.171 /** @name Chooser pane stuff. 152 172 * @{ */ 153 173 /** Handles context-menu request for passed @a position. */ … … 165 185 private slots: 166 186 167 /** @name C ommonstuff.187 /** @name Chooser pane stuff. 168 188 * @{ */ 169 189 /** Handles signal about Chooser-pane index change. */ … … 181 201 /** @} */ 182 202 183 /** @name Tools stuff.203 /** @name Tools pane stuff. 184 204 * @{ */ 185 205 /** Handles tool menu request. */ … … 216 236 /** @} */ 217 237 218 /** @name Common stuff.238 /** @name Tools / Common stuff. 219 239 * @{ */ 220 240 /** Recaches current item information. -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooser.h
r84437 r84438 117 117 /** Returns whether single cloud profile group is selected. */ 118 118 bool isSingleCloudProfileGroupSelected() const; 119 /** Returns whether all machine items of one group isselected. */119 /** Returns whether all items of one group are selected. */ 120 120 bool isAllItemsOfOneGroupSelected() const; 121 121 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.