Skip to main content

BinaryExplorer_Widget

BinaryExplorer_Widget

Widget for browsing raw binary data files. More…

#include <BinaryExplorer_Widget.hpp>

Inherits from QWidget

Public Signals

Name
void fileLoaded(QString const & file_path)
Emitted when a file is successfully loaded.
void errorOccurred(QString const & message)
Emitted when an error occurs.

Public Functions

Name
BinaryExplorer_Widget(std::shared_ptr< DataManager > data_manager =[nullptr], QWidget * parent =[nullptr])
Construct the BinaryExplorer_Widget.
~BinaryExplorer_Widget() override
bool loadFile(QString const & file_path)
Load and display a binary file.
QString currentFilePath() const
Get the currently loaded file path.

Detailed Description

class BinaryExplorer_Widget;

Widget for browsing raw binary data files.

Provides:

  • File browse and path display
  • Parse configuration panel (data type, header size, channels, byte order, bitwise)
  • Metadata panel (file size, element count, rows, columns, remainder bytes)
  • Lazy-loading data preview table that updates on configuration changes

Public Signals Documentation

signal fileLoaded

void fileLoaded(
    QString const & file_path
)

Emitted when a file is successfully loaded.

Parameters:

  • file_path Path to the loaded file

signal errorOccurred

void errorOccurred(
    QString const & message
)

Emitted when an error occurs.

Parameters:

  • message Error message

Public Functions Documentation

function BinaryExplorer_Widget

explicit BinaryExplorer_Widget(
    std::shared_ptr< DataManager > data_manager =nullptr,
    QWidget * parent =nullptr
)

Construct the BinaryExplorer_Widget.

Parameters:

  • data_manager DataManager for future data import integration
  • parent Parent widget

function ~BinaryExplorer_Widget

~BinaryExplorer_Widget() override

function loadFile

bool loadFile(
    QString const & file_path
)

Load and display a binary file.

Parameters:

  • file_path Path to the binary file

Return: true if file was loaded successfully

function currentFilePath

inline QString currentFilePath() const

Get the currently loaded file path.

Return: File path, or empty if no file loaded


Updated on 2026-11-13 at 20:25:41 +0000