src/UI/pages/CompressPage.h

CompressPage [Class]

Description

The CompressPage class provides a UI for compressing XML files using the BPE algorithm. It includes file browsing, compression statistics, and download capabilities.

Public Methods

explicit CompressPage(QWidget *parent = nullptr)
Constructor initializes the compress page.
~CompressPage()
Destructor cleans up resources.

Slots

void onBackToOperations()
Emits the backToHomeClicked signal.
void onBrowseFile()
Opens a file dialog to select an XML file for compression.
void onCompress()
Compresses the loaded XML file using the BPE algorithm asynchronously.
void onCompressFinished()
Handles the completion of the compression task.
void onDownload()
Saves the compressed file to disk.

Signals

void backToHomeClicked()
Emitted when navigating back.