Changeset 100304 in vbox
- Timestamp:
- Jun 27, 2023 7:44:47 PM (17 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 8 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/VirtualBox1.qrc
r100279 r100304 289 289 <file alias="file_manager_folder_16px.png">images/file_manager_folder_16px.png</file> 290 290 <file alias="file_manager_folder_symlink_16px.png">images/file_manager_folder_symlink_16px.png</file> 291 <file alias="file_manager_go_backward_16px.png">images/file_manager_go_backward_16px.png</file> 292 <file alias="file_manager_go_backward_24px.png">images/file_manager_go_backward_24px.png</file> 293 <file alias="file_manager_go_backward_disabled_16px.png">images/file_manager_go_backward_disabled_16px.png</file> 294 <file alias="file_manager_go_backward_disabled_24px.png">images/file_manager_go_backward_disabled_24px.png</file> 295 <file alias="file_manager_go_forward_16px.png">images/file_manager_go_forward_16px.png</file> 296 <file alias="file_manager_go_forward_24px.png">images/file_manager_go_forward_24px.png</file> 297 <file alias="file_manager_go_forward_disabled_16px.png">images/file_manager_go_forward_disabled_16px.png</file> 298 <file alias="file_manager_go_forward_disabled_24px.png">images/file_manager_go_forward_disabled_24px.png</file> 291 299 <file alias="file_manager_go_home_16px.png">images/file_manager_go_home_16px.png</file> 292 300 <file alias="file_manager_go_home_24px.png">images/file_manager_go_home_24px.png</file> … … 502 510 <file alias="log_viewer_filter_16px.png">images/log_viewer_filter_16px.png</file> 503 511 <file alias="log_viewer_filter_32px.png">images/log_viewer_filter_32px.png</file> 504 <file alias="log_viewer_filter_add_16px.png">images/log_viewer_filter_add_16px.png</file>505 <file alias="log_viewer_filter_disabled_16px.png">images/log_viewer_filter_disabled_16px.png</file>506 <file alias="log_viewer_filter_disabled_32px.png">images/log_viewer_filter_disabled_32px.png</file>507 <file alias="log_viewer_find_16px.png">images/log_viewer_find_16px.png</file>508 512 </qresource> 509 513 </RCC> -
trunk/src/VBox/Frontends/VirtualBox/VirtualBox1_x2.qrc
r100279 r100304 289 289 <file alias="file_manager_folder_16px_x2.png">images/x2/file_manager_folder_16px_x2.png</file> 290 290 <file alias="file_manager_folder_symlink_16px_x2.png">images/x2/file_manager_folder_symlink_16px_x2.png</file> 291 <file alias="file_manager_go_backward_16px_x2.png">images/x2/file_manager_go_backward_16px_x2.png</file> 292 <file alias="file_manager_go_backward_24px_x2.png">images/x2/file_manager_go_backward_24px_x2.png</file> 293 <file alias="file_manager_go_backward_disabled_16px_x2.png">images/x2/file_manager_go_backward_disabled_16px_x2.png</file> 294 <file alias="file_manager_go_backward_disabled_24px_x2.png">images/x2/file_manager_go_backward_disabled_24px_x2.png</file> 295 <file alias="file_manager_go_forward_16px_x2.png">images/x2/file_manager_go_forward_16px_x2.png</file> 296 <file alias="file_manager_go_forward_24px_x2.png">images/x2/file_manager_go_forward_24px_x2.png</file> 297 <file alias="file_manager_go_forward_disabled_16px_x2.png">images/x2/file_manager_go_forward_disabled_16px_x2.png</file> 298 <file alias="file_manager_go_forward_disabled_24px_x2.png">images/x2/file_manager_go_forward_disabled_24px_x2.png</file> 291 299 <file alias="file_manager_go_home_16px_x2.png">images/x2/file_manager_go_home_16px_x2.png</file> 292 300 <file alias="file_manager_go_home_24px_x2.png">images/x2/file_manager_go_home_24px_x2.png</file> … … 488 496 <file alias="list_movedown_disabled_16px_x2.png">images/x2/list_movedown_disabled_16px_x2.png</file> 489 497 <file alias="list_moveup_16px_x2.png">images/x2/list_moveup_16px_x2.png</file> 490 <file alias="list_moveup_disabled_16px_x2.png">images/x2/list_moveup_disabled_16px_x2.png</file>491 <file alias="log_viewer_bookmark_16px_x2.png">images/x2/log_viewer_bookmark_16px_x2.png</file>492 <file alias="log_viewer_bookmark_32px_x2.png">images/x2/log_viewer_bookmark_32px_x2.png</file>493 <file alias="log_viewer_bookmark_disabled_16px_x2.png">images/x2/log_viewer_bookmark_disabled_16px_x2.png</file>494 498 </qresource> 495 499 </RCC> -
trunk/src/VBox/Frontends/VirtualBox/VirtualBox1_x3.qrc
r100279 r100304 289 289 <file alias="file_manager_folder_16px_x3.png">images/x3/file_manager_folder_16px_x3.png</file> 290 290 <file alias="file_manager_folder_symlink_16px_x3.png">images/x3/file_manager_folder_symlink_16px_x3.png</file> 291 <file alias="file_manager_go_backward_16px_x3.png">images/x3/file_manager_go_backward_16px_x3.png</file> 292 <file alias="file_manager_go_backward_24px_x3.png">images/x3/file_manager_go_backward_24px_x3.png</file> 293 <file alias="file_manager_go_backward_disabled_16px_x3.png">images/x3/file_manager_go_backward_disabled_16px_x3.png</file> 294 <file alias="file_manager_go_backward_disabled_24px_x3.png">images/x3/file_manager_go_backward_disabled_24px_x3.png</file> 295 <file alias="file_manager_go_forward_16px_x3.png">images/x3/file_manager_go_forward_16px_x3.png</file> 296 <file alias="file_manager_go_forward_24px_x3.png">images/x3/file_manager_go_forward_24px_x3.png</file> 297 <file alias="file_manager_go_forward_disabled_16px_x3.png">images/x3/file_manager_go_forward_disabled_16px_x3.png</file> 298 <file alias="file_manager_go_forward_disabled_24px_x3.png">images/x3/file_manager_go_forward_disabled_24px_x3.png</file> 291 299 <file alias="file_manager_go_home_16px_x3.png">images/x3/file_manager_go_home_16px_x3.png</file> 292 300 <file alias="file_manager_go_home_24px_x3.png">images/x3/file_manager_go_home_24px_x3.png</file> … … 489 497 <file alias="list_moveup_16px_x3.png">images/x3/list_moveup_16px_x3.png</file> 490 498 <file alias="list_moveup_disabled_16px_x3.png">images/x3/list_moveup_disabled_16px_x3.png</file> 491 <file alias="log_viewer_bookmark_16px_x3.png">images/x3/log_viewer_bookmark_16px_x3.png</file>492 <file alias="log_viewer_bookmark_32px_x3.png">images/x3/log_viewer_bookmark_32px_x3.png</file>493 <file alias="log_viewer_bookmark_disabled_16px_x3.png">images/x3/log_viewer_bookmark_disabled_16px_x3.png</file>494 <file alias="log_viewer_bookmark_disabled_32px_x3.png">images/x3/log_viewer_bookmark_disabled_32px_x3.png</file>495 499 </qresource> 496 500 </RCC> -
trunk/src/VBox/Frontends/VirtualBox/VirtualBox1_x4.qrc
r100279 r100304 289 289 <file alias="file_manager_folder_16px_x4.png">images/x4/file_manager_folder_16px_x4.png</file> 290 290 <file alias="file_manager_folder_symlink_16px_x4.png">images/x4/file_manager_folder_symlink_16px_x4.png</file> 291 <file alias="file_manager_go_backward_16px_x4.png">images/x4/file_manager_go_backward_16px_x4.png</file> 292 <file alias="file_manager_go_backward_24px_x4.png">images/x4/file_manager_go_backward_24px_x4.png</file> 293 <file alias="file_manager_go_backward_disabled_16px_x4.png">images/x4/file_manager_go_backward_disabled_16px_x4.png</file> 294 <file alias="file_manager_go_backward_disabled_24px_x4.png">images/x4/file_manager_go_backward_disabled_24px_x4.png</file> 295 <file alias="file_manager_go_forward_16px_x4.png">images/x4/file_manager_go_forward_16px_x4.png</file> 296 <file alias="file_manager_go_forward_24px_x4.png">images/x4/file_manager_go_forward_24px_x4.png</file> 297 <file alias="file_manager_go_forward_disabled_16px_x4.png">images/x4/file_manager_go_forward_disabled_16px_x4.png</file> 298 <file alias="file_manager_go_forward_disabled_24px_x4.png">images/x4/file_manager_go_forward_disabled_24px_x4.png</file> 291 299 <file alias="file_manager_go_home_16px_x4.png">images/x4/file_manager_go_home_16px_x4.png</file> 292 300 <file alias="file_manager_go_home_24px_x4.png">images/x4/file_manager_go_home_24px_x4.png</file> … … 489 497 <file alias="list_moveup_16px_x4.png">images/x4/list_moveup_16px_x4.png</file> 490 498 <file alias="list_moveup_disabled_16px_x4.png">images/x4/list_moveup_disabled_16px_x4.png</file> 491 <file alias="log_viewer_bookmark_16px_x4.png">images/x4/log_viewer_bookmark_16px_x4.png</file>492 <file alias="log_viewer_bookmark_32px_x4.png">images/x4/log_viewer_bookmark_32px_x4.png</file>493 <file alias="log_viewer_bookmark_disabled_16px_x4.png">images/x4/log_viewer_bookmark_disabled_16px_x4.png</file>494 <file alias="log_viewer_bookmark_disabled_32px_x4.png">images/x4/log_viewer_bookmark_disabled_32px_x4.png</file>495 499 </qresource> 496 500 </RCC> -
trunk/src/VBox/Frontends/VirtualBox/VirtualBox2.qrc
r100279 r100304 1 1 <RCC> 2 2 <qresource suffix="/"> 3 <file alias="log_viewer_filter_add_16px.png">images/log_viewer_filter_add_16px.png</file> 4 <file alias="log_viewer_filter_disabled_16px.png">images/log_viewer_filter_disabled_16px.png</file> 5 <file alias="log_viewer_filter_disabled_32px.png">images/log_viewer_filter_disabled_32px.png</file> 6 <file alias="log_viewer_find_16px.png">images/log_viewer_find_16px.png</file> 3 7 <file alias="log_viewer_find_32px.png">images/log_viewer_find_32px.png</file> 4 8 <file alias="log_viewer_find_disabled_16px.png">images/log_viewer_find_disabled_16px.png</file> -
trunk/src/VBox/Frontends/VirtualBox/VirtualBox2_x2.qrc
r100279 r100304 1 1 <RCC> 2 2 <qresource suffix="/"> 3 <file alias="list_moveup_disabled_16px_x2.png">images/x2/list_moveup_disabled_16px_x2.png</file> 4 <file alias="log_viewer_bookmark_16px_x2.png">images/x2/log_viewer_bookmark_16px_x2.png</file> 5 <file alias="log_viewer_bookmark_32px_x2.png">images/x2/log_viewer_bookmark_32px_x2.png</file> 6 <file alias="log_viewer_bookmark_disabled_16px_x2.png">images/x2/log_viewer_bookmark_disabled_16px_x2.png</file> 3 7 <file alias="log_viewer_bookmark_disabled_32px_x2.png">images/x2/log_viewer_bookmark_disabled_32px_x2.png</file> 4 8 <file alias="log_viewer_bookmark_off_16px_x2.png">images/x2/log_viewer_bookmark_off_16px_x2.png</file> -
trunk/src/VBox/Frontends/VirtualBox/VirtualBox2_x3.qrc
r100279 r100304 1 1 <RCC> 2 2 <qresource suffix="/"> 3 <file alias="log_viewer_bookmark_16px_x3.png">images/x3/log_viewer_bookmark_16px_x3.png</file> 4 <file alias="log_viewer_bookmark_32px_x3.png">images/x3/log_viewer_bookmark_32px_x3.png</file> 5 <file alias="log_viewer_bookmark_disabled_16px_x3.png">images/x3/log_viewer_bookmark_disabled_16px_x3.png</file> 6 <file alias="log_viewer_bookmark_disabled_32px_x3.png">images/x3/log_viewer_bookmark_disabled_32px_x3.png</file> 3 7 <file alias="log_viewer_bookmark_off_16px_x3.png">images/x3/log_viewer_bookmark_off_16px_x3.png</file> 4 8 <file alias="log_viewer_bookmark_on_16px_x3.png">images/x3/log_viewer_bookmark_on_16px_x3.png</file> -
trunk/src/VBox/Frontends/VirtualBox/VirtualBox2_x4.qrc
r100279 r100304 1 1 <RCC> 2 2 <qresource suffix="/"> 3 <file alias="log_viewer_bookmark_16px_x4.png">images/x4/log_viewer_bookmark_16px_x4.png</file> 4 <file alias="log_viewer_bookmark_32px_x4.png">images/x4/log_viewer_bookmark_32px_x4.png</file> 5 <file alias="log_viewer_bookmark_disabled_16px_x4.png">images/x4/log_viewer_bookmark_disabled_16px_x4.png</file> 6 <file alias="log_viewer_bookmark_disabled_32px_x4.png">images/x4/log_viewer_bookmark_disabled_32px_x4.png</file> 3 7 <file alias="log_viewer_bookmark_off_16px_x4.png">images/x4/log_viewer_bookmark_off_16px_x4.png</file> 4 8 <file alias="log_viewer_bookmark_on_16px_x4.png">images/x4/log_viewer_bookmark_on_16px_x4.png</file> -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r100300 r100304 1893 1893 UIActionMenuFileManagerGoForward(UIActionPool *pParent) 1894 1894 : UIActionSimple(pParent, 1895 ":/file_manager_go_ home_24px.png", ":/file_manager_go_home_16px.png",1896 ":/file_manager_go_ home_disabled_24px.png", ":/file_manager_go_home_disabled_16px.png")1895 ":/file_manager_go_forward_24px.png", ":/file_manager_go_forward_16px.png", 1896 ":/file_manager_go_forward_disabled_24px.png", ":/file_manager_go_forward_disabled_16px.png") 1897 1897 {} 1898 1898 … … 1932 1932 UIActionMenuFileManagerGoBackward(UIActionPool *pParent) 1933 1933 : UIActionSimple(pParent, 1934 ":/file_manager_go_ home_24px.png", ":/file_manager_go_home_16px.png",1935 ":/file_manager_go_ home_disabled_24px.png", ":/file_manager_go_home_disabled_16px.png")1934 ":/file_manager_go_backward_24px.png", ":/file_manager_go_backward_16px.png", 1935 ":/file_manager_go_backward_disabled_24px.png", ":/file_manager_go_backward_disabled_16px.png") 1936 1936 {} 1937 1937 -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.cpp
r100302 r100304 1148 1148 manageConnection(m_fIsCurrent, m_pActionPool->action(UIActionIndex_M_FileManager_S_Guest_GoUp), &UIFileManagerTable::sltGoUp); 1149 1149 manageConnection(m_fIsCurrent, m_pActionPool->action(UIActionIndex_M_FileManager_S_Guest_GoHome), &UIFileManagerTable::sltGoHome); 1150 manageConnection(m_fIsCurrent, m_pActionPool->action(UIActionIndex_M_FileManager_S_Guest_GoBackward), &UIFileManagerTable::sltGoBackward); 1151 manageConnection(m_fIsCurrent, m_pActionPool->action(UIActionIndex_M_FileManager_S_Guest_GoForward), &UIFileManagerTable::sltGoForward); 1150 1152 manageConnection(m_fIsCurrent, m_pActionPool->action(UIActionIndex_M_FileManager_S_Guest_Refresh), &UIFileManagerTable::sltRefresh); 1151 1153 manageConnection(m_fIsCurrent, m_pActionPool->action(UIActionIndex_M_FileManager_S_Guest_Delete), &UIFileManagerTable::sltDelete); -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerHostTable.cpp
r100302 r100304 544 544 connect(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_GoHome), &QAction::triggered, 545 545 this, &UIFileManagerTable::sltGoHome); 546 connect(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_GoForward), &QAction::triggered, 547 this, &UIFileManagerTable::sltGoForward); 548 connect(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_GoBackward), &QAction::triggered, 549 this, &UIFileManagerTable::sltGoBackward); 546 550 connect(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Refresh), &QAction::triggered, 547 551 this, &UIFileManagerTable::sltRefresh); -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp
r100303 r100304 643 643 void UIFileManagerTable::sltGoForward() 644 644 { 645 if (m_pNavigationWidget) 646 m_pNavigationWidget->goForwardInHistory(); 645 647 } 646 648 647 649 void UIFileManagerTable::sltGoBackward() 648 650 { 651 if (m_pNavigationWidget) 652 m_pNavigationWidget->goBackwardInHistory(); 649 653 } 650 654 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFileTableNavigationWidget.cpp
r100302 r100304 278 278 return 0; 279 279 return m_pHistoryComboBox->currentIndex(); 280 } 281 282 void UIFileTableNavigationWidget::goForwardInHistory() 283 { 284 if (!m_pHistoryComboBox || m_pHistoryComboBox->currentIndex() >= m_pHistoryComboBox->count() - 1) 285 return; 286 m_pHistoryComboBox->setCurrentIndex(m_pHistoryComboBox->currentIndex() + 1); 287 } 288 289 void UIFileTableNavigationWidget::goBackwardInHistory() 290 { 291 if (!m_pHistoryComboBox || m_pHistoryComboBox->currentIndex() <= 0) 292 return; 293 m_pHistoryComboBox->setCurrentIndex(m_pHistoryComboBox->currentIndex() - 1); 280 294 } 281 295 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFileTableNavigationWidget.h
r100300 r100304 62 62 int historyItemCount() const; 63 63 int currentHistoryIndex() const; 64 void goForwardInHistory(); 65 void goBackwardInHistory(); 64 66 65 67 protected:
Note:
See TracChangeset
for help on using the changeset viewer.