35#include <NDEVR/File.h>
36#include <NDEVR/DesignObjectDialogLookup.h>
37#include <NDEVR/ServerPermission.h>
40 class OWLExportDialogUI;
107 void uploadPermission();
109 void checkForNameConflictFinished();
112 File m_file_to_upload;
113 File m_file_to_encode;
117 UUID m_link_password = Constant<UUID>::Invalid;
118 UUID m_decrypt_password = Constant<UUID>::Invalid;
125 Ui::OWLExportDialogUI* ui =
nullptr;
126 bool m_validated_connection =
false;
127 bool m_checking_for_duplicate =
false;
128 bool m_upload_resource =
true;
129 String m_last_checked_name;
130 sint04 m_upload_version = Constant<sint04>::Invalid;
A thread that executes a user-provided callback function concurrently.
A core class where all Design Objects including models, materials, and geometries are stored.
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
High-level OWL server client that combines WebSocket communication with file transfer,...
Dialog for entering OWL server login credentials.
Dialog for resolving duplicate file conflicts during OWL upload.
void reset()
Resets the dialog to its initial state.
void checkForNameConflict()
Checks whether the chosen name conflicts with an existing server file.
OWLExportDialog(DesignObjectLookup *lookup, OWLClientInterface *download, QWidget *parent=nullptr)
Constructs the export dialog.
void updateGenerateEnabled()
Updates the enabled state of the generate/export button.
void setLookup(DesignObjectLookup *lookup)
Sets the design object lookup for project data.
void finishedSignal()
Emitted when the export workflow has completed.
void exportNewPermission(const ServerPermission &original_permission)
Exports a new permission entry to the server.
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.
Dialog for managing OWL server connections.
Used with InfoPipe to signal that the system will be using progress.
The core String View class for the NDEVR API.
The core String class for the NDEVR API.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
The primary namespace for the NDEVR SDK.
int32_t sint04
-Defines an alias representing a 4 byte, signed integer.
@ file
The source file path associated with this object.
Defines permissions for a user to access a specific resource, including encryption data.