VirtualBox

Ignore:
Timestamp:
Aug 21, 2023 5:17:31 AM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158852
Message:

FE/Qt: bugref:10496, bugref:9072. Moving log viewer's search panel. First part.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerPanel.h

    r98844 r100915  
    3939class QTextDocument;
    4040class UIVMLogViewerWidget;
     41class UIVMLogViewerSearchPanel;
    4142
     43class UIVMLogViewerPanelNew : public QIWithRetranslateUI<UIDialogPanelBase>
     44{
     45    Q_OBJECT;
     46
     47public:
     48
     49    UIVMLogViewerPanelNew(QWidget *pParent, UIVMLogViewerWidget *pViewer);
     50
     51private:
     52
     53    void retranslateUi() override;
     54    void prepare();
     55    void prepareSearchTab();
     56
     57    UIVMLogViewerSearchPanel *m_pSearchWidget;
     58    UIVMLogViewerWidget *m_pViewer;
     59
     60};
    4261
    4362/** UIDialonPanel extension acting as the base class for UIVMLogViewerXXXPanel widgets. */
    44 class UIVMLogViewerPanel : public UIDialogPanel
     63class UIVMLogViewerPanel : public QIWithRetranslateUI<QWidget>
    4564{
    4665    Q_OBJECT;
     
    5372
    5473    virtual void retranslateUi() RT_OVERRIDE;
     74
     75    virtual void prepareWidgets() = 0;
     76    virtual void prepareConnections()  = 0;
    5577
    5678    /* Access functions for children classes. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette