LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
ui::qt::MainWindow Class Reference

#include <MainWindow.hpp>

Inheritance diagram for ui::qt::MainWindow:
Inheritance graph
Collaboration diagram for ui::qt::MainWindow:
Collaboration graph

Classes

struct  FileTypeChoice
 One entry of the "Select File Type" prompt shown for unknown extensions. More...
 

Public Member Functions

 MainWindow (mvc::IController &controller, db::EventsContainer &events, StartupSplash *splash=nullptr, QWidget *parent=nullptr)
 
 ~MainWindow () override
 
std::string ReadSearchQuery () const override
 
std::string CurrentStatusText () const override
 
void UpdateStatusText (const std::string &text) override
 Updates the status-bar message.
 
void SetSearchControlsEnabled (bool enabled) override
 Enables/disables the search controls to avoid re-entrancy.
 
void ToggleProgressVisibility (bool visible) override
 Shows or hides the embedded progress indicator.
 
void ConfigureProgressRange (int range) override
 Adjusts the progress indicator's range.
 
void UpdateProgressValue (int value) override
 Updates the progress indicator's current value.
 
void ProcessPendingEvents () override
 Gives the UI thread a chance to process pending events.
 
void RefreshLayout () override
 Requests a full window refresh/layout recalculation.
 
std::string AskString (const std::string &title, const std::string &prompt, const std::string &defaultValue, bool &ok) override
 Shows a modal input dialog.
 
void UpdateFilterStatus (int totalEvents, int filteredCount, int activeFilterCount, const std::string &filterDetails) override
 Updates the filter status bar with filter information.
 
void OnSearchResultActivated (long eventId) override
 
void OnConfigChanged () override
 
void OnPluginEvent (plugin::PluginEvent event, const std::string &pluginId, plugin::IPlugin *plugin) override
 
bool eventFilter (QObject *watched, QEvent *event) override
 
void RefreshRecentFilesMenu ()
 
void HandleDroppedFile (const QString &path)
 

Static Public Member Functions

static std::vector< FileTypeChoice > FileTypeChoices ()
 The formats offered by PromptForFileType().
 
static void ShowEventsTablePage (QStackedWidget *eventsStack, QTabWidget *tabs=nullptr)
 

Private Slots

void OnSearchRequested ()
 
void OnApplyFilterClicked ()
 
void OnExtendedFiltersChanged ()
 
void OnOpenFileRequested ()
 
void OnClearDataRequested ()
 
void OnOpenAppLogRequested ()
 
void OnExitRequested ()
 
void OnAboutRequested ()
 
void OnSetDarkTheme ()
 
void OnSetLightTheme ()
 
void OnSetSystemTheme ()
 
void OnRecentFileTriggered (const QString &filePath)
 
void OnExportCsvRequested ()
 
void OnExportJsonRequested ()
 
void OnExportXmlRequested ()
 
void OnGenerateReportFromDashboard ()
 
void OnCheckForUpdates ()
 
void OnUpdateCheckComplete (updates::UpdateCheckResult result)
 
void OnApplyPluginUpdate (QString pluginId, QString tempZipPath)
 
void OnProfileSaveRequested (const QString &name)
 Gathers filter state from all panels and forwards it to FilterProfilesPanel::StoreProfile().
 
void OnProfileLoadRequested (const FilterProfile &profile)
 
void OnSaveSession ()
 
void OnOpenSession ()
 
void OnLoadDbcRequested ()
 
void OnLoadEvlogTemplatesRequested ()
 
void OnSaveLayoutRequested ()
 
void OnDeleteLayoutRequested (const QString &name)
 
void OnToggleTailRequested ()
 
void OnTailNewEvents (std::size_t count)
 
void OnTailError (const QString &message)
 

Private Member Functions

void keyPressEvent (QKeyEvent *event) override
 
void dragEnterEvent (QDragEnterEvent *event) override
 
void dropEvent (QDropEvent *event) override
 
void AutoSwitchViewForFile (const QString &filePath)
 Auto-switch to appropriate view based on file extension.
 
std::unique_ptr< parser::IDataParser > CreateParserFor (const std::filesystem::path &path)
 
void InitializeUi (db::EventsContainer &events)
 
void InitializePresenter (mvc::IController &controller, db::EventsContainer &events)
 
void MarkAnalysisPanelsDirty ()
 
void RefreshCurrentAnalysisPanel ()
 
void ApplyExtendedFilters ()
 
void ApplyActorFilter ()
 
void ActivateSideBySide ()
 
void RunFilter (std::function< std::vector< unsigned long >()> worker, const QString &statusMsg)
 
void SetupMenus ()
 
void RefreshLayoutMenu ()
 
void ApplyLayout (const LayoutDescriptor &layout)
 Apply a layout: restores dock state (user layouts) and tab visibility.
 
LayoutDescriptor CaptureLayout (const QString &name) const
 Capture the current window state as a named layout descriptor.
 
void AddToRecentFiles (const QString &filePath)
 
void LoadRecentFiles ()
 
void SaveRecentFiles ()
 
