Changeset 100921 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
- Timestamp:
- Aug 21, 2023 12:59:21 PM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 158858
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
r100919 r100921 60 60 #include "UIVMLogViewerWidget.h" 61 61 #include "UIVMLogViewerBookmarksPanel.h" 62 #include "UIVMLogViewerFilterPanel.h"63 62 #include "UIVMLogViewerOptionsPanel.h" 64 63 … … 213 212 , m_fIsPolished(false) 214 213 , m_pTabWidget(0) 215 , m_pFilterPanel(0)216 214 , m_pBookmarksPanel(0) 217 215 , m_pOptionsPanel(0) … … 429 427 430 428 /* Re-Apply the filter settings: */ 431 if (m_p FilterPanel)432 m_p FilterPanel->applyFilter();429 if (m_pPanel) 430 m_pPanel->applyFilter(); 433 431 } 434 432 … … 445 443 446 444 /* re-Apply the filter settings: */ 447 if (m_p FilterPanel)448 m_p FilterPanel->applyFilter();445 if (m_pPanel) 446 m_pPanel->applyFilter(); 449 447 450 448 m_pTabWidget->blockSignals(false); … … 553 551 /* Dont refresh the search here as it is refreshed by the filtering mechanism 554 552 which is updated as tab current index changes (see sltFilterApplied): */ 555 if (m_p FilterPanel)556 m_p FilterPanel->applyFilter();553 if (m_pPanel) 554 m_pPanel->applyFilter(); 557 555 558 556 /* We keep a separate QVector<LogBookmark> for each log page: */ … … 758 756 759 757 /* Create VM Log-Viewer filter-panel: */ 760 m_pFilterPanel = new UIVMLogViewerFilterPanel(0, this); 761 if (m_pFilterPanel) 762 { 763 /* Configure panel: */ 764 //installEventFilter(m_pFilterPanel); 765 m_pFilterPanel->hide(); 766 connect(m_pFilterPanel, &UIVMLogViewerFilterPanel::sigFilterApplied, 767 this, &UIVMLogViewerWidget::sltFilterApplied); 768 769 /* Add into layout: */ 770 m_pMainLayout->addWidget(m_pFilterPanel); 771 } 758 // m_pFilterPanel = new UIVMLogViewerFilterPanel(0, this); 759 // if (m_pFilterPanel) 760 // { 761 // /* Configure panel: */ 762 // //installEventFilter(m_pFilterPanel); 763 // m_pFilterPanel->hide(); 764 765 // /* Add into layout: */ 766 // m_pMainLayout->addWidget(m_pFilterPanel); 767 // } 772 768 773 769 /* Create VM Log-Viewer bookmarks-panel: */ … … 813 809 connect(m_pPanel, &UIVMLogViewerPanelNew::sigSearchUpdated, 814 810 this, &UIVMLogViewerWidget::sltHandleSearchUpdated); 811 connect(m_pPanel, &UIVMLogViewerPanelNew::sigFilterApplied, 812 this, &UIVMLogViewerWidget::sltFilterApplied); 815 813 816 814 m_pMainLayout->addWidget(m_pPanel);
Note:
See TracChangeset
for help on using the changeset viewer.