|
ACAV f0ba4b7c9529
Abstract Syntax Tree (AST) visualization tool for C, C++, and Objective-C
|
Main application window with multi-panel dock layout. More...
#include <MainWindow.h>
Public Member Functions | |
| MainWindow (QWidget *parent=nullptr) | |
| void | loadCompilationDatabase (const QString &compilationDatabasePath, const QString &projectRoot=QString()) |
| Load compilation database and populate translation units. | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *event) override |
| void | moveEvent (QMoveEvent *event) override |
| bool | eventFilter (QObject *watched, QEvent *event) override |
Friends | |
| class | MainWindowTestAccess |
Main application window with multi-panel dock layout.
The MainWindow provides the primary user interface for ACAV. It consists of dockable panels arranged horizontally:
Definition at line 75 of file MainWindow.h.
|
explicit |
Definition at line 91 of file MainWindow.cpp.
|
override |
Definition at line 130 of file MainWindow.cpp.
|
overrideprotected |
Definition at line 589 of file MainWindow.cpp.
| void acav::MainWindow::loadCompilationDatabase | ( | const QString & | compilationDatabasePath, |
| const QString & | projectRoot = QString() ) |
Load compilation database and populate translation units.
| compilationDatabasePath | Path to compile_commands.json |
| projectRoot | Optional project root directory (auto-detected if empty) |
Definition at line 2039 of file MainWindow.cpp.
References acav::MemoryProfiler::checkpoint(), acav::AppConfig::getCacheDirectory(), acav::AppConfig::getDependenciesFilePath(), acav::AppConfig::instance(), and loadCompilationDatabase().
Referenced by loadCompilationDatabase().
|
overrideprotected |
Definition at line 582 of file MainWindow.cpp.
|
overrideprotected |
Definition at line 575 of file MainWindow.cpp.
|
friend |
Definition at line 151 of file MainWindow.h.