void ShowError (const QString &title, const QString &message)
 
std::vector< int > GetRowsToExport () const
 
QString PromptForFileType (const std::filesystem::path &path)
 
void StopTailing ()
 
void OnOpenResultsFolderRequested ()
 File > Open Results Folder: pick a folder and show it in the Run Explorer.
 
void OpenResultsFolder (const QString &folder)
 Shows the Run Explorer (created on first use) scanning folder.
 
bool ReplaceWithFile (const QString &path)
 
void OpenTestLog (const QString &path)
 
void OpenTestLogWithPrevious (const QString &previousPath, const QString &previousName, const QString &path, const QString &name)
 
bool ShouldCheckForUpdates () const
 
void setupPluginManager ()
 
void loadPlugins ()
 
void reloadPlugins ()
 
void createPluginTab (const std::string &pluginId, plugin::IPlugin *plugin)
 
void removePluginTab (const std::string &pluginId)
 
void createPluginLeftTab (const std::string &pluginId, plugin::IPlugin *plugin)
 
void removePluginLeftTab (const std::string &pluginId)
 
void removePluginBottomTab (const std::string &pluginId)
 
void removePluginRightTab (const std::string &pluginId)
 
QWidget * CreateHostContainerForPluginWidget (QWidget *pluginWidget, QTabWidget *parentTabs)
 
bool TryAddPluginMainPanel (const std::string &pluginId, plugin::IPlugin *plugin)
 
bool TryAddPluginBottomPanel (const std::string &pluginId, plugin::IPlugin *plugin)
 
bool TryAddPluginRightPanel (const std::string &pluginId, plugin::IPlugin *plugin)
 
void RefreshPluginPanels ()
 
void RemoveMainPanel ()
 
void RemoveLeftPanel ()
 
void RemoveBottomPanel ()
 
void RemoveRightPanel ()
 
void RemoveAllPluginBottomPanels ()
 Remove all plugin-provided bottom-dock C-ABI panels (used by reloadPlugins()).
 
void ShowTabContextMenu (QTabWidget *tabWidget, const QPoint &pos)
 Show a right-click context menu on a tab bar with sort/reorder actions.
 

Static Private Member Functions

static QString LastDir (const QString &key, const QString &fallback)
 Return the last directory used for key, or fallback if unset.
 
static void SaveLastDir (const QString &key, const QString &filePath)
 Persist the parent directory of filePath for key.
 

Private Attributes

StartupSplash * m_splash {nullptr}
 non-owning; valid only during construction
 
std::unique_ptr< LayoutManager > m_layoutManager
 
QMenu * m_layoutsMenu {nullptr}
 
QLineEdit * m_searchEdit {nullptr}
 
QPushButton * m_searchButton {nullptr}
 
QProgressBar * m_progressBar {nullptr}
 
QLabel * m_statusLabel {nullptr}
 
SearchResultsView * m_searchResults {nullptr}
 
QPushButton * m_applyFilterButton {nullptr}
 
QSplitter * m_bottomSplitter {nullptr}
 
QSplitter * m_leftSplitter {nullptr}
 
QSplitter * m_rightSplitter {nullptr}
 
QTabWidget * m_filterTabs {nullptr}
 
QTabWidget * m_contentTabs {nullptr}
 
QStackedWidget * m_eventsStack {nullptr}
 
QTabWidget * m_bottomTabs {nullptr}
 
EventsTableView * m_eventsView {nullptr}
 
FiltersPanel * m_filtersPanel {nullptr}
 
QWidget * m_bottomChatWidget {nullptr}
 
QDockWidget * m_filtersDock {nullptr}
 
QDockWidget * m_signalBrowserDock {nullptr}
 
QDockWidget * m_detailsDock {nullptr}
 
QDockWidget * m_bottomDock {nullptr}
 
QDockWidget * m_pluginLeftDock {nullptr}
 
QTabWidget * m_pluginLeftTabs {nullptr}
 
std::unique_ptr< ui::MainWindowPresenter > m_presenter
 
std::unique_ptr< MainWindowFileOpsHelper > m_fileOpsHelper
 
std::unique_ptr< MainWindowFilterOpsHelper > m_filterOpsHelper
 
std::unique_ptr< MainWindowPluginOpsHelper > m_pluginOpsHelper
 
std::unique_ptr< MainWindowExportOpsHelper > m_exportOpsHelper
 
TypeFilterView * m_typeFilterView {nullptr}
 
ItemDetailsView * m_itemDetailsView {nullptr}
 
QWidget * m_mainPanelWidget {nullptr}
 
int m_mainPanelIndex {-1}
 
db::EventsContainer * m_events {nullptr}
 
QString m_currentLogFilePath
 
QString m_currentDbcFilePath
 Optional DBC for CAN signal decoding.
 
QString m_evlogTemplateDir
 Optional template dir for evlog BINARY payloads.
 
QMenu * m_recentFilesMenu {nullptr}
 
std::shared_ptr< services::IService > m_currentService
 
QTabWidget * m_rightTabs {nullptr}
 
