src/UI/pages/formattingPage.h

FormattingPage [Class]

Description

The FormattingPage class provides a UI for XML prettifying/formatting operations. Users can load XML files, apply formatting, and download the result.

Public Methods

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

Slots

void onBrowseFile()
Opens a file dialog to select an XML file for formatting.
void onPrettifyXML()
Applies prettifying transformations to the XML content.
void onDownload()
Saves the formatted XML to a file.
void onBackToOperations()
Emits the backToHomeClicked signal to navigate back.

Signals

void backToHomeClicked()
Emitted when returning to the home screen.