NDEVR
API Documentation
OWLExportDialog

Dialog for exporting projects and files to an OWL server. More...

Public Member Functions

 OWLExportDialog (DesignObjectLookup *lookup, OWLClientInterface *download, QWidget *parent=nullptr)
 Constructs the export dialog.
void checkForNameConflict ()
 Checks whether the chosen name conflicts with an existing server file.
bool event (QEvent *event) override
 Handles events including show/hide transitions.
void exportCurrentProject ()
 Exports the currently open project to the server.
void exportFile (File file)
 Exports a specific file to the server.
void exportNewPermission (const ServerPermission &original_permission)
 Exports a new permission entry to the server.
void finishedSignal ()
 Emitted when the export workflow has completed.
void reset ()
 Resets the dialog to its initial state.
void setLookup (DesignObjectLookup *lookup)
 Sets the design object lookup for project data.
void updateGenerateEnabled ()
 Updates the enabled state of the generate/export button.

Detailed Description

Dialog for exporting projects and files to an OWL server.

Handles encoding, encryption, duplicate resolution, and upload of project files and permissions to a remote OWL server.

Definition at line 57 of file OWLExportDialog.h.

Constructor & Destructor Documentation

◆ OWLExportDialog()

OWLExportDialog::OWLExportDialog ( DesignObjectLookup * lookup,
OWLClientInterface * download,
QWidget * parent = nullptr )

Constructs the export dialog.

Parameters
[in]lookupThe design object lookup for project data.
[in]downloadThe OWL client interface for server communication.
[in]parentOptional parent widget.

Member Function Documentation

◆ event()

bool OWLExportDialog::event ( QEvent * event)
override

Handles events including show/hide transitions.

Parameters
[in]eventThe event to process.
Returns
True if the event was handled.

References event().

Referenced by event().

◆ exportFile()

void OWLExportDialog::exportFile ( File file)

Exports a specific file to the server.

Parameters
[in]fileThe file to export.

◆ exportNewPermission()

void OWLExportDialog::exportNewPermission ( const ServerPermission & original_permission)

Exports a new permission entry to the server.

Parameters
[in]original_permissionThe permission to export.

◆ setLookup()

void OWLExportDialog::setLookup ( DesignObjectLookup * lookup)

Sets the design object lookup for project data.

Parameters
[in]lookupThe design object lookup.

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