DashboardPanel * m_dashboardPanel {nullptr}
 
StatsSummaryPanel * m_statsPanel {nullptr}
 
PatternAnalysisPanel * m_patternPanel {nullptr}
 
SignalPlotPanel * m_signalPlotPanel {nullptr}
 
TimelineChartPanel * m_timelinePanel {nullptr}
 
TraceViewerPanel * m_tracePanel {nullptr}
 
SequenceDiagramPanel * m_sequencePanel {nullptr}
 
TestStepsPanel * m_testStepsPanel {nullptr}
 
BookmarksPanel * m_bookmarksPanel {nullptr}
 
ScenariosPanel * m_scenariosPanel {nullptr}
 
ActorsPanel * m_actorsPanel {nullptr}
 
ActorDefinitionsPanel * m_actorDefPanel {nullptr}
 
SearchBar * m_searchBar {nullptr}
 
UnifiedSearchBar * m_unifiedSearchBar {nullptr}
 
UpdateChecker * m_updateChecker {nullptr}
 
FileTailer * m_tailer {nullptr}
 
QAction * m_tailAction {nullptr}
 
TimeRangeFilterPanel * m_timeRangePanel {nullptr}
 
FilterProfilesPanel * m_profilesPanel {nullptr}
 
CanSignalTreePanel * m_canSignalTree {nullptr}
 
SideBySidePanel * m_sideBySidePanel {nullptr}
 
RunExplorerDialog * m_runExplorer {nullptr}
 
FilterStatusBar * m_filterStatusBar {nullptr}
 
TabBadgeManager * m_tabBadgeManager {nullptr}
 
QLabel * m_updateBadge {nullptr}
 
updates::UpdateCheckResult m_lastUpdateResult
 
bool m_filteringInProgress {false}
 
bool m_searchInProgress {false}
 
QTimer * m_panelRefreshTimer {nullptr}
 
std::set< QWidget * > m_dirtyPanels
 
QTimer * m_searchDebounceTimer {nullptr}
 
QString m_pendingSearchTerm
 
bool m_pendingSearchCase {false}
 
QTimer * m_unifiedSearchDebounceTimer {nullptr}
 
std::map< std::string, QWidget * > m_pluginTabIndices
 
std::map< std::string, int > m_pluginFilterTabIndices
 
std::map< std::string, QWidget * > m_pluginLeftTabIndices
 
std::map< std::string, QWidget * > m_pluginRightTabIndices
 
std::map< std::string, QWidget * > m_pluginBottomTabIndices
 

Constructor & Destructor Documentation

◆ MainWindow()

ui::qt::MainWindow::MainWindow ( mvc::IController &  controller,
db::EventsContainer &  events,
StartupSplash *  splash = nullptr,
QWidget *  parent = nullptr 
)
Here is the call graph for this function:

◆ ~MainWindow()

ui::qt::MainWindow::~MainWindow ( )
override
Here is the call graph for this function:

Member Function Documentation

◆ ActivateSideBySide()

void ui::qt::MainWindow::ActivateSideBySide ( )
private

◆ AddToRecentFiles()

void ui::qt::MainWindow::AddToRecentFiles ( const QString &  filePath)
private

◆ ApplyActorFilter()

void ui::qt::MainWindow::ApplyActorFilter ( )
private
Here is the call graph for this function:

◆ ApplyExtendedFilters()

void ui::qt::MainWindow::ApplyExtendedFilters ( )
private
Here is the call graph for this function:

◆ ApplyLayout()

void ui::qt::MainWindow::ApplyLayout ( const LayoutDescriptor &  layout)
private

Apply a layout: restores dock state (user layouts) and tab visibility.

◆ AskString()

std::string ui::qt::MainWindow::AskString ( const std::string &  title,
const std::string &  prompt,
const std::string &  defaultValue,
bool &  ok 
)
overridevirtual

Shows a modal input dialog.

Parameters
okSet to true when the user accepted, false when cancelled.
Returns
The entered string, or empty if cancelled.

Implements ui::IMainWindowView.

◆ AutoSwitchViewForFile()

void ui::qt::MainWindow::AutoSwitchViewForFile ( const QString &  filePath)
private

Auto-switch to appropriate view based on file extension.

Here is the call graph for this function:

◆ CaptureLayout()

LayoutDescriptor ui::qt::MainWindow::CaptureLayout ( const QString &  name) const
private

Capture the current window state as a named layout descriptor.

◆ ConfigureProgressRange()

void ui::qt::MainWindow::ConfigureProgressRange ( int  range)
overridevirtual

Adjusts the progress indicator's range.

Implements ui::IMainWindowView.

◆ CreateHostContainerForPluginWidget()

QWidget * ui::qt::MainWindow::CreateHostContainerForPluginWidget ( QWidget *  pluginWidget,
QTabWidget *  parentTabs 
)
private

◆ CreateParserFor()

std::unique_ptr< parser::IDataParser > ui::qt::MainWindow::CreateParserFor ( const std::filesystem::path &  path)
private
Here is the call graph for this function:

