![]() |
NDEVR
API Documentation
|
File management widget for browsing, opening, and managing files on an OWL server. More...
Public Member Functions | |
| OWLFileManager (DesignObjectLookup *lookup, OWLClientInterface *server, QWidget *parent=nullptr) | |
| Constructs the file manager. | |
| void | downloadURL (const StringView &url) |
| Downloads a file from the specified OWL URL. | |
| void | finishedOpenSignal () |
| Emitted when a file has been opened successfully. | |
| void | finishedSignal () |
| Emitted when the file manager workflow has completed. | |
| std::pair< ServerPermission, ServerResourceInfo > | getSelectedResourceInfo () const |
| Returns the permission and resource info for the currently selected item. | |
| void | refresh () |
| Refreshes the file list from the server. | |
| void | requestManageOWLLink (sint04 link_id) |
| Emitted when the user requests to manage a share link. | |
| void | requestManageServers () |
| Emitted when the user requests to manage server connections. | |
| void | setConnectionID (UUID id) |
| Sets the connection ID to browse files on. | |
Protected Member Functions | |
| void | onContentSelectionChanged () |
| Handles selection changes in the content/version list. | |
| void | onOWLSelectionChanged () |
| Handles selection changes in the OWL file list. | |
File management widget for browsing, opening, and managing files on an OWL server.
Provides a browsable list of server files with controls for opening, downloading, deleting, and managing share links and versions.
Definition at line 53 of file OWLFileManager.h.
| OWLFileManager::OWLFileManager | ( | DesignObjectLookup * | lookup, |
| OWLClientInterface * | server, | ||
| QWidget * | parent = nullptr ) |
Constructs the file manager.
| [in] | lookup | The design object lookup for project data. |
| [in] | server | The OWL client interface for server communication. |
| [in] | parent | Optional parent widget. |
| void OWLFileManager::downloadURL | ( | const StringView & | url | ) |
Downloads a file from the specified OWL URL.
| [in] | url | The OWL URL to download. |
| std::pair< ServerPermission, ServerResourceInfo > OWLFileManager::getSelectedResourceInfo | ( | ) | const |
Returns the permission and resource info for the currently selected item.
| void OWLFileManager::requestManageOWLLink | ( | sint04 | link_id | ) |
Emitted when the user requests to manage a share link.
| [in] | link_id | The ID of the link to manage. |
| void OWLFileManager::setConnectionID | ( | UUID | id | ) |
Sets the connection ID to browse files on.
| [in] | id | The UUID of the server connection. |