◆ createPluginLeftTab()

void ui::qt::MainWindow::createPluginLeftTab ( const std::string &  pluginId,
plugin::IPlugin *  plugin 
)
private
Here is the call graph for this function:

◆ createPluginTab()

void ui::qt::MainWindow::createPluginTab ( const std::string &  pluginId,
plugin::IPlugin *  plugin 
)
private
Here is the call graph for this function:

◆ CurrentStatusText()

std::string ui::qt::MainWindow::CurrentStatusText ( ) const
overridevirtual
Returns
The status-bar message currently shown to the user.

Implements ui::IMainWindowView.

◆ dragEnterEvent()

void ui::qt::MainWindow::dragEnterEvent ( QDragEnterEvent *  event)
overrideprivate

◆ dropEvent()

void ui::qt::MainWindow::dropEvent ( QDropEvent *  event)
overrideprivate
Here is the call graph for this function:

◆ eventFilter()

bool ui::qt::MainWindow::eventFilter ( QObject *  watched,
QEvent *  event 
)
override

◆ FileTypeChoices()

std::vector< MainWindow::FileTypeChoice > ui::qt::MainWindow::FileTypeChoices ( )
static

The formats offered by PromptForFileType().

◆ GetRowsToExport()

std::vector< int > ui::qt::MainWindow::GetRowsToExport ( ) const
private

◆ HandleDroppedFile()

void ui::qt::MainWindow::HandleDroppedFile ( const QString &  path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializePresenter()

void ui::qt::MainWindow::InitializePresenter ( mvc::IController &  controller,
db::EventsContainer &  events 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeUi()

void ui::qt::MainWindow::InitializeUi ( db::EventsContainer &  events)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ keyPressEvent()

void ui::qt::MainWindow::keyPressEvent ( QKeyEvent *  event)
overrideprivate
Here is the call graph for this function:

◆ LastDir()

QString ui::qt::MainWindow::LastDir ( const QString &  key,
const QString &  fallback 
)
staticprivate

Return the last directory used for key, or fallback if unset.

◆ loadPlugins()

void ui::qt::MainWindow::loadPlugins ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadRecentFiles()

void ui::qt::MainWindow::LoadRecentFiles ( )
private
Here is the caller graph for this function:

◆ MarkAnalysisPanelsDirty()

void ui::qt::MainWindow::MarkAnalysisPanelsDirty ( )
private

◆ OnAboutRequested

void ui::qt::MainWindow::OnAboutRequested ( )
privateslot
Here is the call graph for this function:

◆ OnApplyFilterClicked

void ui::qt::MainWindow::OnApplyFilterClicked ( )
privateslot
Here is the caller graph for this function:

◆ OnApplyPluginUpdate

void ui::qt::MainWindow::OnApplyPluginUpdate ( QString  pluginId,
QString  tempZipPath 
)
privateslot
Here is the call graph for this function:

◆ OnCheckForUpdates

void ui::qt::MainWindow::OnCheckForUpdates ( )
privateslot
Here is the caller graph for this function:

◆ OnClearDataRequested

void ui::qt::MainWindow::OnClearDataRequested ( )
privateslot
Here is the call graph for this function:

◆ OnConfigChanged()

void ui::qt::MainWindow::OnConfigChanged ( )
overridevirtual

Called when configuration has been changed and saved

Implements config::ConfigObserver.

Here is the call graph for this function:

◆ OnDeleteLayoutRequested

void ui::qt::MainWindow::OnDeleteLayoutRequested ( const QString &  name)
privateslot

◆ OnExitRequested

void ui::qt::MainWindow::OnExitRequested ( )
privateslot

◆ OnExportCsvRequested

void ui::qt::MainWindow::OnExportCsvRequested ( )
privateslot
Here is the caller graph for this function:

◆ OnExportJsonRequested

void ui::qt::MainWindow::OnExportJsonRequested ( )
privateslot

◆ OnExportXmlRequested

void ui::qt::MainWindow::OnExportXmlRequested ( )
privateslot

◆ OnExtendedFiltersChanged

void ui::qt::MainWindow::OnExtendedFiltersChanged ( )
privateslot
Here is the caller graph for this function:

◆ OnGenerateReportFromDashboard

void ui::qt::MainWindow::OnGenerateReportFromDashboard ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnLoadDbcRequested

void ui::qt::MainWindow::OnLoadDbcRequested ( )
privateslot
Here is the call graph for this function:

◆ OnLoadEvlogTemplatesRequested

void ui::qt::MainWindow::OnLoadEvlogTemplatesRequested ( )
privateslot
Here is the call graph for this function:

◆ OnOpenAppLogRequested

void ui::qt::MainWindow::OnOpenAppLogRequested ( )
privateslot
Here is the call graph for this function:

◆ OnOpenFileRequested

void ui::qt::MainWindow::OnOpenFileRequested ( )
privateslot
Here is the call graph for this function:

◆ OnOpenResultsFolderRequested()

void ui::qt::MainWindow::OnOpenResultsFolderRequested ( )
private

File > Open Results Folder: pick a folder and show it in the Run Explorer.

◆ OnOpenSession

void ui::qt::MainWindow::OnOpenSession ( )
privateslot
Here is the call graph for this function:

◆ OnPluginEvent()

void ui::qt::MainWindow::OnPluginEvent ( plugin::PluginEvent  event,
const std::string &  pluginId,
plugin::IPlugin *  plugin 
)
overridevirtual

Implements plugin::IPluginObserver.

Here is the call graph for this function:

◆ OnProfileLoadRequested

void ui::qt::MainWindow::OnProfileLoadRequested ( const FilterProfile &  profile)
privateslot

◆ OnProfileSaveRequested

void ui::qt::MainWindow::OnProfileSaveRequested ( const QString &  name)
privateslot

Gathers filter state from all panels and forwards it to FilterProfilesPanel::StoreProfile().

◆ OnRecentFileTriggered

void ui::qt::MainWindow::OnRecentFileTriggered ( const QString &  filePath)
privateslot

◆ OnSaveLayoutRequested

void ui::qt::MainWindow::OnSaveLayoutRequested ( )
privateslot

◆ OnSaveSession

void ui::qt::MainWindow::OnSaveSession ( )
privateslot
Here is the call graph for this function:

◆ OnSearchRequested

void ui::qt::MainWindow::OnSearchRequested ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnSearchResultActivated()

void ui::qt::MainWindow::OnSearchResultActivated ( long  eventId)
overridevirtual

Implements ui::ISearchResultsViewObserver.

Here is the call graph for this function:

◆ OnSetDarkTheme

void ui::qt::MainWindow::OnSetDarkTheme ( )
privateslot
Here is the call graph for this function:

◆ OnSetLightTheme

void ui::qt::MainWindow::OnSetLightTheme ( )
privateslot
Here is the call graph for this function:

◆ OnSetSystemTheme

void ui::qt::MainWindow::OnSetSystemTheme ( )
privateslot
Here is the call graph for this function:

◆ OnTailError

void ui::qt::MainWindow::OnTailError ( const QString &  message)
privateslot

◆ OnTailNewEvents

void ui::qt::MainWindow::OnTailNewEvents ( std::size_t  count)
privateslot
Here is the call graph for this function:

◆ OnToggleTailRequested

void ui::qt::MainWindow::OnToggleTailRequested ( )
privateslot

◆ OnUpdateCheckComplete

void ui::qt::MainWindow::OnUpdateCheckComplete ( updates::UpdateCheckResult  result)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OpenResultsFolder()

void ui::qt::MainWindow::OpenResultsFolder ( const QString &  folder)
private

Shows the Run Explorer (created on first use) scanning folder.

Here is the call graph for this function:

◆ OpenTestLog()

void ui::qt::MainWindow::OpenTestLog ( const QString &  path)
private

Run Explorer: load one test log, or previousPath merged with path (aliases = test names) to see what the previous test left behind.

Here is the call graph for this function:

◆ OpenTestLogWithPrevious()

void ui::qt::MainWindow::OpenTestLogWithPrevious ( const QString &  previousPath,
const QString &  previousName,
const QString &  path,
const QString &  name 
)
private
Here is the call graph for this function:

◆ ProcessPendingEvents()

void ui::qt::MainWindow::ProcessPendingEvents ( )
overridevirtual

Gives the UI thread a chance to process pending events.

Implements ui::IMainWindowView.

◆ PromptForFileType()

QString ui::qt::MainWindow::PromptForFileType ( const std::filesystem::path &  path)
private

Show a file-type picker when the extension is unknown; returns the chosen extension (e.g. ".evl") or an empty string if the user cancelled.

◆ ReadSearchQuery()

std::string ui::qt::MainWindow::ReadSearchQuery ( ) const
overridevirtual
Returns
Current text from the search input box.

Implements ui::IMainWindowView.

Here is the call graph for this function:

◆ RefreshCurrentAnalysisPanel()

void ui::qt::MainWindow::RefreshCurrentAnalysisPanel ( )
private

◆ RefreshLayout()

void ui::qt::MainWindow::RefreshLayout ( )
overridevirtual

Requests a full window refresh/layout recalculation.

Implements ui::IMainWindowView.

◆ RefreshLayoutMenu()

void ui::qt::MainWindow::RefreshLayoutMenu ( )
private

◆ RefreshPluginPanels()

void ui::qt::MainWindow::RefreshPluginPanels ( )
private
Here is the call graph for this function:

◆ RefreshRecentFilesMenu()

void ui::qt::MainWindow::RefreshRecentFilesMenu ( )
Here is the caller graph for this function:

◆ reloadPlugins()

void ui::qt::MainWindow::reloadPlugins ( )
private
Here is the call graph for this function:

◆ RemoveAllPluginBottomPanels()

void ui::qt::MainWindow::RemoveAllPluginBottomPanels ( )
private

Remove all plugin-provided bottom-dock C-ABI panels (used by reloadPlugins()).

◆ RemoveBottomPanel()

void ui::qt::MainWindow::RemoveBottomPanel ( )
private

◆ RemoveLeftPanel()

void ui::qt::MainWindow::RemoveLeftPanel ( )
private

◆ RemoveMainPanel()

void ui::qt::MainWindow::RemoveMainPanel ( )
private

◆ removePluginBottomTab()

void ui::qt::MainWindow::removePluginBottomTab ( const std::string &  pluginId)
private
Here is the call graph for this function:

◆ removePluginLeftTab()

void ui::qt::MainWindow::removePluginLeftTab ( const std::string &  pluginId)
private
Here is the call graph for this function:

◆ removePluginRightTab()

void ui::qt::MainWindow::removePluginRightTab ( const std::string &  pluginId)
private
Here is the call graph for this function:

◆ removePluginTab()

void ui::qt::MainWindow::removePluginTab ( const std::string &  pluginId)
private
Here is the call graph for this function:

◆ RemoveRightPanel()

void ui::qt::MainWindow::RemoveRightPanel ( )
private

◆ ReplaceWithFile()

bool ui::qt::MainWindow::ReplaceWithFile ( const QString &  path)
private

The normal load path for one file, replacing the current data. Returns false when no parser was chosen; throws like MainWindowPresenter::LoadLogFile.

◆ RunFilter()

void ui::qt::MainWindow::RunFilter ( std::function< std::vector< unsigned long >()>  worker,
const QString &  statusMsg 
)
private
Here is the call graph for this function:

◆ SaveLastDir()

void ui::qt::MainWindow::SaveLastDir ( const QString &  key,
const QString &  filePath 
)
staticprivate

Persist the parent directory of filePath for key.

◆ SaveRecentFiles()

void ui::qt::MainWindow::SaveRecentFiles ( )
private
Here is the caller graph for this function:

◆ SetSearchControlsEnabled()

void ui::qt::MainWindow::SetSearchControlsEnabled ( bool  enabled)
overridevirtual

Enables/disables the search controls to avoid re-entrancy.

Implements ui::IMainWindowView.

◆ SetupMenus()

void ui::qt::MainWindow::SetupMenus ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setupPluginManager()

void ui::qt::MainWindow::setupPluginManager ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShouldCheckForUpdates()

bool ui::qt::MainWindow::ShouldCheckForUpdates ( ) const
private
Here is the call graph for this function:

◆ ShowError()

void ui::qt::MainWindow::ShowError ( const QString &  title,
const QString &  message 
)
private

◆ ShowEventsTablePage()

void ui::qt::MainWindow::ShowEventsTablePage ( QStackedWidget *  eventsStack,
QTabWidget *  tabs = nullptr 
)
static

Shows the events table page (page 0) of the Events tab's stack instead of the side-by-side page; with tabs also makes the Events tab current.

◆ ShowTabContextMenu()

void ui::qt::MainWindow::ShowTabContextMenu ( QTabWidget *  tabWidget,
const QPoint &  pos 
)
private

Show a right-click context menu on a tab bar with sort/reorder actions.

Here is the call graph for this function:

◆ StopTailing()

void ui::qt::MainWindow::StopTailing ( )
private

Stop following the current file and uncheck File > Follow File. Called before any load/merge replaces the container contents.

◆ ToggleProgressVisibility()

void ui::qt::MainWindow::ToggleProgressVisibility ( bool  visible)
overridevirtual

Shows or hides the embedded progress indicator.

Implements ui::IMainWindowView.

◆ TryAddPluginBottomPanel()

bool ui::qt::MainWindow::TryAddPluginBottomPanel ( const std::string &  pluginId,
plugin::IPlugin *  plugin 
)
private
Here is the call graph for this function:

◆ TryAddPluginMainPanel()

bool ui::qt::MainWindow::TryAddPluginMainPanel ( const std::string &  pluginId,
plugin::IPlugin *  plugin 
)
private
Here is the call graph for this function:

◆ TryAddPluginRightPanel()

bool ui::qt::MainWindow::TryAddPluginRightPanel ( const std::string &  pluginId,
plugin::IPlugin *  plugin 
)
private
Here is the call graph for this function:

◆ UpdateFilterStatus()

void ui::qt::MainWindow::UpdateFilterStatus ( int  totalEvents,
int  filteredCount,
int  activeFilterCount,
const std::string &  filterDetails 
)
overridevirtual

Updates the filter status bar with filter information.

Parameters
totalEventsTotal number of events
filteredCountNumber of events matching filters
activeFilterCountNumber of active filters
filterDetailsDescription of active filters

Implements ui::IMainWindowView.

◆ UpdateProgressValue()

void ui::qt::MainWindow::UpdateProgressValue ( int  value)
overridevirtual

Updates the progress indicator's current value.

Implements ui::IMainWindowView.

◆ UpdateStatusText()

void ui::qt::MainWindow::UpdateStatusText ( const std::string &  text)
overridevirtual

Updates the status-bar message.

Implements ui::IMainWindowView.

Member Data Documentation

◆ m_actorDefPanel

ActorDefinitionsPanel* ui::qt::MainWindow::m_actorDefPanel {nullptr}
private

◆ m_actorsPanel

ActorsPanel* ui::qt::MainWindow::m_actorsPanel {nullptr}
private

◆ m_applyFilterButton

QPushButton* ui::qt::MainWindow::m_applyFilterButton {nullptr}
private

◆ m_bookmarksPanel

BookmarksPanel* ui::qt::MainWindow::m_bookmarksPanel {nullptr}
private

◆ m_bottomChatWidget

QWidget* ui::qt::MainWindow::m_bottomChatWidget {nullptr}
private

◆ m_bottomDock

QDockWidget* ui::qt::MainWindow::m_bottomDock {nullptr}
private

◆ m_bottomSplitter

QSplitter* ui::qt::MainWindow::m_bottomSplitter {nullptr}
private

◆ m_bottomTabs

QTabWidget* ui::qt::MainWindow::m_bottomTabs {nullptr}
private

◆ m_canSignalTree

CanSignalTreePanel* ui::qt::MainWindow::m_canSignalTree {nullptr}
private

◆ m_contentTabs

QTabWidget* ui::qt::MainWindow::m_contentTabs {nullptr}
private

◆ m_currentDbcFilePath

QString ui::qt::MainWindow::m_currentDbcFilePath
private

Optional DBC for CAN signal decoding.

◆ m_currentLogFilePath

QString ui::qt::MainWindow::m_currentLogFilePath
private

◆ m_currentService

std::shared_ptr<services::IService> ui::qt::MainWindow::m_currentService
private

◆ m_dashboardPanel

DashboardPanel* ui::qt::MainWindow::m_dashboardPanel {nullptr}
private

◆ m_detailsDock

QDockWidget* ui::qt::MainWindow::m_detailsDock {nullptr}
private

◆ m_dirtyPanels

std::set<QWidget*> ui::qt::MainWindow::m_dirtyPanels
private

◆ m_events

db::EventsContainer* ui::qt::MainWindow::m_events {nullptr}
private

◆ m_eventsStack

QStackedWidget* ui::qt::MainWindow::m_eventsStack {nullptr}
private

◆ m_eventsView

EventsTableView* ui::qt::MainWindow::m_eventsView {nullptr}
private

◆ m_evlogTemplateDir

QString ui::qt::MainWindow::m_evlogTemplateDir
private

Optional template dir for evlog BINARY payloads.

◆ m_exportOpsHelper

std::unique_ptr<MainWindowExportOpsHelper> ui::qt::MainWindow::m_exportOpsHelper
private

◆ m_fileOpsHelper

std::unique_ptr<MainWindowFileOpsHelper> ui::qt::MainWindow::m_fileOpsHelper
private

◆ m_filteringInProgress

bool ui::qt::MainWindow::m_filteringInProgress {false}
private

◆ m_filterOpsHelper

std::unique_ptr<MainWindowFilterOpsHelper> ui::qt::MainWindow::m_filterOpsHelper
private

◆ m_filtersDock

QDockWidget* ui::qt::MainWindow::m_filtersDock {nullptr}
private

◆ m_filtersPanel

FiltersPanel* ui::qt::MainWindow::m_filtersPanel {nullptr}
private

◆ m_filterStatusBar

FilterStatusBar* ui::qt::MainWindow::m_filterStatusBar {nullptr}
private

◆ m_filterTabs

QTabWidget* ui::qt::MainWindow::m_filterTabs {nullptr}
private

◆ m_itemDetailsView

ItemDetailsView* ui::qt::MainWindow::m_itemDetailsView {nullptr}
private

◆ m_lastUpdateResult

updates::UpdateCheckResult ui::qt::MainWindow::m_lastUpdateResult
private

◆ m_layoutManager

std::unique_ptr<LayoutManager> ui::qt::MainWindow::m_layoutManager
private

◆ m_layoutsMenu

QMenu* ui::qt::MainWindow::m_layoutsMenu {nullptr}
private

◆ m_leftSplitter

QSplitter* ui::qt::MainWindow::m_leftSplitter {nullptr}
private

◆ m_mainPanelIndex

int ui::qt::MainWindow::m_mainPanelIndex {-1}
private

◆ m_mainPanelWidget

QWidget* ui::qt::MainWindow::m_mainPanelWidget {nullptr}
private

◆ m_panelRefreshTimer

QTimer* ui::qt::MainWindow::m_panelRefreshTimer {nullptr}
private

◆ m_patternPanel

PatternAnalysisPanel* ui::qt::MainWindow::m_patternPanel {nullptr}
private

◆ m_pendingSearchCase

bool ui::qt::MainWindow::m_pendingSearchCase {false}
private

◆ m_pendingSearchTerm

QString ui::qt::MainWindow::m_pendingSearchTerm
private

◆ m_pluginBottomTabIndices

std::map<std::string, QWidget*> ui::qt::MainWindow::m_pluginBottomTabIndices
private

◆ m_pluginFilterTabIndices

std::map<std::string, int> ui::qt::MainWindow::m_pluginFilterTabIndices
private

◆ m_pluginLeftDock

QDockWidget* ui::qt::MainWindow::m_pluginLeftDock {nullptr}
private

◆ m_pluginLeftTabIndices

std::map<std::string, QWidget*> ui::qt::MainWindow::m_pluginLeftTabIndices
private

◆ m_pluginLeftTabs

QTabWidget* ui::qt::MainWindow::m_pluginLeftTabs {nullptr}
private

◆ m_pluginOpsHelper

std::unique_ptr<MainWindowPluginOpsHelper> ui::qt::MainWindow::m_pluginOpsHelper
private

◆ m_pluginRightTabIndices

std::map<std::string, QWidget*> ui::qt::MainWindow::m_pluginRightTabIndices
private

◆ m_pluginTabIndices

std::map<std::string, QWidget*> ui::qt::MainWindow::m_pluginTabIndices
private

◆ m_presenter

std::unique_ptr<ui::MainWindowPresenter> ui::qt::MainWindow::m_presenter
private

◆ m_profilesPanel

FilterProfilesPanel* ui::qt::MainWindow::m_profilesPanel {nullptr}
private

◆ m_progressBar

QProgressBar* ui::qt::MainWindow::m_progressBar {nullptr}
private

◆ m_recentFilesMenu

QMenu* ui::qt::MainWindow::m_recentFilesMenu {nullptr}
private

◆ m_rightSplitter

QSplitter* ui::qt::MainWindow::m_rightSplitter {nullptr}
private

◆ m_rightTabs

QTabWidget* ui::qt::MainWindow::m_rightTabs {nullptr}
private

◆ m_runExplorer

RunExplorerDialog* ui::qt::MainWindow::m_runExplorer {nullptr}
private

◆ m_scenariosPanel

ScenariosPanel* ui::qt::MainWindow::m_scenariosPanel {nullptr}
private

◆ m_searchBar

SearchBar* ui::qt::MainWindow::m_searchBar {nullptr}
private

◆ m_searchButton

QPushButton* ui::qt::MainWindow::m_searchButton {nullptr}
private

◆ m_searchDebounceTimer

QTimer* ui::qt::MainWindow::m_searchDebounceTimer {nullptr}
private

◆ m_searchEdit

QLineEdit* ui::qt::MainWindow::m_searchEdit {nullptr}
private

◆ m_searchInProgress

bool ui::qt::MainWindow::m_searchInProgress {false}
private

◆ m_searchResults

SearchResultsView* ui::qt::MainWindow::m_searchResults {nullptr}
private

◆ m_sequencePanel

SequenceDiagramPanel* ui::qt::MainWindow::m_sequencePanel {nullptr}
private

◆ m_sideBySidePanel

SideBySidePanel* ui::qt::MainWindow::m_sideBySidePanel {nullptr}
private

◆ m_signalBrowserDock

QDockWidget* ui::qt::MainWindow::m_signalBrowserDock {nullptr}
private

◆ m_signalPlotPanel

SignalPlotPanel* ui::qt::MainWindow::m_signalPlotPanel {nullptr}
private

◆ m_splash

StartupSplash* ui::qt::MainWindow::m_splash {nullptr}
private

non-owning; valid only during construction

◆ m_statsPanel

StatsSummaryPanel* ui::qt::MainWindow::m_statsPanel {nullptr}
private

◆ m_statusLabel

QLabel* ui::qt::MainWindow::m_statusLabel {nullptr}
private

◆ m_tabBadgeManager

TabBadgeManager* ui::qt::MainWindow::m_tabBadgeManager {nullptr}
private

◆ m_tailAction

QAction* ui::qt::MainWindow::m_tailAction {nullptr}
private

◆ m_tailer

FileTailer* ui::qt::MainWindow::m_tailer {nullptr}
private

◆ m_testStepsPanel

TestStepsPanel* ui::qt::MainWindow::m_testStepsPanel {nullptr}
private

◆ m_timelinePanel

TimelineChartPanel* ui::qt::MainWindow::m_timelinePanel {nullptr}
private

◆ m_timeRangePanel

TimeRangeFilterPanel* ui::qt::MainWindow::m_timeRangePanel {nullptr}
private

◆ m_tracePanel

TraceViewerPanel* ui::qt::MainWindow::m_tracePanel {nullptr}
private

◆ m_typeFilterView

TypeFilterView* ui::qt::MainWindow::m_typeFilterView {nullptr}
private

◆ m_unifiedSearchBar

UnifiedSearchBar* ui::qt::MainWindow::m_unifiedSearchBar {nullptr}
private

◆ m_unifiedSearchDebounceTimer

QTimer* ui::qt::MainWindow::m_unifiedSearchDebounceTimer {nullptr}
private

◆ m_updateBadge

QLabel* ui::qt::MainWindow::m_updateBadge {nullptr}
private

◆ m_updateChecker

UpdateChecker* ui::qt::MainWindow::m_updateChecker {nullptr}
private

The documentation for this class was generated from the following files: